/linux-master/fs/btrfs/ |
H A D | qgroup.c | 390 struct btrfs_path *path = NULL; local 406 path = btrfs_alloc_path(); 407 if (!path) { 424 ret = btrfs_search_slot_for_read(quota_root, &key, path, 1, 1); 431 slot = path->slots[0]; 432 l = path->nodes[0]; 530 ret = btrfs_next_item(quota_root, path); 536 btrfs_release_path(path); 544 ret = btrfs_search_slot_for_read(quota_root, &key, path, 1, 0); 550 slot = path 675 struct btrfs_path *path; local 699 struct btrfs_path *path; local 729 struct btrfs_path *path; local 797 struct btrfs_path *path; local 843 struct btrfs_path *path; local 886 struct btrfs_path *path; local 931 struct btrfs_path *path; local 975 struct btrfs_path *path; local 1020 struct btrfs_path *path = NULL; local 2124 adjust_slots_upwards(struct btrfs_path *path, int root_level) argument 2518 struct btrfs_path *path = NULL; local 3596 is_last_leaf(struct btrfs_path *path) argument 3611 qgroup_rescan_leaf(struct btrfs_trans_handle *trans, struct btrfs_path *path) argument 3721 struct btrfs_path *path; local [all...] |
H A D | backref.h | 181 * A path from a root to a leaf that has a file extent item pointing to 217 struct btrfs_path *path, struct btrfs_key *found_key, 229 struct btrfs_path *path, void *ctx, 237 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, 244 struct btrfs_path *path); 248 u64 start_off, struct btrfs_path *path, 276 struct btrfs_path *path; member in struct:btrfs_backref_iter 388 struct btrfs_backref_node *path[BTRFS_MAX_LEVEL]; member in struct:btrfs_backref_cache 461 struct btrfs_path *path,
|
H A D | ref-verify.c | 433 struct btrfs_path *path, struct btrfs_key *key, 440 struct extent_buffer *leaf = path->nodes[0]; 504 struct btrfs_path *path, u64 *bytenr, u64 *num_bytes, 508 struct extent_buffer *leaf = path->nodes[0]; 524 ret = process_extent_item(fs_info, path, &key, i, 558 static int walk_down_tree(struct btrfs_root *root, struct btrfs_path *path, argument 567 eb = btrfs_read_node_slot(path->nodes[level], 568 path->slots[level]); 572 path->nodes[level-1] = eb; 573 path 432 process_extent_item(struct btrfs_fs_info *fs_info, struct btrfs_path *path, struct btrfs_key *key, int slot, int *tree_block_level) argument 503 process_leaf(struct btrfs_root *root, struct btrfs_path *path, u64 *bytenr, u64 *num_bytes, int *tree_block_level) argument 587 walk_up_tree(struct btrfs_path *path, int *level) argument 986 struct btrfs_path *path; local [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | dswload.c | 110 char *path; local 135 path = acpi_ps_get_next_namestring(&walk_state->parser_state); 153 acpi_ns_lookup(walk_state->scope_info, path, object_type, 163 acpi_dm_add_op_to_external_list(op, path, 166 acpi_ns_lookup(walk_state->scope_info, path, 173 ACPI_ERROR_NAMESPACE(walk_state->scope_info, path, 308 acpi_ns_lookup(walk_state->scope_info, path, object_type, 343 path, status); 365 op->named.path = path; [all...] |
/linux-master/tools/cgroup/ |
H A D | iocost_monitor.py | 78 path = parent_path + '/' + name if parent_path else name 84 self.blkgs.append((path if path else '/', blkg)) 88 self.walk(c, q_id, path) 175 def dict(self, now, path): 176 out = { 'cgroup' : path, 192 def table_row_str(self, path): 193 out = f'{path[-28:]:28} ' \ 258 for path, blkg in BlkgIterator(blkcg_root, q_id): 259 if filter_re and not filter_re.match(path) [all...] |
/linux-master/fs/cachefiles/ |
H A D | cache.c | 19 struct path path; local 39 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); 43 cache->mnt = path.mnt; 44 root = path.dentry; 47 if (is_idmapped_mnt(path.mnt)) { 82 ret = vfs_statfs(&path, &stats); 192 struct path path = { local 209 ret = vfs_statfs(&path, [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | eeprom.c | 201 u8 path, nss, nss_max = 4, *eeprom = dev->mt76.eeprom.data; local 207 /* read tx/rx path from eeprom */ 209 path = FIELD_GET(MT_EE_WIFI_CONF0_TX_PATH, 212 path = FIELD_GET(MT_EE_WIFI_CONF0_TX_PATH, 216 if (!path || path > 4) 217 path = 4; 220 nss = path; 223 path = min_t(u8, path, [all...] |
/linux-master/fs/bcachefs/ |
H A D | trace.h | 502 struct btree_path *path, 504 TP_ARGS(trans, caller_ip, path, level), 522 struct btree *b = btree_path_node(path, level); 527 __entry->btree_id = path->btree_id; 528 __entry->level = path->level; 529 TRACE_BPOS_assign(pos, path->pos); 531 c = bch2_btree_node_lock_counts(trans, NULL, &path->l[level].b->c, level); 538 c = six_lock_counts(&path->l[level].b->c.lock); 543 __entry->iter_lock_seq = path->l[level].lock_seq; 544 __entry->node_lock_seq = is_btree_node(path, leve [all...] |
/linux-master/drivers/s390/block/ |
H A D | dasd_int.h | 142 char lpm; /* logical path mask */ 190 #define DASD_CQR_VERIFY_PATH 2 /* path verification request */ 322 * e.g. verify that new path is compatible with the current 437 /* DASD path handling */ 494 #define to_dasd_path(path) container_of(path, struct dasd_path, kobj) 561 struct dasd_path path[8]; member in struct:dasd_device 987 /* DASD path handling functions */ 990 * helper functions to modify bit masks for a given channel path for a device 994 return test_bit(DASD_PATH_OPERATIONAL, &device->path[ch [all...] |
/linux-master/sound/soc/ |
H A D | soc-dapm.c | 203 * the size of the generic function and at the same time the fast path of the 244 * have changed. E.g. if the source state of a widget changes or a path is added 261 * have changed. E.g. if the sink state of a widget changes or a path is added 271 * for the widgets connected to a path 272 * @p: The path to invalidate 274 * Resets the cached number of inputs for the sink of the path and the cached 275 * number of outputs for the source of the path. 277 * This function must be called when a path is added, removed or the connected 293 * so there is no need to re-check the path. 516 struct snd_soc_dapm_path *path) 515 dapm_kcontrol_add_path(const struct snd_kcontrol *kcontrol, struct snd_soc_dapm_path *path) argument 748 dapm_connect_mux(struct snd_soc_dapm_context *dapm, struct snd_soc_dapm_path *path, const char *control_name, struct snd_soc_dapm_widget *w) argument 831 dapm_connect_mixer(struct snd_soc_dapm_context *dapm, struct snd_soc_dapm_path *path, const char *control_name) argument 989 struct snd_soc_dapm_path *path; local 1025 struct snd_soc_dapm_path *path; local 1168 struct snd_soc_dapm_path *path; local 1203 struct snd_soc_dapm_path *path; local 1457 struct snd_soc_dapm_path *path; local 1887 struct snd_soc_dapm_path *path; local 2321 soc_dapm_connect_path(struct snd_soc_dapm_path *path, bool connect, const char *reason) argument 2337 struct snd_soc_dapm_path *path; local 2384 struct snd_soc_dapm_path *path; local 2536 dapm_free_path(struct snd_soc_dapm_path *path) argument 2911 struct snd_soc_dapm_path *path; local 3103 struct snd_soc_dapm_path *path, *p; local 3225 struct snd_soc_dapm_path *path; local 3883 struct snd_soc_dapm_path *path; local 4006 struct snd_soc_dapm_path *path; local [all...] |
/linux-master/fs/reiserfs/ |
H A D | inode.c | 253 struct inode *inode, struct treepath *path) 261 pathrelse(path); 288 INITIALIZE_PATH(path); 305 result = search_for_position_by_key(inode->i_sb, &key, &path); 307 pathrelse(&path); 322 bh = get_last_bh(&path); 323 ih = tp_item_head(&path); 332 blocknr = get_block_num(ind_item, path.pos_in_item); 336 if (path.pos_in_item == 352 pathrelse(&path); 252 restart_transaction(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path) argument 631 _allocate_block(struct reiserfs_transaction_handle *th, sector_t block, struct inode *inode, b_blocknr_t * allocated_block_nr, struct treepath *path, int flags) argument 1229 init_inode(struct inode *inode, struct treepath *path) argument 1408 update_stat_data(struct treepath *path, struct inode *inode, loff_t size) argument 1784 reiserfs_new_directory(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, struct inode *dir) argument 1847 reiserfs_new_symlink(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, const char *symname, int item_len) argument [all...] |
/linux-master/include/linux/ |
H A D | security.h | 50 struct path; 316 int security_sb_mount(const char *dev_name, const struct path *path, 319 int security_sb_pivotroot(const struct path *old_path, const struct path *new_path); 328 int security_move_mount(const struct path *from_path, const struct path *to_path); 337 int security_path_notify(const struct path *path, u64 mask, 369 int security_inode_getattr(const struct path *pat 726 security_sb_mount(const char *dev_name, const struct path *path, const char *type, unsigned long flags, void *data) argument 766 security_path_notify(const struct path *path, u64 mask, unsigned int obj_type) argument 904 security_inode_getattr(const struct path *path) argument 1957 security_path_truncate(const struct path *path) argument 1984 security_path_chmod(const struct path *path, umode_t mode) argument 1989 security_path_chown(const struct path *path, kuid_t uid, kgid_t gid) argument 1994 security_path_chroot(const struct path *path) argument 2178 security_bpf_token_create(struct bpf_token *token, union bpf_attr *attr, struct path *path) argument [all...] |
H A D | kernel_read_file.h | 42 ssize_t kernel_read_file_from_path(const char *path, loff_t offset, 46 ssize_t kernel_read_file_from_path_initns(const char *path, loff_t offset,
|
H A D | lsm_hook_defs.h | 72 LSM_HOOK(int, 0, sb_mount, const char *dev_name, const struct path *path, 75 LSM_HOOK(int, 0, sb_pivotroot, const struct path *old_path, 76 const struct path *new_path) 82 LSM_HOOK(int, 0, move_mount, const struct path *from_path, 83 const struct path *to_path) 91 LSM_HOOK(int, 0, path_unlink, const struct path *dir, struct dentry *dentry) 92 LSM_HOOK(int, 0, path_mkdir, const struct path *dir, struct dentry *dentry, 94 LSM_HOOK(int, 0, path_rmdir, const struct path *dir, struct dentry *dentry) 95 LSM_HOOK(int, 0, path_mknod, const struct path *di [all...] |
/linux-master/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_cfg.c | 23 const char *path, int index) 28 GFP_KERNEL, "%s/%d", path, index); 21 cfg_connector(struct xen_drm_front_info *front_info, struct xen_drm_front_cfg_connector *connector, const char *path, int index) argument
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | phy.h | 51 void rtw_phy_pwrtrack_avg(struct rtw_dev *rtwdev, u8 thermal, u8 path); 53 u8 path); 54 u8 rtw_phy_pwrtrack_get_delta(struct rtw_dev *rtwdev, u8 path); 86 #define RTW_DECL_TABLE_PHY_COND_CORE(name, cfg, path) \ 92 .rf_path = path, \ 98 #define RTW_DECL_TABLE_RF_RADIO(name, path) \ 99 RTW_DECL_TABLE_PHY_COND_CORE(name, rtw_phy_cfg_rf, RF_PATH_ ## path) 155 rtw_get_tx_power_params(struct rtw_dev *rtwdev, u8 path,
|
/linux-master/fs/smb/client/ |
H A D | cached_dir.h | 36 const char *path; member in struct:cached_fid 66 const char *path,
|
H A D | namespace.c | 132 /* Return full path out of a dentry set for automount */ 189 static struct vfsmount *cifs_do_automount(struct path *path) argument 192 struct dentry *mntpt = path->dentry; 205 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, mntpt); 257 struct vfsmount *cifs_d_automount(struct path *path) argument 261 cifs_dbg(FYI, "%s: %pd\n", __func__, path->dentry); 263 newmnt = cifs_do_automount(path);
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | firmware.h | 55 const char *path; member in struct:brcmf_fw_item 77 char *path; member in struct:brcmf_fw_name
|
/linux-master/drivers/gpu/drm/ci/xfails/ |
H A D | update-xfails.py | 20 script_dir = os.path.dirname(os.path.abspath(__file__)) 21 return os.path.join(script_dir, f"{name}-{suffix}.txt") 45 if os.path.exists(file_path): 70 print("WARNING: core_getversion should pass, not adding it to", os.path.basename(file_name)) 104 path_components = parsed_url.path.strip("/").split("/") 190 print_diff(fails_txt_original, fails_txt, os.path.basename(fails_txt_path)) 193 print_diff(flakes_txt_original, flakes_txt, os.path.basename(flakes_txt_path))
|
/linux-master/scripts/dtc/ |
H A D | dt-extract-compatibles | 85 for path, dirs, files in os.walk(root): 92 yield os.path.join(path, f) 96 if os.path.isdir(f):
|
/linux-master/samples/cgroup/ |
H A D | memcg_event_listener.c | 46 char path[PATH_MAX]; member in struct:memcg_events 102 FILE *fp = fopen(events->path, "re"); 148 warn("Failed to open memcg events file %s", events->path); 215 printf("Received event in %s:\n", events->path); 232 printf("Started monitoring memory events from '%s'...\n", events->path); 270 ret = snprintf(events->path, PATH_MAX, 293 events->path, IN_MODIFY); 295 warn("Couldn't add monitor in dir %s", events->path);
|
/linux-master/tools/testing/selftests/ring-buffer/ |
H A D | map_test.c | 24 static int __tracefs_write(const char *path, const char *value) argument 28 fd = open(path, O_WRONLY | O_TRUNC); 39 static int __tracefs_write_int(const char *path, int value) argument 47 ret = __tracefs_write(path, str); 54 #define tracefs_write_int(path, value) \ 55 ASSERT_EQ(__tracefs_write_int((path), (value)), 0) 57 #define tracefs_write(path, value) \ 58 ASSERT_EQ(__tracefs_write((path), (value)), 0)
|
/linux-master/fs/ |
H A D | pidfs.c | 190 static int pidfs_getattr(struct mnt_idmap *idmap, const struct path *path, argument 194 struct inode *inode = d_inode(path->dentry); 286 struct path path; local 289 ret = path_from_stashed(&pid->stashed, pidfs_mnt, get_pid(pid), &path); 293 pidfd_file = dentry_open(&path, flags, current_cred()); 294 path_put(&path);
|
/linux-master/tools/testing/selftests/alsa/ |
H A D | conf.c | 142 char path[PATH_MAX], link[PATH_MAX + 1]; local 150 snprintf(path, sizeof(path), "%s/%s", sysfs_root, id); 151 if (lstat(path, &sb) != 0) 154 len = readlink(path, link, sizeof(link) - 1); 157 path, strerror(errno)); 171 fd = open(path, O_RDONLY); 176 path, strerror(errno)); 178 len = read(fd, path, sizeof(path) [all...] |