/linux-master/tools/testing/selftests/timens/ |
H A D | timens.c | 60 char path[] = "/proc/self/ns/time_for_children"; local 64 parent_ns = open(path, O_RDONLY); 66 return pr_perror("Unable to open %s", path); 75 child_ns = open(path, O_RDONLY); 77 return pr_perror("Unable to open %s", path);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | acr.h | 132 enum nvkm_acr_lsf_id, const char *path, 136 enum nvkm_acr_lsf_id, const char *path, 141 enum nvkm_acr_lsf_id, const char *path, 146 enum nvkm_acr_lsf_id, const char *path, 151 enum nvkm_acr_lsf_id, const char *path,
|
/linux-master/drivers/clk/imx/ |
H A D | clk.c | 67 char *path; local 69 path = kasprintf(GFP_KERNEL, "/clocks/%s", name); 70 if (!path) 73 phandle.np = of_find_node_by_path(path); 74 kfree(path);
|
/linux-master/tools/perf/arch/arm/util/ |
H A D | auxtrace.c | 61 char path[PATH_MAX]; local 65 perf_pmu__event_source_devices_scnprintf(path, sizeof(path)); 66 dir = opendir(path); 68 pr_err("can't read directory '%s'\n", path);
|
/linux-master/drivers/clocksource/ |
H A D | timer-integrator-ap.c | 160 const char *path; local 182 "arm,timer-primary", &path); 188 alias_node = of_find_node_by_path(path); 202 "arm,timer-secondary", &path); 208 alias_node = of_find_node_by_path(path);
|
/linux-master/fs/ |
H A D | mount.h | 102 static inline bool __path_is_mountpoint(const struct path *path) argument 104 struct mount *m = __lookup_mnt(path->mnt, path->dentry); 126 struct path root;
|
H A D | stat.c | 94 * @path: file to get attributes from 105 int vfs_getattr_nosec(const struct path *path, struct kstat *stat, argument 109 struct inode *inode = d_backing_inode(path->dentry); 133 idmap = mnt_idmap(path->mnt); 135 return inode->i_op->getattr(idmap, path, stat, 146 * @path: The file of interest 165 int vfs_getattr(const struct path *path, struct kstat *stat, argument 173 retval = security_inode_getattr(path); 235 struct path path; local 490 struct path path; local [all...] |
/linux-master/sound/soc/sh/rcar/ |
H A D | cmd.c | 31 static const u32 path[] = { local 41 if (ARRAY_SIZE(path) < rsnd_mod_id(mod) + 1) 50 * data path. Here doesn't check impossible connection, 59 data |= path[rsnd_mod_id(src)]; 64 data |= path[rsnd_mod_id(src)]; 84 data = path[rsnd_mod_id(src)] | 88 dev_dbg(dev, "ctu/mix path = 0x%08x\n", data);
|
/linux-master/fs/btrfs/ |
H A D | volumes.c | 737 static noinline struct btrfs_device *device_list_add(const char *path, argument 755 path); 759 error = lookup_bdev(path, &path_devt); 761 btrfs_err(NULL, "failed to lookup block device for path %s: %d", 762 path, error); 781 path, MAJOR(path_devt), MINOR(path_devt), 812 path, MAJOR(path_devt), MINOR(path_devt), 821 disk_super->dev_item.uuid, path); 840 disk_super->label, devid, found_transid, path, 846 disk_super->fsid, devid, found_transid, path, 1323 btrfs_skip_registration(struct btrfs_super_block *disk_super, const char *path, dev_t devt, bool mount_arg_dev) argument 1373 btrfs_scan_one_device(const char *path, blk_mode_t flags, bool mount_arg_dev) argument 1620 struct btrfs_path *path; local 1763 struct btrfs_path *path; local 1834 struct btrfs_path *path; local 1879 struct btrfs_path *path; local 1939 struct path path; local 1955 struct btrfs_path *path; local 2383 btrfs_get_dev_args_from_path(struct btrfs_fs_info *fs_info, struct btrfs_dev_lookup_args *args, const char *path) argument 2564 struct btrfs_path *path; local 2885 struct btrfs_path *path; local 2976 struct btrfs_path *path; local 3423 struct btrfs_path *path; local 3592 struct btrfs_path *path; local 3643 struct btrfs_path *path; local 4011 struct btrfs_path *path = NULL; local 4638 struct btrfs_path *path; local 4788 struct btrfs_path *path = NULL; local 4971 struct btrfs_path *path; local 6912 btrfs_alloc_device(struct btrfs_fs_info *fs_info, const u64 *devid, const u8 *uuid, const char *path) argument 7512 struct btrfs_path *path; local 7684 btrfs_device_init_dev_stats(struct btrfs_device *device, struct btrfs_path *path) argument 7732 struct btrfs_path *path = NULL; local 7764 struct btrfs_path *path; local 8112 struct btrfs_path *path; local [all...] |
H A D | file.c | 226 struct btrfs_path *path = args->path; local 231 /* Must always have a path if ->replace_extent is true */ 232 ASSERT(!(args->replace_extent && !args->path)); 234 if (!path) { 235 path = btrfs_alloc_path(); 236 if (!path) { 251 ret = btrfs_lookup_file_extent(trans, root, path, ino, 255 if (ret > 0 && path->slots[0] > 0 && search_start == args->start) { 256 leaf = path 606 struct btrfs_path *path; local 2256 fill_holes(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, u64 offset, u64 end) argument 2424 btrfs_insert_replace_extent(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_replace_extent_info *extent_info, const u64 replace_len, const u64 bytes_to_drop) argument 2520 btrfs_replace_file_extents(struct btrfs_inode *inode, struct btrfs_path *path, const u64 start, const u64 end, struct btrfs_replace_extent_info *extent_info, struct btrfs_trans_handle **trans_out) argument 2786 struct btrfs_path *path; local 3656 struct btrfs_path *path; local [all...] |
H A D | dev-replace.c | 79 struct btrfs_path *path = NULL; local 87 path = btrfs_alloc_path(); 88 if (!path) { 96 ret = btrfs_search_slot(NULL, dev_root, &key, path, 0, 0); 128 slot = path->slots[0]; 129 eb = path->nodes[0]; 230 btrfs_free_path(path); 236 * and path. 349 struct btrfs_path *path; local 367 path 455 struct btrfs_path *path; local [all...] |
H A D | locking.c | 220 * This releases any locks held in the path starting at level and going all the 228 void btrfs_unlock_up_safe(struct btrfs_path *path, int level) argument 232 if (path->keep_locks) 236 if (!path->nodes[i]) 238 if (!path->locks[i]) 240 btrfs_tree_unlock_rw(path->nodes[i], path->locks[i]); 241 path->locks[i] = 0;
|
/linux-master/fs/overlayfs/ |
H A D | readdir.c | 271 static int ovl_check_whiteouts(const struct path *path, struct ovl_readdir_data *rdd) argument 275 struct dentry *dentry, *dir = path->dentry; 285 dentry = lookup_one(mnt_idmap(path->mnt), p->name, dir, p->len); 298 static inline int ovl_dir_read(const struct path *realpath, 351 struct path realpath; 469 static int ovl_cache_update(const struct path *path, struct ovl_cache_entry *p, bool update_ino) argument 472 struct dentry *dir = path->dentry; 495 this = lookup_one(mnt_idmap(path 566 ovl_dir_read_impure(const struct path *path, struct list_head *list, struct rb_root *root) argument 611 ovl_cache_get_impure(const struct path *path) argument 1088 ovl_workdir_cleanup_recurse(struct ovl_fs *ofs, const struct path *path, int level) argument 1158 struct path path = { .mnt = mnt, .dentry = dentry }; local 1176 struct path path = { .mnt = ovl_upper_mnt(ofs), .dentry = indexdir }; local [all...] |
H A D | params.c | 229 static int ovl_mount_dir_noesc(const char *name, struct path *path) argument 237 err = kern_path(name, LOOKUP_FOLLOW, path); 261 static int ovl_mount_dir(const char *name, struct path *path) argument 268 err = ovl_mount_dir_noesc(tmp, path); 274 static int ovl_mount_dir_check(struct fs_context *fc, const struct path *path, argument 279 if (!d_is_dir(path->dentry)) 288 if (sb_has_encoding(path 336 ovl_add_layer(struct fs_context *fc, enum ovl_opt layer, struct path *path, char **pname) argument 373 struct path path; local [all...] |
/linux-master/security/landlock/ |
H A D | syscalls.c | 20 #include <linux/path.h> 268 * @path: Must call put_path(@path) after the call if it succeeded. 270 static int get_path_from_fd(const s32 fd, struct path *const path) argument 295 *path = f.file->f_path; 296 path_get(path); 307 struct path path; local 319 * are ignored in path walk [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | hw.c | 1745 u32 path, addr = EEPROM_TX_PWR_INX, group, cnt = 0; local 1756 for (path = 0; path < MAX_RF_PATH; path++) { 1759 pw2g->index_cck_base[path][group] = 0x2D; 1760 pw2g->index_bw40_base[path][group] = 0x2D; 1764 pw2g->bw20_diff[path][0] = 0x02; 1765 pw2g->ofdm_diff[path][0] = 0x04; 1767 pw2g->bw20_diff[path][cnt] = 0xFE; 1768 pw2g->bw40_diff[path][cn [all...] |
/linux-master/sound/soc/codecs/ |
H A D | wm8958-dsp2.c | 188 static void wm8958_dsp_start_mbc(struct snd_soc_component *component, int path) argument 228 path << WM8958_MBC_SEL_SHIFT | 232 static void wm8958_dsp_start_vss(struct snd_soc_component *component, int path) argument 276 if (wm8994->mbc_ena[path]) 278 if (wm8994->hpf2_ena[path]) 280 if (wm8994->hpf1_ena[path]) 282 if (wm8994->vss_ena[path]) 287 /* Switch the DSP into the data path */ 290 path << WM8958_MBC_SEL_SHIFT | WM8958_MBC_ENA); 293 static void wm8958_dsp_start_enh_eq(struct snd_soc_component *component, int path) argument 324 wm8958_dsp_apply(struct snd_soc_component *component, int path, int start) argument [all...] |
/linux-master/drivers/s390/char/ |
H A D | vmlogrdr.c | 66 struct iucv_path *path; member in struct:vmlogrdr_priv_t 164 static void vmlogrdr_iucv_path_complete(struct iucv_path *path, u8 *ipuser) argument 166 struct vmlogrdr_priv_t * logptr = path->private; 175 static void vmlogrdr_iucv_path_severed(struct iucv_path *path, u8 *ipuser) argument 177 struct vmlogrdr_priv_t * logptr = path->private; 182 iucv_path_sever(path, NULL); 183 kfree(path); 184 logptr->path = NULL; 197 static void vmlogrdr_iucv_message_pending(struct iucv_path *path, argument 200 struct vmlogrdr_priv_t * logptr = path [all...] |
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 34 * the trace path and the sink configuration. The event data is accessible 40 * for stopping the trace path. The event_data is guaranteed to stay alive 43 * to make sure we can disable the trace path. 142 return per_cpu_ptr(data->path, cpu); 241 free_percpu(event_data->path); 263 * Each CPU has a single path between source and destination. As such 264 * allocate an array using CPU numbers as indexes. That way a path 270 event_data->path = alloc_percpu(struct list_head *); 272 if (!event_data->path) { 342 * Setup the path fo 349 struct list_head *path; local 454 struct list_head *path; local 546 struct list_head *path; local [all...] |
/linux-master/fs/vboxsf/ |
H A D | dir.c | 364 struct shfl_string *path; local 376 path = vboxsf_path_from_dentry(sbi, dentry); 377 if (IS_ERR(path)) 378 return PTR_ERR(path); 380 err = vboxsf_remove(sbi->root, path, flags); 381 __putname(path); 441 struct shfl_string *path, *ssymname; local 445 path = vboxsf_path_from_dentry(sbi, dentry); 446 if (IS_ERR(path)) 447 return PTR_ERR(path); [all...] |
H A D | vboxsf_wrappers.c | 80 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; 81 parms.path.u.pointer.size = shfl_string_buf_size(folder_name); 82 parms.path.u.pointer.u.linear_addr = (uintptr_t)folder_name; 116 * @parsed_path: The path of the file or folder relative to the shared folder 138 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; 139 parms.path.u.pointer.size = shfl_string_buf_size(parsed_path); 140 parms.path.u.pointer.u.linear_addr = (uintptr_t)parsed_path; 169 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL_IN; 170 parms.path.u.pointer.size = shfl_string_buf_size(parsed_path); 171 parms.path [all...] |
/linux-master/tools/usb/usbip/src/ |
H A D | usbip_list.c | 102 printf("%11s: %s\n", "", udev.path); 173 const char *path; local 201 path = udev_list_entry_get_name(dev_list_entry); 202 dev = udev_device_new_from_syspath(udev, path); 256 const char *path; local 278 path = udev_list_entry_get_name(dev_list_entry); 279 dev = udev_device_new_from_syspath(udev, path);
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | rx.c | 156 u8 path; local 198 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { 199 rx_status->chains |= BIT(path); 200 rx_status->chain_signal[path] = pkt_stat->rx_power[path];
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-xscom.c | 83 struct debugfs_blob_wrapper path; member in struct:scom_debug_entry 167 ent->path.data = (void *)kasprintf(GFP_KERNEL, "%pOF", dn); 168 if (!ent->path.data) { 173 ent->path.size = strlen((char *)ent->path.data); 177 kfree(ent->path.data); 182 debugfs_create_blob("devspec", 0400, dir, &ent->path);
|
/linux-master/tools/perf/tests/ |
H A D | tests-scripts.c | 32 char path[PATH_MAX], *exec_path; local 42 /* Then installed path. */ 44 scnprintf(path, sizeof(path), "%s/tests/shell", exec_path); 46 return open(path, O_PATH); 91 /* Is this full file path a shell script */ 92 static bool is_shell_script(int dir_fd, const char *path) argument 96 ext = strrchr(path, '.'); 100 if (faccessat(dir_fd, path, R_OK | X_OK, 0) == 0) /* Is executable */
|