Lines Matching +full:9 +full:- +full:bit

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * 9P protocol definitions.
14 * enum p9_debug_flags - bits for mount time debug parameter
16 * @P9_DEBUG_9P: 9P protocol tracing
25 * @P9_DEBUG_FSC: FS-cache tracing
41 P9_DEBUG_FID = (1<<9),
62 * enum p9_msg_t - 9P message types
64 * @P9_RLERROR: response for any failed request for 9P2000.L
71 * @P9_TLCREATE: prepare a handle for I/O on an new file for 9P2000.L
72 * @P9_RLCREATE: response with file access information for 9P2000.L
106 * There are 14 basic operations in 9P2000, paired as
112 * See Also: http://plan9.bell-labs.com/sys/man/5/INDEX.html
187 * enum p9_open_mode_t - 9P open modes
192 * @P9_OTRUNC: truncate file to zero-length before opening it
198 * 9P open modes differ slightly from Posix standard modes.
205 * See Also: http://plan9.bell-labs.com/magic/man2html/2/open
225 * enum p9_perm_t - 9P permissions
226 * @P9_DMDIR: mode bit for directories
227 * @P9_DMAPPEND: mode bit for is append-only
228 * @P9_DMEXCL: mode bit for excluse use (only one open handle allowed)
229 * @P9_DMMOUNT: mode bit for mount points
230 * @P9_DMAUTH: mode bit for authentication file
231 * @P9_DMTMP: mode bit for non-backed-up files
232 * @P9_DMSYMLINK: mode bit for symbolic links (9P2000.u)
233 * @P9_DMLINK: mode bit for hard-link (9P2000.u)
234 * @P9_DMDEVICE: mode bit for device files (9P2000.u)
235 * @P9_DMNAMEDPIPE: mode bit for named pipe (9P2000.u)
236 * @P9_DMSOCKET: mode bit for socket (9P2000.u)
237 * @P9_DMSETUID: mode bit for setuid (9P2000.u)
238 * @P9_DMSETGID: mode bit for setgid (9P2000.u)
239 * @P9_DMSETVTX: mode bit for sticky bit (9P2000.u)
241 * 9P permissions differ slightly from Posix standard modes.
243 * See Also: http://plan9.bell-labs.com/magic/man2html/2/stat
252 /* 9P2000.u extensions */
263 /* 9p2000.L open flags */
284 /* 9p2000.L at flags */
287 /* 9p2000.L lock type */
293 * enum p9_qid_t - QID types
295 * @P9_QTAPPEND: append-only
299 * @P9_QTTMP: non-backed-up files
300 * @P9_QTSYMLINK: symbolic links (9P2000.u)
301 * @P9_QTLINK: hard-link (9P2000.u)
304 * QID types are a subset of permissions - they are primarily
306 * a jump-table. Their value is also the most significant 16 bits
309 * See Also: http://plan9.bell-labs.com/magic/man2html/2/stat
323 /* 9P Magic Numbers */
344 * struct p9_qid - file system entity information
345 * @type: 8-bit type &p9_qid_t
346 * @version: 16-bit monotonically incrementing version number
347 * @path: 64-bit per-server-unique ID for a file system element
349 * qids are identifiers used by 9P servers to track file system
360 * See Also://plan9.bell-labs.com/magic/man2html/2/stat
370 * struct p9_wstat - file system metadata information
373 * @dev: the sub-type of the server (equivalent to a minor number)
375 * @mode: Plan 9 format permissions of type &p9_perm_t
384 * @n_uid: numeric user id of owner (part of 9p2000.u extension)
385 * @n_gid: numeric group id (part of 9p2000.u extension)
386 * @n_muid: numeric user id of laster modifier (part of 9p2000.u extension)
388 * See Also: http://plan9.bell-labs.com/magic/man2html/2/stat
404 char *extension; /* 9p2000.u extensions */
405 kuid_t n_uid; /* 9p2000.u extensions */
406 kgid_t n_gid; /* 9p2000.u extensions */
407 kuid_t n_muid; /* 9p2000.u extensions */
453 * struct p9_iattr_dotl - P9 inode attribute for setattr
487 * @type - type of lock
488 * @flags - lock flags
489 * @start - starting offset of the lock
490 * @length - number of bytes
491 * @proc_id - process id which wants to take lock
492 * @client_id - client id
505 * @type - type of lock
506 * @start - starting offset of the lock
507 * @length - number of bytes
508 * @proc_id - process id which wants to take lock
509 * @client_id - client id
533 * struct p9_fcall - primary packet structure
540 * @zc: whether zero-copy is used
542 * &p9_fcall represents the structure for all 9P RPC
546 * See Also: http://plan9.bell-labs.com/magic/man2html/2/fcall