/linux-master/drivers/acpi/x86/ |
H A D | utils.c | 44 const char *path; member in struct:override_status_id 48 #define ENTRY(status, hid, uid, path, cpu_model, dmi...) { \ 53 path, \ 63 #define PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \ 64 ENTRY(ACPI_STA_DEFAULT, "", NULL, path, cpu_model, dmi) 66 #define NOT_PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \ 67 ENTRY(0, "", NULL, path, cpu_model, dmi) 171 if (override_status_ids[i].path) { 172 struct acpi_buffer path = { ACPI_ALLOCATE_BUFFER, NULL }; local 175 if (acpi_get_name(adev->handle, ACPI_FULL_PATHNAME, &path)) [all...] |
/linux-master/fs/vboxsf/ |
H A D | utils.c | 142 struct shfl_string *path; local 145 path = vboxsf_path_from_dentry(sbi, dentry); 146 if (IS_ERR(path)) 147 return PTR_ERR(path); 149 err = vboxsf_create(sbi->root, path, params); 150 __putname(path); 155 int vboxsf_stat(struct vboxsf_sbi *sbi, struct shfl_string *path, argument 164 err = vboxsf_create(sbi->root, path, ¶ms); 180 struct shfl_string *path; local 183 path 235 vboxsf_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *kstat, u32 request_mask, unsigned int flags) argument 371 char *buf, *path; local [all...] |
/linux-master/arch/parisc/kernel/ |
H A D | drivers.c | 304 * get_node_path fills in @path with the firmware path to the device. 310 static void get_node_path(struct device *dev, struct hardware_path *path) argument 313 memset(&path->bc, -1, 6); 317 path->mod = PCI_FUNC(devfn); 318 path->bc[i--] = PCI_SLOT(devfn); 325 path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn)<< 5); 327 path->bc[i--] = to_parisc_device(dev)->hw_path; 333 static char *print_hwpath(struct hardware_path *path, char *output) argument 337 if (path 356 struct hardware_path path; local 374 get_pci_node_path(struct pci_dev *pdev, struct hardware_path *path) argument 391 struct hardware_path path; local 402 struct hardware_path path; local 778 device_to_hwpath(struct device *dev, struct hardware_path *path) argument 848 struct hardware_path path; local [all...] |
/linux-master/drivers/tty/hvc/ |
H A D | hvc_iucv.c | 69 struct iucv_path *path; /* IUCV path pointer */ member in struct:hvc_iucv_private 80 u8 info_path[16]; /* IUCV path info (dev attr) */ 214 * IUCV path. 215 * If the IUCV path has been severed, then -EPIPE is returned to cause a 229 /* if the IUCV path has been severed, return -EPIPE to inform the 249 rc = __iucv_message_receive(priv->path, &rb->msg, 0, 308 * If an IUCV communication path has been established, pending IUCV messages 352 * If an existing IUCV communicaton path has been severed, -EPIPE is returned 383 * If an IUCV communication path ha 589 struct iucv_path *path; local 670 struct iucv_path *path; local 783 hvc_iucv_path_pending(struct iucv_path *path, u8 *ipvmid, u8 *ipuser) argument 882 hvc_iucv_path_severed(struct iucv_path *path, u8 *ipuser) argument 900 hvc_iucv_msg_pending(struct iucv_path *path, struct iucv_message *msg) argument 948 hvc_iucv_msg_complete(struct iucv_path *path, struct iucv_message *msg) argument [all...] |
/linux-master/drivers/md/ |
H A D | dm-ps-historical-service-time.c | 10 * num_paths. If a path is stale and unused, we will send a single 11 * request to probe in case the path has improved. This situation 12 * generally arises if the path is so much worse than others that it 14 * multipath device is unused. If a path is stale and in use, limit the 15 * number of requests it can receive with the assumption that the path 25 #include "dm-path-selector.h" 56 struct dm_path *path; member in struct:path_info 188 * be considered different. That is, a path is 190 * is the path with higher service time. A threshold 237 static int hst_status(struct path_selector *ps, struct dm_path *path, argument 267 hst_add_path(struct path_selector *ps, struct dm_path *path, int argc, char **argv, char **error) argument 319 hst_fail_path(struct path_selector *ps, struct dm_path *path) argument 331 hst_reinstate_path(struct path_selector *ps, struct dm_path *path) argument 461 hst_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument 492 hst_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) argument [all...] |
/linux-master/arch/mips/vdso/ |
H A D | genvdso.h | 7 static inline bool FUNC(patch_vdso)(const char *path, void *vdso) argument 36 program_name, path); 44 program_name, path); 58 static inline bool FUNC(get_symbols)(const char *path, void *vdso) argument 82 path); 126 program_name, path, vdso_symbols[i].name);
|
/linux-master/tools/usb/usbip/libsrc/ |
H A D | usbip_device_driver.c | 65 const char *path, *name; local 75 path = udev_device_get_syspath(plat); 77 path, VUDC_DEVICE_DESCR_FILE); 96 strncpy(dev->path, path, SYSFS_PATH_MAX - 1); 97 dev->path[SYSFS_PATH_MAX - 1] = '\0';
|
/linux-master/fs/ecryptfs/ |
H A D | kthread.c | 18 struct path path; member in struct:ecryptfs_open_req 62 *req->lower_file = dentry_open(&req->path, 128 req.path.dentry = lower_dentry; 129 req.path.mnt = lower_mnt; 135 (*lower_file) = dentry_open(&req.path, flags, cred);
|
/linux-master/sound/core/ |
H A D | misc.c | 40 /* strip the leading path if the given path is absolute */ 41 static const char *sanity_file_name(const char *path) argument 43 if (*path == '/') 44 return strrchr(path, '/') + 1; 46 return path; 51 void __snd_printk(unsigned int level, const char *path, int line, argument 87 printk(verbose_fmt, sanity_file_name(path), line, &vaf);
|
/linux-master/fs/kernfs/ |
H A D | symlink.c | 57 struct kernfs_node *target, char *path) 60 char *s = path; 73 if ((s - path) + 3 >= PATH_MAX) 92 if ((s - path) + len >= PATH_MAX) 111 static int kernfs_getlink(struct inode *inode, char *path) argument 120 error = kernfs_get_target_path(parent, target, path); 56 kernfs_get_target_path(struct kernfs_node *parent, struct kernfs_node *target, char *path) argument
|
/linux-master/drivers/staging/greybus/ |
H A D | audio_helper.c | 52 /* Add the DAPM path and set widget's linked status 81 static void gbaudio_dapm_free_path(struct snd_soc_dapm_path *path) argument 83 list_del(&path->list_node[SND_SOC_DAPM_DIR_IN]); 84 list_del(&path->list_node[SND_SOC_DAPM_DIR_OUT]); 85 list_del(&path->list_kcontrol); 86 list_del(&path->list); 87 kfree(path); 98 * While removing the path, remove reference to it from both 99 * source and sink widgets so that path is removed only once.
|
/linux-master/net/ |
H A D | sysctl_net.c | 124 static void ensure_safe_net_sysctl(struct net *net, const char *path, argument 129 pr_debug("Registering net sysctl (net %p): %s\n", net, path); 157 path, ent->procname, where, ent->data); 165 const char *path, 173 ensure_safe_net_sysctl(net, path, table, table_size); 179 return __register_sysctl_table(&net->sysctls, path, table, count); 164 register_net_sysctl_sz(struct net *net, const char *path, struct ctl_table *table, size_t table_size) argument
|
/linux-master/scripts/ |
H A D | generate_rust_analyzer.py | 123 for path in folder.rglob("*.rs"): 124 logging.info("Checking %s", path) 125 name = path.name.replace(".rs", "") 128 if not is_root_crate(path.parent / "Makefile", name) and \ 129 not is_root_crate(path.parent / "Kbuild", name): 135 path,
|
/linux-master/fs/smb/server/ |
H A D | smbacl.h | 204 int smb_inherit_dacl(struct ksmbd_conn *conn, const struct path *path, 206 int smb_check_perm_dacl(struct ksmbd_conn *conn, const struct path *path, 209 const struct path *path, struct smb_ntsd *pntsd, int ntsd_len,
|
/linux-master/tools/testing/selftests/livepatch/ |
H A D | functions.sh | 316 # path permissions 318 # rel_path - relative path of the sysfs interface 325 local path="$KLP_SYSFS_DIR/$mod/$rel_path" 326 local rights=$(/bin/stat --format '%A' "$path") 328 die "Unexpected access rights of $path: $expected_rights vs. $rights" 334 # rel_path - relative path of the sysfs interface 341 local path="$KLP_SYSFS_DIR/$mod/$rel_path" 342 local value=`cat $path` 344 die "Unexpected value in $path: $expected_value vs. $value"
|
/linux-master/fs/smb/client/ |
H A D | cached_dir.c | 15 static struct cached_fid *init_cached_dir(const char *path); 21 const char *path, 29 if (!strcmp(cfid->path, path)) { 52 cfid = init_cached_dir(path); 67 path_to_dentry(struct cifs_sb_info *cifs_sb, const char *path) argument 75 s = path; 105 const char *path) 109 if (!*path) 110 return path; 20 find_or_create_cached_dir(struct cached_fids *cfids, const char *path, bool lookup_only, __u32 max_cached_dirs) argument 104 path_no_prefix(struct cifs_sb_info *cifs_sb, const char *path) argument 125 open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, const char *path, struct cifs_sb_info *cifs_sb, bool lookup_only, struct cached_fid **ret_cfid) argument 583 init_cached_dir(const char *path) argument [all...] |
/linux-master/fs/autofs/ |
H A D | root.c | 28 static struct vfsmount *autofs_d_automount(struct path *); 29 static int autofs_d_manage(const struct path *, bool); 245 static int autofs_mount_wait(const struct path *path, bool rcu_walk) argument 247 struct autofs_sb_info *sbi = autofs_sbi(path->dentry->d_sb); 248 struct autofs_info *ino = autofs_dentry_ino(path->dentry); 254 pr_debug("waiting for mount name=%pd\n", path->dentry); 255 status = autofs_wait(sbi, path, NFY_MOUNT); 265 static int do_expire_wait(const struct path *path, boo argument 289 autofs_mountpoint_changed(struct path *path) argument 331 autofs_d_automount(struct path *path) argument 419 autofs_d_manage(const struct path *path, bool rcu_walk) argument [all...] |
/linux-master/lib/ |
H A D | earlycpio.c | 44 * @path: The directory to search for, including a slash at the end 50 * to find all files inside of a directory path. 53 * filename (with the directory path cut off) of the found file. 55 * pass the absolute path of the filename in the cpio and make sure 59 struct cpio_data find_cpio_data(const char *path, void *data, argument 67 size_t mypathsize = strlen(path); 119 !memcmp(p, path, mypathsize)) {
|
/linux-master/tools/perf/util/ |
H A D | trace-event.c | 79 char path[PATH_MAX]; local 87 scnprintf(path, PATH_MAX, "%s/%s/format", tp_dir, name); 90 err = filename__read_str(path, &data, &size);
|
/linux-master/io_uring/ |
H A D | statx.c | 26 const char __user *path; local 35 path = u64_to_user_ptr(READ_ONCE(sqe->addr)); 39 sx->filename = getname_flags(path,
|
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_fw.c | 60 uc_fw->file_selected.path : intel_uc_fw_status_repr(status)); 203 const char *path; local 215 .path = path_, 316 if (uc_fw->file_selected.path) { 319 * Once the previously chosen path has been found, clear it out 322 if (uc_fw->file_selected.path == blob->path) 323 uc_fw->file_selected.path = NULL; 328 uc_fw->file_selected.path = blob->path; 470 const char *path = NULL; local [all...] |
/linux-master/fs/btrfs/ |
H A D | inode-item.h | 99 struct btrfs_path *path, u64 objectid); 101 struct btrfs_root *root, struct btrfs_path *path, 107 struct btrfs_path *path,
|
H A D | backref.c | 469 struct btrfs_root *root, struct btrfs_path *path, 488 eb = path->nodes[level]; 496 * 1. We normally enter this function with the path already pointing to 505 eb = path->nodes[0]; 506 if (path->slots[0] >= btrfs_header_nritems(eb) || 510 ret = btrfs_next_leaf(root, path); 512 ret = btrfs_next_old_leaf(root, path, ctx->time_seq); 516 eb = path->nodes[0]; 517 slot = path->slots[0]; 534 ret = btrfs_next_leaf(root, path); 468 add_all_parents(struct btrfs_backref_walk_ctx *ctx, struct btrfs_root *root, struct btrfs_path *path, struct ulist *parents, struct preftrees *preftrees, struct prelim_ref *ref, int level) argument 591 resolve_indirect_ref(struct btrfs_backref_walk_ctx *ctx, struct btrfs_path *path, struct preftrees *preftrees, struct prelim_ref *ref, struct ulist *parents) argument 732 resolve_indirect_refs(struct btrfs_backref_walk_ctx *ctx, struct btrfs_path *path, struct preftrees *preftrees, struct share_check *sc) argument 1013 add_inline_refs(struct btrfs_backref_walk_ctx *ctx, struct btrfs_path *path, int *info_level, struct preftrees *preftrees, struct share_check *sc) argument 1146 add_keyed_refs(struct btrfs_backref_walk_ctx *ctx, struct btrfs_root *extent_root, struct btrfs_path *path, int info_level, struct preftrees *preftrees, struct share_check *sc) argument 1390 struct btrfs_path *path; local 2049 btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid, u64 start_off, struct btrfs_path *path, struct btrfs_inode_extref **ret_extref, u64 *found_off) argument 2131 btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, u32 name_len, unsigned long name_off, struct extent_buffer *eb_in, u64 parent, char *dest, u32 size) argument 2202 extent_from_logical(struct btrfs_fs_info *fs_info, u64 logical, struct btrfs_path *path, struct btrfs_key *found_key, u64 *flags_ret) argument 2556 iterate_inodes_from_logical(u64 logical, struct btrfs_fs_info *fs_info, struct btrfs_path *path, void *ctx, bool ignore_offset) argument 2597 struct btrfs_path *path = ipath->btrfs_path; local 2656 struct btrfs_path *path = ipath->btrfs_path; local 2797 init_ipath(s32 total_bytes, struct btrfs_root *fs_root, struct btrfs_path *path) argument 2864 struct btrfs_path *path = iter->path; local 2974 struct btrfs_path *path = iter->path; local 3299 handle_indirect_tree_backref(struct btrfs_trans_handle *trans, struct btrfs_backref_cache *cache, struct btrfs_path *path, struct btrfs_key *ref_key, struct btrfs_key *tree_key, struct btrfs_backref_node *cur) argument 3467 btrfs_backref_add_tree_node(struct btrfs_trans_handle *trans, struct btrfs_backref_cache *cache, struct btrfs_path *path, struct btrfs_backref_iter *iter, struct btrfs_key *node_key, struct btrfs_backref_node *cur) argument [all...] |
/linux-master/fs/9p/ |
H A D | v9fs_vfs.h | 48 #define QID2INO(q) ((ino_t) (((q)->path+2) ^ (((q)->path) >> 32))) 50 #define QID2INO(q) ((ino_t) ((q)->path+2))
|
/linux-master/security/tomoyo/ |
H A D | mount.c | 40 * tomoyo_check_mount_acl - Check permission for path path path number operation. 69 * @dir: Pointer to "struct path". 79 const struct path *dir, const char *type, 83 struct path path; local 136 if (!dev_name || kern_path(dev_name, LOOKUP_FOLLOW, &path)) { 140 obj.path1 = path; 141 requested_dev_name = tomoyo_realpath_from_path(&path); 191 tomoyo_mount_permission(const char *dev_name, const struct path *path, const char *type, unsigned long flags, void *data_page) argument [all...] |