Home
last modified time | relevance | path

Searched refs:ci_name (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/fs/configfs/
H A Ditem.c48 * dynamically allocated string that @item->ci_name points to.
75 if (item->ci_name && item->ci_name != item->ci_namebuf) in config_item_set_name()
76 kfree(item->ci_name); in config_item_set_name()
79 item->ci_name = name; in config_item_set_name()
126 if (item->ci_name != item->ci_namebuf) in config_item_cleanup()
127 kfree(item->ci_name); in config_item_cleanup()
128 item->ci_name = NULL; in config_item_cleanup()
H A Ddir.c695 if (!group->cg_item.ci_name) in create_default_group()
696 group->cg_item.ci_name = group->cg_item.ci_namebuf; in create_default_group()
699 child = d_alloc_name(parent, group->cg_item.ci_name); in create_default_group()
1893 if (!group->cg_item.ci_name) in configfs_register_subsystem()
1894 group->cg_item.ci_name = group->cg_item.ci_namebuf; in configfs_register_subsystem()
1904 dentry = d_alloc_name(root, group->cg_item.ci_name); in configfs_register_subsystem()
H A Dmount.c48 .ci_name = configfs_root_group.cg_item.ci_namebuf,
/kernel/linux/linux-6.6/fs/configfs/
H A Ditem.c46 * dynamically allocated string that @item->ci_name points to.
73 if (item->ci_name && item->ci_name != item->ci_namebuf) in config_item_set_name()
74 kfree(item->ci_name); in config_item_set_name()
77 item->ci_name = name; in config_item_set_name()
124 if (item->ci_name != item->ci_namebuf) in config_item_cleanup()
125 kfree(item->ci_name); in config_item_cleanup()
126 item->ci_name = NULL; in config_item_cleanup()
H A Ddir.c669 if (!group->cg_item.ci_name) in create_default_group()
670 group->cg_item.ci_name = group->cg_item.ci_namebuf; in create_default_group()
673 child = d_alloc_name(parent, group->cg_item.ci_name); in create_default_group()
1863 if (!group->cg_item.ci_name) in configfs_register_subsystem()
1864 group->cg_item.ci_name = group->cg_item.ci_namebuf; in configfs_register_subsystem()
1874 dentry = d_alloc_name(root, group->cg_item.ci_name); in configfs_register_subsystem()
H A Dmount.c46 .ci_name = configfs_root_group.cg_item.ci_namebuf,
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_dir2.c334 * If ci_name is not NULL, returns the actual name in ci_name if it differs
335 * to name, or ci_name->name is set to NULL for an exact match.
344 struct xfs_name *ci_name) /* out: actual name if CI match */ in xfs_dir_lookup()
372 if (ci_name) in xfs_dir_lookup()
402 if (ci_name) { in xfs_dir_lookup()
403 ci_name->name = args->value; in xfs_dir_lookup()
404 ci_name->len = args->valuelen; in xfs_dir_lookup()
339 xfs_dir_lookup( xfs_trans_t *tp, xfs_inode_t *dp, struct xfs_name *name, xfs_ino_t *inum, struct xfs_name *ci_name) xfs_dir_lookup() argument
H A Dxfs_dir2.h46 struct xfs_name *ci_name);
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_dir2.c347 * If ci_name is not NULL, returns the actual name in ci_name if it differs
348 * to name, or ci_name->name is set to NULL for an exact match.
357 struct xfs_name *ci_name) /* out: actual name if CI match */ in xfs_dir_lookup()
385 if (ci_name) in xfs_dir_lookup()
415 if (ci_name) { in xfs_dir_lookup()
416 ci_name->name = args->value; in xfs_dir_lookup()
417 ci_name->len = args->valuelen; in xfs_dir_lookup()
352 xfs_dir_lookup( struct xfs_trans *tp, struct xfs_inode *dp, const struct xfs_name *name, xfs_ino_t *inum, struct xfs_name *ci_name) xfs_dir_lookup() argument
H A Dxfs_dir2.h46 struct xfs_name *ci_name);
/kernel/linux/linux-5.10/include/linux/
H A Dconfigfs.h41 char *ci_name; member
56 return item->ci_name; in config_item_name()
/kernel/linux/linux-6.6/include/linux/
H A Dconfigfs.h39 char *ci_name; member
54 return item->ci_name; in config_item_name()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_iops.c285 struct xfs_name ci_name; in xfs_vn_ci_lookup() local
293 error = xfs_lookup(XFS_I(dir), &xname, &ip, &ci_name); in xfs_vn_ci_lookup()
306 if (!ci_name.name) in xfs_vn_ci_lookup()
310 dname.name = ci_name.name; in xfs_vn_ci_lookup()
311 dname.len = ci_name.len; in xfs_vn_ci_lookup()
313 kmem_free(ci_name.name); in xfs_vn_ci_lookup()
H A Dxfs_inode.h371 struct xfs_inode **ipp, struct xfs_name *ci_name);
H A Dxfs_inode.c663 * Lookups up an inode from "name". If ci_name is not NULL, then a CI match
665 * ci_name->name will point to a the actual name (caller must free) or
673 struct xfs_name *ci_name) in xfs_lookup()
683 error = xfs_dir_lookup(NULL, dp, name, &inum, ci_name); in xfs_lookup()
694 if (ci_name) in xfs_lookup()
695 kmem_free(ci_name->name); in xfs_lookup()
669 xfs_lookup( xfs_inode_t *dp, struct xfs_name *name, xfs_inode_t **ipp, struct xfs_name *ci_name) xfs_lookup() argument
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_iops.c321 struct xfs_name ci_name; in xfs_vn_ci_lookup() local
329 error = xfs_lookup(XFS_I(dir), &xname, &ip, &ci_name); in xfs_vn_ci_lookup()
342 if (!ci_name.name) in xfs_vn_ci_lookup()
346 dname.name = ci_name.name; in xfs_vn_ci_lookup()
347 dname.len = ci_name.len; in xfs_vn_ci_lookup()
349 kmem_free(ci_name.name); in xfs_vn_ci_lookup()
H A Dxfs_inode.h504 struct xfs_inode **ipp, struct xfs_name *ci_name);
/kernel/linux/linux-5.10/drivers/iio/
H A Dindustrialio-sw-trigger.c137 t = iio_sw_trigger_create(group->cg_item.ci_name, name); in trigger_make_group()
H A Dindustrialio-sw-device.c133 d = iio_sw_device_create(group->cg_item.ci_name, name); in device_make_group()
/kernel/linux/linux-6.6/drivers/iio/
H A Dindustrialio-sw-trigger.c137 t = iio_sw_trigger_create(group->cg_item.ci_name, name); in trigger_make_group()
H A Dindustrialio-sw-device.c133 d = iio_sw_device_create(group->cg_item.ci_name, name); in device_make_group()
/kernel/linux/linux-5.10/drivers/hwtracing/stm/
H A Dpolicy.c62 return policy_node->group.cg_item.ci_name ? : "<none>"; in stp_policy_node_name()
519 policy_node->group.cg_item.ci_name)) { in __stp_policy_node_lookup()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Duvc_configfs.c1769 if (!strcmp(target->ci_parent->ci_name, uvcg_format_names[i])) in uvcg_streaming_header_allow_link()
3317 if (!strcmp(tgt->ci_name, "iad_desc")) in uvc_func_allow_link()
3319 else if (!strcmp(tgt->ci_name, "vs0_desc")) in uvc_func_allow_link()
3321 else if (!strcmp(tgt->ci_name, "vs1_desc")) in uvc_func_allow_link()
3342 if (!strcmp(tgt->ci_name, "iad_desc")) in uvc_func_drop_link()
3344 else if (!strcmp(tgt->ci_name, "vs0_desc")) in uvc_func_drop_link()
3346 else if (!strcmp(tgt->ci_name, "vs1_desc")) in uvc_func_drop_link()
/kernel/linux/linux-5.10/drivers/pci/endpoint/
H A Dpci-ep-cfs.c400 group->cg_item.ci_name, epf_group->index); in pci_epf_make()
/kernel/linux/linux-6.6/drivers/hwtracing/stm/
H A Dpolicy.c514 policy_node->group.cg_item.ci_name)) { in __stp_policy_node_lookup()

Completed in 26 milliseconds

12