| /linux-6.15/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-6.15/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-6.15/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-6.15/fs/bcachefs/ |
| H A D | btree_locking.h | 100 if (level < path->level) in btree_lock_want() 104 if (level == path->level) in btree_lock_want() 133 bch2_btree_node_unlock_write(trans, path, path->l[level].b); in btree_node_unlock() 158 btree_node_unlock(trans, path, btree_path_lowest_level_locked(path)); in __bch2_btree_path_unlock() 266 struct btree_path *path; in btree_node_lock_increment() local 347 return btree_node_locked(path, path->level) in bch2_btree_path_relock() 359 btree_node_locked_type(path, level) != __btree_lock_want(path, level)); in bch2_btree_node_relock() 371 btree_node_locked_type(path, level) != __btree_lock_want(path, level)); in bch2_btree_node_relock_notrace() 411 EBUG_ON(!btree_node_locked(path, path->level)); in btree_path_set_should_be_locked() 412 EBUG_ON(path->uptodate); in btree_path_set_should_be_locked() [all …]
|
| H A D | btree_locking.c | 24 struct btree_path *path; in bch2_btree_node_lock_counts() local 34 if (path != skip && &path->l[level].b->c == b) { in bch2_btree_node_lock_counts() 472 f->b = path->l[l].b; in btree_path_get_locks() 581 for (l = path->level; in bch2_btree_path_relock_intent() 582 l < path->locks_want && btree_path_node(path, l); in bch2_btree_path_relock_intent() 663 if (linked != path && in __bch2_btree_path_upgrade() 690 (l = btree_path_highest_level_locked(path)) >= path->locks_want) { in __bch2_btree_path_downgrade() 718 if (path->ref) in bch2_trans_downgrade() 830 bch2_btree_node_unlock_write(trans, path, path->l[l].b); in bch2_trans_unlock_write() 855 btree_path_node(path, path->level) && in bch2_btree_path_verify_locks() [all …]
|
| H A D | btree_iter.c | 671 path = next_btree_path(trans, path)) in bch2_trans_node_add() 767 path->l[path->level].b = b; in btree_path_lock_root() 1178 !btree_node_locked(path, path->level)); in bch2_btree_path_traverse_one() 1187 ret = btree_path_node(path, path->level) in bch2_btree_path_traverse_one() 1202 path->l[path->level].b = ERR_PTR(ret); in bch2_btree_path_traverse_one() 1399 if (!dup && !(!path->preserve && !is_btree_node(path, path->level))) in bch2_path_put() 1511 if (!path->cached && btree_node_locked(path, path->level)) { in bch2_btree_path_to_text_short() 1891 if (btree_path_node(path, path->level)) in bch2_btree_iter_traverse() 1912 b = btree_path_node(path, path->level); in bch2_btree_iter_peek_node() 2015 b = path->l[path->level].b; in bch2_btree_iter_next_node() [all …]
|
| /linux-6.15/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-6.15/drivers/net/wireless/realtek/rtw89/ |
| H A D | rtw8852c_rfk.c | 157 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 1510 for (path = 0; path < RTW8852C_IQK_SS; path++) { in _iqk_init() 2722 for (path = 0; path < RTW8852C_DPK_RF_PATH; path++) in _dpk_cal_select() 3906 for (path = 0; path < 2; path++) { in _ctrl_bw() 3982 for (path = 0; path < 2; path++) { in _ctrl_ch() 3998 for (path = 0; path < 2; path++) { in _rxbb_bw() 4147 for (path = 0; path < 2; path++) in rtw8852c_rck() 4193 for (path = 0; path < 2; path++) { in _rx_dck() 4259 for (path = 0; path < RF_PATH_NUM_8852C; path++) { in rtw8852c_rx_dck_track() 4278 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() 589 path, BIT(path), tmp); in _iqk_read_xym_dbcc0() 1612 for (path = 0; path < RTW8852A_IQK_SS; path++) { in _iqk_init() 1736 for (path = 0; path < 2; path++) { in _rx_dck() 2635 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) in _dpk_cal_select() 2646 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2658 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2669 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_cal_select() 2706 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_force_bypass() 2753 for (path = 0; path < RTW8852A_DPK_RF_PATH; path++) { in _dpk_track() [all …]
|
| H A D | rtw8852b_rfk.c | 312 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _rx_dck() 1573 for (path = 0; path < RTW8852B_IQK_SS; path++) { in _iqk_init() 1590 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 2521 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) in _dpk_cal_select() 2527 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2537 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2545 for (path = 0; path < RTW8852B_DPK_RF_PATH; path++) { in _dpk_cal_select() 2614 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _dpk_track() 2720 for (path = 0; path < RF_PATH_NUM_8852B; path++) { in _set_dpd_backoff() 3759 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() 588 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _rx_dck() 1580 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _iqk_init() 1766 path, dpk->cur_idx[path], phy, in _dpk_information() 2465 for (path = 0; path < RF_PATH_NUM_8851B; path++) in _dpk_cal_select() 2468 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2480 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2486 path, dpk->cur_idx[path]); in _dpk_cal_select() 2496 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_cal_select() 2533 for (path = 0; path < RF_PATH_NUM_8851B; path++) { in _dpk_track() [all …]
|
| H A D | rtw8852bt_rfk.c | 387 for (path = 0; path < RF_PATH_NUM_8852BT; path++) { in _rx_dck() 1168 path, gp, 1 << path, iqk_info->nb_txcfir[path]); in _iqk_2g_tx() 1228 path, gp, 1 << path, iqk_info->nb_txcfir[path]); in _iqk_5g_tx() 1720 for (path = 0; path < RTW8852BT_SS; path++) { in _iqk_init() 1737 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 2683 for (path = 0; path < RTW8852BT_SS; path++) { in _dpk_force_bypass() 2700 for (path = 0; path < RF_PATH_NUM_8852BT; path++) { in _dpk_track() 2805 for (path = 0; path < RF_PATH_NUM_8852BT; path++) { in _set_dpd_backoff() 3820 for (path = 0; path < 2; path++) { in rtw8852bt_dpk_init() 3834 for (path = 0; path < RF_PATH_NUM_8852BT; path++) in rtw8852bt_rck() [all …]
|
| /linux-6.15/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() 1944 path[level].bp_ctxt.bh = path[level].bp_bh; in nilfs_btree_prepare_update_v() [all …]
|
| /linux-6.15/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-6.15/fs/btrfs/ |
| 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() 324 if (!path) in btrfs_insert_inode_ref() 332 ref = btrfs_find_name_in_backref(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 337 old_size = btrfs_item_size(path->nodes[0], path->slots[0]); in btrfs_insert_inode_ref() 339 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 357 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() [all …]
|
| H A D | file-item.c | 170 if (!path) in btrfs_insert_hole_extent() 296 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in search_csum_tree() 317 itemsize = btrfs_item_size(path->nodes[0], path->slots[0]); in search_csum_tree() 371 if (!path) in btrfs_lookup_bio_sums() 478 if (!path) in btrfs_lookup_csums_list() 551 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_list() 621 if (!path) { in btrfs_lookup_csums_bitmap() 623 if (!path) in btrfs_lookup_csums_bitmap() 704 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_bitmap() 887 if (!path) in btrfs_del_csums() [all …]
|
| H A D | free-space-tree.c | 124 return btrfs_item_ptr(path->nodes[0], path->slots[0], in search_free_space_info() 273 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in convert_free_space_to_bitmaps() 414 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in convert_free_space_to_extents() 732 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in remove_free_space_extent() 839 if (!path) { in remove_from_free_space_tree() 1032 if (!path) { in add_to_free_space_tree() 1072 if (!path) in populate_free_space_tree() 1224 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() 226 if (!path) in btrfs_find_orphan_roots() 325 if (!path) in btrfs_del_root() 355 if (!path) in btrfs_del_root_ref() [all …]
|
| /linux-6.15/fs/ext4/ |
| H A D | extents.c | 634 path[0].p_idx = EXT_FIRST_INDEX(path[0].p_hdr); in ext4_ext_precache() 1879 path[1].p_maxdepth = path[0].p_maxdepth; in ext4_ext_try_to_merge_up() 1880 memcpy(path[0].p_hdr, path[1].p_hdr, s); in ext4_ext_try_to_merge_up() 2995 memset(path + i + 1, 0, sizeof(*path)); in ext4_ext_remove_space() 5788 ex = path[path->p_depth].p_ext; in ext4_ext_replay_update_ex() 5809 ex = path[path->p_depth].p_ext; in ext4_ext_replay_update_ex() 5825 ex = path[path->p_depth].p_ext; in ext4_ext_replay_update_ex() 5853 ex = path[path->p_depth].p_ext; in ext4_ext_replay_shrink_inode() 5905 ex = path[path->p_depth].p_ext; in ext4_ext_replay_set_iblocks() 5942 ex = path[path->p_depth].p_ext; in ext4_ext_replay_set_iblocks() [all …]
|
| /linux-6.15/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() 680 for (i = 1, idx = path->second_step; i < path->nr_steps; i++, idx++) { in xchk_dirpath_is_stale() 744 kfree(path); in xchk_dirtree_reset() [all …]
|
| /linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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 …]
|