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
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.
186 FS_CONTEXT_FOR_RECONFIGURE Change an existing mount
228 Called to clean up the filesystem-specific part of the filesystem context
229 when the context is destroyed. It should be aware that parts of the
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.
411 whether that be with a new superblock or sharing an existing one. This
413 fs_type->init_fs_context() to initialise the filesystem private data.
426 existing superblock. dentry provides a reference to the superblock to be
462 calls the ->free() operation. This is intended to be called by anyone who
503 of param->{string,blob,name,file}. Note that the function may steal and
522 ->parse_monolithic() method is NULL.
530 the ->get_tree() method.
553 This is the core routine. If test is non-NULL, it searches for an
554 existing superblock matching the criteria held in the fs_context, using
558 Prior to the set function being called, fc->s_fs_info will be transferred
559 to sb->s_fs_info - and fc->s_fs_info will be cleared if set returns
579 function never matches an existing one and always creates a new
626 wildcards, patterns and no case-independence) and 'opt' is the value that
636 fs_param_is_bool Boolean value result->boolean
637 fs_param_is_u32 32-bit unsigned int result->uint_32
638 fs_param_is_u32_octal 32-bit octal int result->uint_32
639 fs_param_is_u32_hex 32-bit hex int result->uint_32
640 fs_param_is_s32 32-bit signed int result->int_32
641 fs_param_is_u64 64-bit unsigned int result->uint_64
642 fs_param_is_enum Enum value name result->uint_32
643 fs_param_is_string Arbitrary string param->string
644 fs_param_is_blob Binary blob param->blob
647 fs_param_is_fd File descriptor result->int_32
648 fs_param_is_uid User ID (u32) result->uid
649 fs_param_is_gid Group ID (u32) result->gid
659 fs_param_neg_with_no result->negated set if key is prefixed with "no"
660 fs_param_neg_with_empty result->negated set if value is ""
687 all of which take two arguments, name string and option number - for
715 Where the array is an unsorted list of { parameter ID, name }-keyed
745 Look up a constant by name in a table of name -> integer mappings. The
766 should just be set to lie inside the low-to-high range.
794 result->{boolean,int_32,uint_32,uint_64,uid,gid}.
799 fs_param_neg_with_no set, then a match will be made and result->negated
802 If the parameter isn't matched, -ENOPARAM will be returned; if the
803 parameter is matched, but the value is erroneous, -EINVAL will be