Lines Matching +full:existing +full:- +full:parts
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
94 below). This must be set by the ->init_fs_context() file_system_type
116 superblock thereof). This is filled in by the ->get_tree() op. If this
117 is set, an active reference on root->d_sb must also be held.
175 These will be bitwise-OR'd with s->s_iflags when a superblock is created.
187 FS_CONTEXT_FOR_RECONFIGURE Change an existing mount
229 Called to clean up the filesystem-specific part of the filesystem context
230 when the context is destroyed. It should be aware that parts of the
231 context may have been removed and NULL'd out by ->get_tree().
238 filesystem-private data. An error may be returned to indicate failure to
244 immediately thereafter, so ->dup() *must* make the
245 filesystem-private data safe for ->free().
253 points to the key name and maybe a value object. VFS-specific options
254 will have been weeded out and fc->sb_flags updated in the context.
255 Security options will also have been weeded out and fc->security updated.
270 The return value is as for ->parse_param().
273 finds it's the standard key-val list then it may pass it off to
285 On success it should set fc->root to the mountable root and return 0. In
288 The phase on a userspace-driven context will be set to only allow this to
298 superblock can be found from fc->root->d_sb.
318 Called to initialise fc->security (which is preset to NULL) and allocate
322 reference will be non-NULL if the context is being created for superblock
325 non-NULL in the case of a submount (FS_CONTEXT_FOR_SUBMOUNT) in which case
333 Called to initialise fc->security (which is preset to NULL) and allocate
342 Called to clean up anything attached to fc->security. Note that the
352 as for the ->parse_param() method. It should return 0 to indicate that
371 via fc->root.
412 whether that be with a new superblock or sharing an existing one. This
414 fs_type->init_fs_context() to initialise the filesystem private data.
427 existing superblock. dentry provides a reference to the superblock to be
463 calls the ->free() operation. This is intended to be called by anyone who
504 of param->{string,blob,name,file}. Note that the function may steal and
523 ->parse_monolithic() method is NULL.
531 the ->get_tree() method.
554 This is the core routine. If test is non-NULL, it searches for an
555 existing superblock matching the criteria held in the fs_context, using
559 Prior to the set function being called, fc->s_fs_info will be transferred
560 to sb->s_fs_info - and fc->s_fs_info will be cleared if set returns
591 function never matches an existing one and always creates a new
638 wildcards, patterns and no case-independence) and 'opt' is the value that
648 fs_param_is_bool Boolean value result->boolean
649 fs_param_is_u32 32-bit unsigned int result->uint_32
650 fs_param_is_u32_octal 32-bit octal int result->uint_32
651 fs_param_is_u32_hex 32-bit hex int result->uint_32
652 fs_param_is_s32 32-bit signed int result->int_32
653 fs_param_is_u64 64-bit unsigned int result->uint_64
654 fs_param_is_enum Enum value name result->uint_32
655 fs_param_is_string Arbitrary string param->string
656 fs_param_is_blob Binary blob param->blob
659 fs_param_is_fd File descriptor result->int_32
669 fs_param_neg_with_no result->negated set if key is prefixed with "no"
670 fs_param_neg_with_empty result->negated set if value is ""
695 all of which take two arguments, name string and option number - for
723 Where the array is an unsorted list of { parameter ID, name }-keyed
753 Look up a constant by name in a table of name -> integer mappings. The
774 should just be set to lie inside the low-to-high range.
800 the result stored in result->{boolean,int_32,uint_32,uint_64}.
805 fs_param_neg_with_no set, then a match will be made and result->negated
808 If the parameter isn't matched, -ENOPARAM will be returned; if the
809 parameter is matched, but the value is erroneous, -EINVAL will be