Lines Matching +full:a +full:- +full:9

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
69 * @P9_TMKNOD: create a special file object request
70 * @P9_RMKNOD: create a special file object response
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
75 * @P9_TMKDIR: create a directory request
76 * @P9_RMKDIR: create a directory response
85 * @P9_TFLUSH: request to abort a previous request
87 * @P9_TWALK: descend a directory hierarchy
89 * @P9_TOPEN: prepare a handle for I/O on an existing file
91 * @P9_TCREATE: prepare a handle for I/O on a new file
93 * @P9_TREAD: request to transfer data from a file or directory
95 * @P9_TWRITE: reuqest to transfer data to a file
97 * @P9_TCLUNK: forget about a handle to an entity within the file system
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
196 * @P9_OEXCL: only create a file, do not open 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
227 * @P9_DMAPPEND: mode bit for is append-only
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
305 * used to differentiate semantics for a file system entity via
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
351 * on the entity (ie. read means something different on a directory than
352 * on a file). The path provides a server unique index for an entity
354 * every time a file is modified and can be used to maintain cache
360 * See Also://plan9.bell-labs.com/magic/man2html/2/stat
370 * struct p9_wstat - file system metadata information
372 * @type: the type of the server (equivalent to a major number)
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