Lines Matching +full:foo +full:- +full:supply

1 .. SPDX-License-Identifier: GPL-2.0
37 (3) Validate and pre-process the context.
52 The first is invoked to set up the filesystem-specific parts of a filesystem
93 below). This must be set by the ->init_fs_context() file_system_type
115 superblock thereof). This is filled in by the ->get_tree() op. If this
116 is set, an active reference on root->d_sb must also be held.
174 These will be bitwise-OR'd with s->s_iflags when a superblock is created.
228 Called to clean up the filesystem-specific part of the filesystem context
230 context may have been removed and NULL'd out by ->get_tree().
237 filesystem-private data. An error may be returned to indicate failure to
243 immediately thereafter, so ->dup() *must* make the
244 filesystem-private data safe for ->free().
252 points to the key name and maybe a value object. VFS-specific options
253 will have been weeded out and fc->sb_flags updated in the context.
254 Security options will also have been weeded out and fc->security updated.
269 The return value is as for ->parse_param().
272 finds it's the standard key-val list then it may pass it off to
284 On success it should set fc->root to the mountable root and return 0. In
287 The phase on a userspace-driven context will be set to only allow this to
297 superblock can be found from fc->root->d_sb.
317 Called to initialise fc->security (which is preset to NULL) and allocate
321 reference will be non-NULL if the context is being created for superblock
324 non-NULL in the case of a submount (FS_CONTEXT_FOR_SUBMOUNT) in which case
332 Called to initialise fc->security (which is preset to NULL) and allocate
341 Called to clean up anything attached to fc->security. Note that the
351 as for the ->parse_param() method. It should return 0 to indicate that
370 via fc->root.
413 fs_type->init_fs_context() to initialise the filesystem private data.
462 calls the ->free() operation. This is intended to be called by anyone who
481 Supply a single mount parameter to the filesystem context. This includes
503 of param->{string,blob,name,file}. Note that the function may steal and
530 ->parse_monolithic() method is NULL.
538 the ->get_tree() method.
561 This is the core routine. If test is non-NULL, it searches for an
566 Prior to the set function being called, fc->s_fs_info will be transferred
567 to sb->s_fs_info - and fc->s_fs_info will be cleared if set returns
634 wildcards, patterns and no case-independence) and 'opt' is the value that
644 fs_param_is_bool Boolean value result->boolean
645 fs_param_is_u32 32-bit unsigned int result->uint_32
646 fs_param_is_u32_octal 32-bit octal int result->uint_32
647 fs_param_is_u32_hex 32-bit hex int result->uint_32
648 fs_param_is_s32 32-bit signed int result->int_32
649 fs_param_is_u64 64-bit unsigned int result->uint_64
650 fs_param_is_enum Enum value name result->uint_32
651 fs_param_is_string Arbitrary string param->string
652 fs_param_is_blob Binary blob param->blob
655 fs_param_is_fd File descriptor result->int_32
656 fs_param_is_uid User ID (u32) result->uid
657 fs_param_is_gid Group ID (u32) result->gid
667 fs_param_neg_with_no result->negated set if key is prefixed with "no"
668 fs_param_neg_with_empty result->negated set if value is ""
694 all of which take two arguments, name string and option number - for
701 fsparam_flag_no ("foo", Opt_foo),
722 Where the array is an unsorted list of { parameter ID, name }-keyed
752 Look up a constant by name in a table of name -> integer mappings. The
786 result->{boolean,int_32,uint_32,uint_64,uid,gid}.
791 fs_param_neg_with_no set, then a match will be made and result->negated
794 If the parameter isn't matched, -ENOPARAM will be returned; if the
795 parameter is matched, but the value is erroneous, -EINVAL will be