/linux/drivers/video/fbdev/mmp/ |
H A D | core.c | 19 if (path && overlay_id < path->overlay_num) in path_get_overlay() 46 if (path->panel && path->panel->get_modelist) in path_get_modelist() 47 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist() 110 if (path->panel && path->panel == panel) { in mmp_unregister_panel() 141 return path; in mmp_get_path() 160 if (!path) in mmp_register_path() 184 path->name, path->overlay_num); in mmp_register_path() 196 path->overlays[i].path = path; in mmp_register_path() 206 return path; in mmp_register_path() 220 if (!path) in mmp_unregister_path() [all …]
|
/linux/fs/bcachefs/ |
H A D | btree_locking.h | 112 if (level < path->level) in btree_lock_want() 116 if (level == path->level) in btree_lock_want() 162 while (path->nodes_locked) in __bch2_btree_path_unlock() 163 btree_node_unlock(trans, path, btree_path_lowest_level_locked(path)); in __bch2_btree_path_unlock() 242 struct btree_path *path; in btree_node_lock_increment() local 322 return btree_node_locked(path, path->level) in bch2_btree_path_relock() 334 btree_node_locked_type(path, level) != __btree_lock_want(path, level)); in bch2_btree_node_relock() 346 btree_node_locked_type(path, level) != __btree_lock_want(path, level)); in bch2_btree_node_relock_notrace() 386 EBUG_ON(!btree_node_locked(path, path->level)); in btree_path_set_should_be_locked() 387 EBUG_ON(path->uptodate); in btree_path_set_should_be_locked() [all …]
|
H A D | btree_iter.c | 697 path = next_btree_path(trans, path)) in bch2_trans_node_add() 777 path->l[path->level].b = b; in btree_path_lock_root() 1171 !btree_node_locked(path, path->level)); in bch2_btree_path_traverse_one() 1180 ret = btree_path_node(path, path->level) in bch2_btree_path_traverse_one() 1195 path->l[path->level].b = ERR_PTR(ret); in bch2_btree_path_traverse_one() 1385 if (!dup && !(!path->preserve && !is_btree_node(path, path->level))) in bch2_path_put() 1866 if (btree_path_node(path, path->level)) in bch2_btree_iter_traverse() 1887 b = btree_path_node(path, path->level); in bch2_btree_iter_peek_node() 1934 if (!btree_path_node(path, path->level)) in bch2_btree_iter_next_node() 1978 b = path->l[path->level].b; in bch2_btree_iter_next_node() [all …]
|
H A D | btree_locking.c | 33 struct btree_path *path; in bch2_btree_node_lock_counts() local 43 if (path != skip && &path->l[level].b->c == b) { in bch2_btree_node_lock_counts() 323 if (!path->nodes_locked) in bch2_check_for_deadlock() 467 f->b = path->l[l].b; in btree_path_get_locks() 590 for (l = path->level; in bch2_btree_path_relock_intent() 591 l < path->locks_want && btree_path_node(path, l); in bch2_btree_path_relock_intent() 672 if (linked != path && in __bch2_btree_path_upgrade() 699 (l = btree_path_highest_level_locked(path)) >= path->locks_want) { in __bch2_btree_path_downgrade() 700 if (l > path->level) { in __bch2_btree_path_downgrade() 727 if (path->ref) in bch2_trans_downgrade() [all …]
|
/linux/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 112 const char *path; member 117 const char *path; member 168 .out.path = "root", .pass = true }, in test_openat2_opath_tests() 171 .out.path = "etc", .pass = true }, in test_openat2_opath_tests() 214 .out.path = NULL, .pass = true }, in test_openat2_opath_tests() 217 .out.path = NULL, .pass = true }, in test_openat2_opath_tests() 220 .out.path = NULL, .pass = true }, in test_openat2_opath_tests() 223 .out.path = NULL, .pass = true }, in test_openat2_opath_tests() 331 .out.path = "/", .pass = true }, in test_openat2_opath_tests() 334 .out.path = "/", .pass = true }, in test_openat2_opath_tests() [all …]
|
/linux/drivers/thunderbolt/ |
H A D | path.c | 153 path = kzalloc(sizeof(*path), GFP_KERNEL); in tb_path_discover() 154 if (!path) in tb_path_discover() 165 kfree(path); in tb_path_discover() 211 return path; in tb_path_discover() 248 path = kzalloc(sizeof(*path), GFP_KERNEL); in tb_path_alloc() 249 if (!path) in tb_path_alloc() 345 return path; in tb_path_alloc() 376 kfree(path); in tb_path_free() 485 path->name, tb_route(path->hops[0].in_port->sw), in tb_path_deactivate() 514 path->name, tb_route(path->hops[0].in_port->sw), in tb_path_activate() [all …]
|
/linux/fs/ |
H A D | init.c | 19 struct path path; in init_mount() local 33 struct path path; in init_umount() local 46 struct path path; in init_chdir() local 61 struct path path; in init_chroot() local 85 struct path path; in init_chown() local 102 struct path path; in init_chmod() local 115 struct path path; in init_eaccess() local 129 struct path path; in init_stat() local 144 struct path path; in init_mknod() local 203 struct path path; in init_symlink() local [all …]
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8852c_rfk.c | 156 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 1507 for (path = 0; path < RTW8852C_IQK_SS; path++) { in _iqk_init() 2715 for (path = 0; path < RTW8852C_DPK_RF_PATH; path++) in _dpk_cal_select() 3870 for (path = 0; path < 2; path++) { in _ctrl_bw() 3946 for (path = 0; path < 2; path++) { in _ctrl_ch() 3962 for (path = 0; path < 2; path++) { in _rxbb_bw() 4125 for (path = 0; path < 2; path++) in rtw8852c_rck() 4170 for (path = 0; path < 2; path++) { in _rx_dck() 4235 for (path = 0; path < RF_PATH_NUM_8852C; path++) { in rtw8852c_rx_dck_track() 4254 for (path = 0; path < RF_PATH_NUM_8852C; path++) { in rtw8852c_rx_dck_track() [all …]
|
H A D | rtw8852a_rfk.c | 98 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 588 path, BIT(path), tmp); in _iqk_read_xym_dbcc0() 1598 for (path = 0; path < RTW8852A_IQK_SS; path++) { in _iqk_init() 1719 for (path = 0; path < 2; path++) { in _rx_dck() 2609 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) in _dpk_cal_select() 2620 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2632 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2643 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2679 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_force_bypass() 2724 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_track() [all …]
|
H A D | rtw8852b_rfk.c | 311 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _rx_dck() 1571 for (path = 0; path < RTW8852B_IQK_SS; path++) { in _iqk_init() 1588 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 2512 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) in _dpk_cal_select() 2518 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2528 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2536 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2603 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _dpk_track() 2709 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _set_dpd_backoff() 3753 for (path = 0; path < RF_PATH_NUM_8852B; path++) in rtw8852b_rck() [all …]
|
H A D | rtw8851b_rfk.c | 172 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 586 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _rx_dck() 1578 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _iqk_init() 1762 path, dpk->cur_idx[path], phy, in _dpk_information() 2460 for (path = 0; path < RF_PATH_NUM_8851B; path++) in _dpk_cal_select() 2463 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2475 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2481 path, dpk->cur_idx[path]); in _dpk_cal_select() 2491 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2527 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_track() [all …]
|
/linux/fs/nilfs2/ |
H A D | btree.c | 29 if (path == NULL) in nilfs_btree_alloc_path() 42 return path; in nilfs_btree_alloc_path() 873 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_carry_left() 921 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_carry_right() 968 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_split() 1003 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_grow() 1227 path[level].bp_op(btree, path, level, &key, &ptr); in nilfs_btree_commit_insert() 1374 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_concat_left() 1577 path[level].bp_op(btree, path, level, NULL, NULL); in nilfs_btree_commit_delete() 1941 path[level].bp_ctxt.bh = path[level].bp_bh; in nilfs_btree_prepare_update_v() [all …]
|
/linux/fs/btrfs/ |
H A D | file-item.c | 169 if (!path) in btrfs_insert_hole_extent() 297 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in search_csum_tree() 318 itemsize = btrfs_item_size(path->nodes[0], path->slots[0]); in search_csum_tree() 372 if (!path) in btrfs_lookup_bio_sums() 482 if (!path) in btrfs_lookup_csums_list() 555 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_list() 625 if (!path) { in btrfs_lookup_csums_bitmap() 627 if (!path) in btrfs_lookup_csums_bitmap() 708 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_bitmap() 891 if (!path) in btrfs_del_csums() [all …]
|
H A D | inode-item.c | 101 return btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_lookup_inode_extref() 127 if (!path) in btrfs_del_inode_extref() 141 extref = btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_del_inode_extref() 198 if (!path) in btrfs_del_inode_ref() 272 if (!path) in btrfs_insert_inode_extref() 326 if (!path) in btrfs_insert_inode_ref() 334 ref = btrfs_find_name_in_backref(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 339 old_size = btrfs_item_size(path->nodes[0], path->slots[0]); in btrfs_insert_inode_ref() 341 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 359 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() [all …]
|
H A D | free-space-tree.c | 125 return btrfs_item_ptr(path->nodes[0], path->slots[0], in search_free_space_info() 274 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in convert_free_space_to_bitmaps() 417 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in convert_free_space_to_extents() 737 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in remove_free_space_extent() 844 if (!path) { in remove_from_free_space_tree() 1037 if (!path) { in add_to_free_space_tree() 1076 if (!path) in populate_free_space_tree() 1231 if (!path) in clear_free_space_tree() 1393 if (!path) { in add_block_group_free_space() 1428 if (!path) { in remove_block_group_free_space() [all …]
|
H A D | root-tree.c | 94 path->slots[0]--; in btrfs_find_root() 98 l = path->nodes[0]; in btrfs_find_root() 99 slot = path->slots[0]; in btrfs_find_root() 141 if (!path) in btrfs_update_root() 157 l = path->nodes[0]; in btrfs_update_root() 158 slot = path->slots[0]; in btrfs_update_root() 188 l = path->nodes[0]; in btrfs_update_root() 227 if (!path) in btrfs_find_orphan_roots() 326 if (!path) in btrfs_del_root() 356 if (!path) in btrfs_del_root_ref() [all …]
|
H A D | ctree.c | 1469 btrfs_tree_unlock_rw(path->nodes[i], path->locks[i]); in unlock_up() 1668 ASSERT(path); in btrfs_find_item() 2386 if (path->slots[0] < btrfs_header_nritems(path->nodes[0])) { in btrfs_prev_leaf() 2387 btrfs_item_key(path->nodes[0], &found_key, path->slots[0]); in btrfs_prev_leaf() 2539 btrfs_item_key_to_cpu(path->nodes[0], key, path->slots[0]); in btrfs_get_next_valid_item() 3618 if (path->slots[0] == 0 || path->slots[0] == nritems) in push_for_double_split() 4322 if (!path) in btrfs_insert_item() 4442 ret = btrfs_del_ptr(trans, root, path, 1, path->slots[1]); in btrfs_del_leaf() 4709 btrfs_unlock_up_safe(path, path->lowest_level + 1); in btrfs_search_forward() 4732 WARN_ON(!path->keep_locks && !path->skip_locking); in btrfs_find_next_key() [all …]
|
/linux/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.c | 122 struct mmp_path *path = overlay->path; in dmafetch_set_fmt() local 171 struct mmp_path *path = overlay->path; in dmafetch_onoff() local 177 writel(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff() 185 tmp = readl_relaxed(ctrl_regs(path) + LCD_SCLK(path)); in path_enabledisable() 198 path->name, stat_name(path->status)); in path_onoff() 205 if (path->panel && path->panel->set_onoff) in path_onoff() 206 path->panel->set_onoff(path->panel, 1); in path_onoff() 208 if (path->panel && path->panel->set_onoff) in path_onoff() 209 path->panel->set_onoff(path->panel, 0); in path_onoff() 225 if (overlay->path->ops.check_status(overlay->path) in overlay_set_onoff() [all …]
|
/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_path.c | 23 switch (path) { in mtk_eth_path_name() 48 switch (path) { in set_mux_gdm1_to_gmac1_esw() 81 switch (path) { in set_mux_gmac2_gmac0_to_gephy() 104 switch (path) { in set_mux_u3_gmac2_to_qphy() 135 switch (path) { in set_mux_gmac1_gmac2_to_sgmii_rgmii() 175 switch (path) { in set_mux_gmac12_to_gephy_sgmii() 229 mtk_eth_path_name(path)); in mtk_eth_mux_setup() 254 u64 path; in mtk_gmac_sgmii_path_setup() local 265 u64 path = 0; in mtk_gmac_gephy_path_setup() local 270 if (!path) in mtk_gmac_gephy_path_setup() [all …]
|
/linux/security/tomoyo/ |
H A D | tomoyo.c | 121 static int tomoyo_inode_getattr(const struct path *path) in tomoyo_inode_getattr() argument 133 static int tomoyo_path_truncate(const struct path *path) in tomoyo_path_truncate() argument 160 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_unlink() local 177 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_mkdir() local 193 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_rmdir() local 210 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_symlink() local 228 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_mknod() local 361 static int tomoyo_path_chmod(const struct path *path, umode_t mode) in tomoyo_path_chmod() argument 396 static int tomoyo_path_chroot(const struct path *path) in tomoyo_path_chroot() argument 412 static int tomoyo_sb_mount(const char *dev_name, const struct path *path, in tomoyo_sb_mount() argument [all …]
|
/linux/fs/xfs/scrub/ |
H A D | dirtree.c | 81 kfree(path); in xchk_dirtree_buf_cleanup() 158 struct xchk_dirpath *path, in xchk_dirpath_append() argument 187 path->nr_steps++; in xchk_dirpath_append() 243 if (!path) in xchk_dirtree_create_path() 248 path->nr_steps = 0; in xchk_dirtree_create_path() 263 kfree(path); in xchk_dirtree_create_path() 350 trace_xchk_dirpath_set_outcome(dl->sc, path->path_nr, path->nr_steps, in xchk_dirpath_set_outcome() 353 path->outcome = outcome; in xchk_dirpath_set_outcome() 669 for (i = 1, idx = path->second_step; i < path->nr_steps; i++, idx++) { in xchk_dirpath_is_stale() 733 kfree(path); in xchk_dirtree_reset() [all …]
|
/linux/tools/perf/util/ |
H A D | trace-event-info.c | 94 if (!path) { in record_header_files() 117 if (!path) { in record_header_files() 226 char *path; in record_ftrace_files() local 230 if (!path) { in record_ftrace_files() 257 char *path; in record_event_files() local 338 char *path; in record_ftrace_printk() local 366 char *path; in record_saved_cmdline() local 444 path = zalloc(sizeof(*path)); in tracepoint_id_to_path() 475 if (path && asprintf(&buf, "%s:%s", path->system, path->name) < 0) in tracepoint_id_to_name() 495 if (path->system == NULL || path->name == NULL) { in tracepoint_name_to_path() [all …]
|
/linux/fs/ext4/ |
H A D | extents.c | 1872 path[1].p_maxdepth = path[0].p_maxdepth; in ext4_ext_try_to_merge_up() 1873 memcpy(path[0].p_hdr, path[1].p_hdr, s); in ext4_ext_try_to_merge_up() 2285 path = path + depth; in ext4_ext_rm_idx() 2969 memset(path + i + 1, 0, sizeof(*path)); in ext4_ext_remove_space() 5890 ex = path[path->p_depth].p_ext; in ext4_ext_replay_update_ex() 5910 ex = path[path->p_depth].p_ext; in ext4_ext_replay_update_ex() 5923 ex = path[path->p_depth].p_ext; in ext4_ext_replay_update_ex() 5951 ex = path[path->p_depth].p_ext; in ext4_ext_replay_shrink_inode() 6003 ex = path[path->p_depth].p_ext; in ext4_ext_replay_set_iblocks() 6044 ex = path[path->p_depth].p_ext; in ext4_ext_replay_set_iblocks() [all …]
|
/linux/include/net/iucv/ |
H A D | iucv.h | 232 struct iucv_path *path; in iucv_path_alloc() local 234 path = kzalloc(sizeof(struct iucv_path), gfp); in iucv_path_alloc() 235 if (path) { in iucv_path_alloc() 236 path->msglim = msglim; in iucv_path_alloc() 237 path->flags = flags; in iucv_path_alloc() 239 return path; in iucv_path_alloc() 248 static inline void iucv_path_free(struct iucv_path *path) in iucv_path_free() argument 250 kfree(path); in iucv_path_free() 473 int (*__message_receive)(struct iucv_path *path, 483 int (*message_send2way)(struct iucv_path *path, [all …]
|
/linux/tools/lib/api/fs/ |
H A D | fs.c | 94 char *path; member 168 fs->path = strdup(path); in fs__read_mounts() 197 if (!fs->path) in fs__check_mounts() 237 if (!fs->path) in fs__env_override() 255 return fs->path; in fs__mountpoint() 393 snprintf(path, sizeof(path), "%s/%s", procfs, entry); in procfs__read_str() 407 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_ull_base() 430 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_int() 443 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_str() 459 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_bool() [all …]
|