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),
60 * enum p9_msg_t - 9P message types
62 * @P9_RLERROR: response for any failed request for 9P2000.L
67 * @P9_TMKNOD: create a special file object request
68 * @P9_RMKNOD: create a special file object response
69 * @P9_TLCREATE: prepare a handle for I/O on an new file for 9P2000.L
70 * @P9_RLCREATE: response with file access information for 9P2000.L
73 * @P9_TMKDIR: create a directory request
74 * @P9_RMKDIR: create a directory response
83 * @P9_TFLUSH: request to abort a previous request
85 * @P9_TWALK: descend a directory hierarchy
87 * @P9_TOPEN: prepare a handle for I/O on an existing file
89 * @P9_TCREATE: prepare a handle for I/O on a new file
91 * @P9_TREAD: request to transfer data from a file or directory
93 * @P9_TWRITE: reuqest to transfer data to a file
95 * @P9_TCLUNK: forget about a handle to an entity within the file system
104 * There are 14 basic operations in 9P2000, paired as
110 * See Also: http://plan9.bell-labs.com/sys/man/5/INDEX.html
185 * enum p9_open_mode_t - 9P open modes
190 * @P9_OTRUNC: truncate file to zero-length before opening it
194 * @P9_OEXCL: only create a file, do not open it
196 * 9P open modes differ slightly from Posix standard modes.
203 * See Also: http://plan9.bell-labs.com/magic/man2html/2/open
219 * enum p9_perm_t - 9P permissions
221 * @P9_DMAPPEND: mode bit for is append-only
225 * @P9_DMTMP: mode bit for non-backed-up files
226 * @P9_DMSYMLINK: mode bit for symbolic links (9P2000.u)
227 * @P9_DMLINK: mode bit for hard-link (9P2000.u)
228 * @P9_DMDEVICE: mode bit for device files (9P2000.u)
229 * @P9_DMNAMEDPIPE: mode bit for named pipe (9P2000.u)
230 * @P9_DMSOCKET: mode bit for socket (9P2000.u)
231 * @P9_DMSETUID: mode bit for setuid (9P2000.u)
232 * @P9_DMSETGID: mode bit for setgid (9P2000.u)
233 * @P9_DMSETVTX: mode bit for sticky bit (9P2000.u)
235 * 9P permissions differ slightly from Posix standard modes.
237 * See Also: http://plan9.bell-labs.com/magic/man2html/2/stat
246 /* 9P2000.u extensions */
257 /* 9p2000.L open flags */
278 /* 9p2000.L at flags */
281 /* 9p2000.L lock type */
287 * enum p9_qid_t - QID types
289 * @P9_QTAPPEND: append-only
293 * @P9_QTTMP: non-backed-up files
294 * @P9_QTSYMLINK: symbolic links (9P2000.u)
295 * @P9_QTLINK: hard-link (9P2000.u)
298 * QID types are a subset of permissions - they are primarily
299 * used to differentiate semantics for a file system entity via
300 * a jump-table. Their value is also the most significant 16 bits
303 * See Also: http://plan9.bell-labs.com/magic/man2html/2/stat
317 /* 9P Magic Numbers */
338 * struct p9_qid - file system entity information
339 * @type: 8-bit type &p9_qid_t
340 * @version: 16-bit monotonically incrementing version number
341 * @path: 64-bit per-server-unique ID for a file system element
343 * qids are identifiers used by 9P servers to track file system
345 * on the entity (ie. read means something different on a directory than
346 * on a file). The path provides a server unique index for an entity
348 * every time a file is modified and can be used to maintain cache
354 * See Also://plan9.bell-labs.com/magic/man2html/2/stat
364 * struct p9_wstat - file system metadata information
366 * @type: the type of the server (equivalent to a major number)
367 * @dev: the sub-type of the server (equivalent to a minor number)
369 * @mode: Plan 9 format permissions of type &p9_perm_t
378 * @n_uid: numeric user id of owner (part of 9p2000.u extension)
379 * @n_gid: numeric group id (part of 9p2000.u extension)
380 * @n_muid: numeric user id of laster modifier (part of 9p2000.u extension)
382 * See Also: http://plan9.bell-labs.com/magic/man2html/2/stat
398 char *extension; /* 9p2000.u extensions */
399 kuid_t n_uid; /* 9p2000.u extensions */
400 kgid_t n_gid; /* 9p2000.u extensions */
401 kuid_t n_muid; /* 9p2000.u extensions */
447 * struct p9_iattr_dotl - P9 inode attribute for setattr
481 * @type - type of lock
482 * @flags - lock flags
483 * @start - starting offset of the lock
484 * @length - number of bytes
485 * @proc_id - process id which wants to take lock
486 * @client_id - client id
499 * @type - type of lock
500 * @start - starting offset of the lock
501 * @length - number of bytes
502 * @proc_id - process id which wants to take lock
503 * @client_id - client id
527 * struct p9_fcall - primary packet structure
535 * &p9_fcall represents the structure for all 9P RPC
539 * See Also: http://plan9.bell-labs.com/magic/man2html/2/fcall