Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 2389) sorted by relevance

12345678910>>...96

/linux/drivers/video/fbdev/mmp/
H A Dcore.c16 static struct mmp_overlay *path_get_overlay(struct mmp_path *path, in path_get_overlay() argument
19 if (path && overlay_id < path->overlay_num) in path_get_overlay()
20 return &path->overlays[overlay_id]; in path_get_overlay()
24 static int path_check_status(struct mmp_path *path) in path_check_status() argument
27 for (i = 0; i < path->overlay_num; i++) in path_check_status()
28 if (path->overlays[i].status) in path_check_status()
41 static int path_get_modelist(struct mmp_path *path, in path_get_modelist() argument
44 BUG_ON(!path || !modelist); in path_get_modelist()
46 if (path in path_get_modelist()
74 struct mmp_path *path; mmp_register_panel() local
104 struct mmp_path *path; mmp_unregister_panel() local
130 struct mmp_path *path = NULL, *iter; mmp_get_path() local
155 struct mmp_path *path = NULL; mmp_register_path() local
215 mmp_unregister_path(struct mmp_path * path) mmp_unregister_path() argument
[all...]
/linux/tools/testing/selftests/openat2/
H A Dresolve_test.c
/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8852c_rfk.c153 u8 path; in _wait_rx_mode() local
157 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode()
158 if (!(kpath & BIT(path))) in _wait_rx_mode()
162 2, 5000, false, rtwdev, path, 0x00, in _wait_rx_mode()
166 path, ret); in _wait_rx_mode()
304 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path() argument
312 path_offset = (path == RF_PATH_A ? 0 : 0x28); in _dack_reload_by_path()
320 val32 |= dack->msbk_d[path][index][i + 12] << (i * 8); in _dack_reload_by_path()
329 val32 |= dack->msbk_d[path][index][i + 8] << (i * 8); in _dack_reload_by_path()
338 val32 |= dack->msbk_d[path][index][i + 4] << (i * 8); in _dack_reload_by_path()
[all …]
H A Drtw8852a_rfk.c94 u8 path; in _wait_rx_mode() local
98 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode()
99 if (!(kpath & BIT(path))) in _wait_rx_mode()
103 2, 5000, false, rtwdev, path, 0x00, in _wait_rx_mode()
107 path, ret); in _wait_rx_mode()
254 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path() argument
266 if (path == RF_PATH_A) in _dack_reload_by_path()
275 tmp |= dack->msbk_d[path][index][i + 12] << (i * 8); in _dack_reload_by_path()
283 tmp |= dack->msbk_d[path][index][i + 8] << (i * 8); in _dack_reload_by_path()
291 tmp |= dack->msbk_d[path][index][i + 4] << (i * 8); in _dack_reload_by_path()
[all …]
H A Drtw8852b_rfk.c236 enum rtw89_rf_path path, bool is_bybb) in _rfk_rf_direct_cntrl() argument
239 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x1); in _rfk_rf_direct_cntrl()
241 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x0); in _rfk_rf_direct_cntrl()
245 enum rtw89_rf_path path, bool is_bybb) in _rfk_drf_direct_cntrl() argument
248 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x1); in _rfk_drf_direct_cntrl()
250 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x0); in _rfk_drf_direct_cntrl()
253 static bool _iqk_check_cal(struct rtw89_dev *rtwdev, u8 path) in _iqk_check_cal() argument
270 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[IQK]S%x, ret=%d\n", path, ret); in _iqk_check_cal()
272 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[IQK]S%x, 0x8008 = 0x%x\n", path, val); in _iqk_check_cal()
296 enum rtw89_rf_path path) in _set_rx_dck() argument
[all …]
H A Drtw8851b_rfk.c151 u8 path) in _adc_fifo_rst() argument
159 enum rtw89_rf_path path, bool is_bybb) in _rfk_rf_direct_cntrl() argument
162 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x1); in _rfk_rf_direct_cntrl()
164 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x0); in _rfk_rf_direct_cntrl()
168 enum rtw89_rf_path path, bool is_bybb) in _rfk_drf_direct_cntrl() argument
171 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x1); in _rfk_drf_direct_cntrl()
173 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x0); in _rfk_drf_direct_cntrl()
176 static void _txck_force(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, in _txck_force() argument
179 rtw89_phy_write32_mask(rtwdev, R_P0_RXCK | (path << 13), B_P0_TXCK_ON, 0x0); in _txck_force()
184 rtw89_phy_write32_mask(rtwdev, R_P0_RXCK | (path << 1 in _txck_force()
188 _rxck_force(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool force,enum adc_ck ck) _rxck_force() argument
224 u8 path; _wait_rx_mode() local
240 _dack_reset(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dack_reset() argument
323 _dack_reload_by_path(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 index) _dack_reload_by_path() argument
394 _dack_reload(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dack_reload() argument
579 _rx_dck_info(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,bool is_afe,enum rtw89_chanctx_idx chanctx_idx) _rx_dck_info() argument
594 _rxbb_ofst_swap(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 rf_mode) _rxbb_ofst_swap() argument
613 _set_rx_dck(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 rf_mode) _set_rx_dck() argument
637 u8 path; _rx_dck() local
665 _iqk_sram(struct rtw89_dev * rtwdev,u8 path) _iqk_sram() argument
695 _iqk_rxk_setting(struct rtw89_dev * rtwdev,u8 path) _iqk_rxk_setting() argument
702 _iqk_check_cal(struct rtw89_dev * rtwdev,u8 path) _iqk_check_cal() argument
739 _iqk_one_shot(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path,u8 ktype) _iqk_one_shot() argument
825 _rxk_2g_group_sel(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _rxk_2g_group_sel() argument
894 _rxk_5g_group_sel(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _rxk_5g_group_sel() argument
988 _iqk_5g_nbrxk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_5g_nbrxk() argument
1072 _iqk_2g_nbrxk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_2g_nbrxk() argument
1132 _iqk_rxclk_setting(struct rtw89_dev * rtwdev,u8 path) _iqk_rxclk_setting() argument
1178 _txk_5g_group_sel(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _txk_5g_group_sel() argument
1233 _txk_2g_group_sel(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _txk_2g_group_sel() argument
1285 _iqk_5g_nbtxk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_5g_nbtxk() argument
1329 _iqk_2g_nbtxk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_2g_nbtxk() argument
1374 _iqk_2g_lok(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_2g_lok() argument
1427 _iqk_5g_lok(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_5g_lok() argument
1480 _iqk_txk_setting(struct rtw89_dev * rtwdev,u8 path) _iqk_txk_setting() argument
1501 _iqk_by_path(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_by_path() argument
1617 _iqk_get_ch_info(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,u8 path,enum rtw89_chanctx_idx chanctx_idx) _iqk_get_ch_info() argument
1642 _iqk_start_iqk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_start_iqk() argument
1647 _iqk_restore(struct rtw89_dev * rtwdev,u8 path) _iqk_restore() argument
1667 _iqk_afebb_restore(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_afebb_restore() argument
1672 _iqk_preset(struct rtw89_dev * rtwdev,u8 path) _iqk_preset() argument
1682 _iqk_macbb_setting(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy_idx,u8 path) _iqk_macbb_setting() argument
1700 u8 idx, path; _iqk_init() local
1728 _doiqk(struct rtw89_dev * rtwdev,bool force,enum rtw89_phy_idx phy_idx,u8 path,enum rtw89_chanctx_idx chanctx_idx) _doiqk() argument
1768 _dpk_bkup_kip(struct rtw89_dev * rtwdev,const u32 * reg,u32 reg_bkup[][DPK_KIP_REG_NUM_8851B],u8 path) _dpk_bkup_kip() argument
1782 _dpk_bkup_rf(struct rtw89_dev * rtwdev,const u32 * rf_reg,u32 rf_bkup[][DPK_RF_REG_NUM_8851B],u8 path) _dpk_bkup_rf() argument
1795 _dpk_reload_kip(struct rtw89_dev * rtwdev,const u32 * reg,u32 reg_bkup[][DPK_KIP_REG_NUM_8851B],u8 path) _dpk_reload_kip() argument
1810 _dpk_reload_rf(struct rtw89_dev * rtwdev,const u32 * rf_reg,u32 rf_bkup[][DPK_RF_REG_NUM_8851B],u8 path) _dpk_reload_rf() argument
1824 _dpk_one_shot(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,enum dpk_id id) _dpk_one_shot() argument
1863 _dpk_onoff(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool off) _dpk_onoff() argument
1880 _dpk_init(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dpk_init() argument
1890 _dpk_information(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,enum rtw89_chanctx_idx chanctx_idx) _dpk_information() argument
1914 _dpk_rxagc_onoff(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool turn_on) _dpk_rxagc_onoff() argument
1926 _dpk_bb_afe_setting(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dpk_bb_afe_setting() argument
1956 _dpk_bb_afe_restore(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dpk_bb_afe_restore() argument
1971 _dpk_tssi_pause(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool is_pause) _dpk_tssi_pause() argument
1982 _dpk_tssi_slope_k_onoff(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool is_on) _dpk_tssi_slope_k_onoff() argument
1992 _dpk_tpg_sel(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 kidx) _dpk_tpg_sel() argument
2013 _dpk_txpwr_bb_force(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool force) _dpk_txpwr_bb_force() argument
2035 _dpk_kip_control_rfc(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,bool ctrl_by_kip) _dpk_kip_control_rfc() argument
2042 _dpk_kip_preset(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_kip_preset() argument
2054 _dpk_kip_restore(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_kip_restore() argument
2063 _dpk_kset_query(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dpk_kset_query() argument
2073 _dpk_para_query(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 kidx) _dpk_para_query() argument
2100 _dpk_sync_check(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 kidx) _dpk_sync_check() argument
2148 _dpk_kip_set_txagc(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 dbm,bool set_from_bb) _dpk_kip_set_txagc() argument
2165 _dpk_kip_set_rxagc(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_kip_set_rxagc() argument
2177 _dpk_lbk_rxiqk(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_lbk_rxiqk() argument
2222 _dpk_rf_setting(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 kidx) _dpk_rf_setting() argument
2244 _dpk_bypass_rxiqc(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _dpk_bypass_rxiqc() argument
2278 _dpk_gainloss(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_gainloss() argument
2336 _dpk_agc(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx,u8 init_xdbm,u8 loss_only) _dpk_agc() argument
2475 _dpk_idl_mpa(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_idl_mpa() argument
2518 _dpk_gain_normalize(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx,bool is_execute) _dpk_gain_normalize() argument
2550 _dpk_on(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,u8 kidx) _dpk_on() argument
2572 _dpk_main(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _dpk_main() argument
2617 u8 path; _dpk_cal_select() local
2684 u8 path, kidx; _dpk_track() local
2745 _rck(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _rck() argument
2781 _tssi_set_sys(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,const struct rtw89_chan * chan) _tssi_set_sys() argument
2794 _tssi_ini_txpwr_ctrl_bb(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_ini_txpwr_ctrl_bb() argument
2801 _tssi_ini_txpwr_ctrl_bb_he_tb(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_ini_txpwr_ctrl_bb_he_tb() argument
2807 _tssi_set_dck(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_dck() argument
2813 _tssi_set_tmeter_tbl(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,const struct rtw89_chan * chan) _tssi_set_tmeter_tbl() argument
2915 _tssi_set_dac_gain_tbl(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_dac_gain_tbl() argument
2921 _tssi_slope_cal_org(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,const struct rtw89_chan * chan) _tssi_slope_cal_org() argument
2931 _tssi_alignment_default(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,bool all,const struct rtw89_chan * chan) _tssi_alignment_default() argument
2942 _tssi_set_tssi_slope(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_tssi_slope() argument
2948 _tssi_set_tssi_track(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_tssi_track() argument
2955 _tssi_set_txagc_offset_mv_avg(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path) _tssi_set_txagc_offset_mv_avg() argument
3109 _tssi_get_ofdm_de(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,const struct rtw89_chan * chan) _tssi_get_ofdm_de() argument
3144 _tssi_get_ofdm_trim_de(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,const struct rtw89_chan * chan) _tssi_get_ofdm_trim_de() argument
3235 _tssi_alimentk_dump_result(struct rtw89_dev * rtwdev,enum rtw89_rf_path path) _tssi_alimentk_dump_result() argument
3259 _tssi_alimentk_done(struct rtw89_dev * rtwdev,enum rtw89_phy_idx phy,enum rtw89_rf_path path,const struct rtw89_chan * chan) _tssi_alimentk_done() argument
3569 _bw_setting(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,enum rtw89_bandwidth bw,bool dav) _bw_setting() argument
3695 _ch_setting(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 central_ch,bool dav) _ch_setting() argument
3738 _set_rxbb_bw(struct rtw89_dev * rtwdev,enum rtw89_bandwidth bw,enum rtw89_rf_path path) _set_rxbb_bw() argument
3761 u8 kpath, path; _rxbb_bw() local
[all...]
/linux/tools/testing/selftests/filesystems/openat2/
H A Dresolve_test.c23 const char *path; member
28 const char *path; member
55 fd = sys_openat2(dfd, test->path, &how); in verify_resolve_test()
63 EXPECT_TRUE(fdequal(_metadata, fd, rootfd, test->out.path)) { in verify_resolve_test()
67 test->out.path ?: "."); in verify_resolve_test()
224 .path = "/", .how.resolve = RESOLVE_BENEATH, in TEST_F()
227 .path = "cheeky/absself", .how.resolve = RESOLVE_BENEATH, in TEST_F()
230 .path = "abscheeky/absself", .how.resolve = RESOLVE_BENEATH, in TEST_F()
233 .path = "..", .how.resolve = RESOLVE_BENEATH, in TEST_F()
236 .path = "../root/", .how.resolve = RESOLVE_BENEATH, in TEST_F()
[all …]
/linux/fs/btrfs/
H A Dfile-item.c166 BTRFS_PATH_AUTO_FREE(path); in btrfs_insert_hole_extent()
169 path = btrfs_alloc_path(); in btrfs_insert_hole_extent()
170 if (!path) in btrfs_insert_hole_extent()
177 ret = btrfs_insert_empty_item(trans, root, path, &file_key, in btrfs_insert_hole_extent()
181 leaf = path->nodes[0]; in btrfs_insert_hole_extent()
182 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_hole_extent()
201 struct btrfs_path *path, in btrfs_lookup_csum() argument
217 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
220 leaf = path->nodes[0]; in btrfs_lookup_csum()
223 if (path in btrfs_lookup_csum()
254 btrfs_lookup_file_extent(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,u64 objectid,u64 offset,int mod) btrfs_lookup_file_extent() argument
278 search_csum_tree(struct btrfs_fs_info * fs_info,struct btrfs_path * path,u64 disk_bytenr,u64 len,u8 * dst) search_csum_tree() argument
532 struct btrfs_path *path; btrfs_lookup_csums_list() local
671 btrfs_lookup_csums_bitmap(struct btrfs_root * root,struct btrfs_path * path,u64 start,u64 end,u8 * csum_buf,unsigned long * csum_bitmap) btrfs_lookup_csums_bitmap() argument
903 truncate_one_csum(struct btrfs_trans_handle * trans,struct btrfs_path * path,struct btrfs_key * key,u64 bytenr,u64 len) truncate_one_csum() argument
1096 find_next_csum_offset(struct btrfs_root * root,struct btrfs_path * path,u64 * next_offset) find_next_csum_offset() argument
1348 btrfs_extent_item_to_extent_map(struct btrfs_inode * inode,const struct btrfs_path * path,const struct btrfs_file_extent_item * fi,struct extent_map * em) btrfs_extent_item_to_extent_map() argument
1415 btrfs_file_extent_end(const struct btrfs_path * path) btrfs_file_extent_end() argument
[all...]
H A Dfree-space-tree.c22 struct btrfs_path *path);
70 struct btrfs_path *path) in add_new_free_space_info() argument
82 ret = btrfs_insert_empty_item(trans, root, path, &key, sizeof(*info)); in add_new_free_space_info()
86 leaf = path->nodes[0]; in add_new_free_space_info()
87 info = btrfs_item_ptr(leaf, path->slots[0], in add_new_free_space_info()
91 btrfs_release_path(path); in add_new_free_space_info()
98 struct btrfs_path *path, int cow) in btrfs_search_free_space_info() argument
109 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in btrfs_search_free_space_info()
119 return btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_search_free_space_info()
199 struct btrfs_path *path) in btrfs_convert_free_space_to_bitmaps() argument
[all …]
H A Dctree.c31 *root, struct btrfs_path *path, int level);
33 const struct btrfs_key *ins_key, struct btrfs_path *path,
146 /* this also releases the path */
156 * path release drops references on the extent buffers in the path
157 * and it drops any locks held by this path
847 * @path: Path holding nodes and locks
853 * that child to become the new root and freeing the old root node. The path
860 struct btrfs_root *root, struct btrfs_path *path, in promote_child_to_root() argument
892 path in promote_child_to_root()
918 balance_level(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,int level) balance_level() argument
1143 push_nodes_for_insert(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,int level) push_nodes_for_insert() argument
1293 reada_for_search(struct btrfs_fs_info * fs_info,const struct btrfs_path * path,int level,int slot,u64 objectid) reada_for_search() argument
1375 reada_for_balance(const struct btrfs_path * path,int level) reada_for_balance() argument
1408 unlock_up(struct btrfs_path * path,int level,int lowest_unlock,int min_write_lock_level,int * write_lock_level) unlock_up() argument
1661 btrfs_find_item(struct btrfs_root * fs_root,struct btrfs_path * path,u64 iobjectid,u64 ioff,u8 key_type,struct btrfs_key * found_key) btrfs_find_item() argument
1790 finish_need_commit_sem_search(struct btrfs_path * path) finish_need_commit_sem_search() argument
1839 search_leaf(struct btrfs_trans_handle * trans,struct btrfs_root * root,const struct btrfs_key * key,struct btrfs_path * path,int ins_len,int prev_cmp) search_leaf() argument
2372 btrfs_prev_leaf(struct btrfs_root * root,struct btrfs_path * path) btrfs_prev_leaf() argument
2528 btrfs_search_backwards(struct btrfs_root * root,struct btrfs_key * key,struct btrfs_path * path) btrfs_search_backwards() argument
2554 btrfs_get_next_valid_item(struct btrfs_root * root,struct btrfs_key * key,struct btrfs_path * path) btrfs_get_next_valid_item() argument
2577 fixup_low_keys(struct btrfs_trans_handle * trans,const struct btrfs_path * path,const struct btrfs_disk_key * key,int level) fixup_low_keys() argument
2607 btrfs_set_item_key_safe(struct btrfs_trans_handle * trans,const struct btrfs_path * path,const struct btrfs_key * new_key) btrfs_set_item_key_safe() argument
2869 insert_new_root(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,int level) insert_new_root() argument
2939 insert_ptr(struct btrfs_trans_handle * trans,const struct btrfs_path * path,const struct btrfs_disk_key * key,u64 bytenr,int slot,int level) insert_ptr() argument
2996 split_node(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,int level) split_node() argument
3130 __push_leaf_right(struct btrfs_trans_handle * trans,struct btrfs_path * path,int data_size,bool empty,struct extent_buffer * right,int free_space,u32 left_nritems,u32 min_slot) __push_leaf_right() argument
3264 push_leaf_right(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,int min_data_size,int data_size,bool empty,u32 min_slot) push_leaf_right() argument
3342 __push_leaf_left(struct btrfs_trans_handle * trans,struct btrfs_path * path,int data_size,bool empty,struct extent_buffer * left,int free_space,u32 right_nritems,u32 max_slot) __push_leaf_left() argument
3481 push_leaf_left(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,int min_data_size,int data_size,int empty,u32 max_slot) push_leaf_left() argument
3543 copy_for_split(struct btrfs_trans_handle * trans,struct btrfs_path * path,struct extent_buffer * l,struct extent_buffer * right,int slot,int mid,int nritems) copy_for_split() argument
3611 push_for_double_split(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,int data_size) push_for_double_split() argument
3672 split_leaf(struct btrfs_trans_handle * trans,struct btrfs_root * root,const struct btrfs_key * ins_key,struct btrfs_path * path,int data_size,bool extend) split_leaf() argument
3856 setup_leaf_for_split(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,int ins_len) setup_leaf_for_split() argument
3922 split_item(struct btrfs_trans_handle * trans,struct btrfs_path * path,const struct btrfs_key * new_key,unsigned long split_offset) split_item() argument
4005 btrfs_split_item(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,const struct btrfs_key * new_key,unsigned long split_offset) btrfs_split_item() argument
4025 btrfs_truncate_item(struct btrfs_trans_handle * trans,const struct btrfs_path * path,u32 new_size,int from_end) btrfs_truncate_item() argument
4115 btrfs_extend_item(struct btrfs_trans_handle * trans,const struct btrfs_path * path,u32 data_size) btrfs_extend_item() argument
4182 setup_items_for_insert(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,const struct btrfs_item_batch * batch) setup_items_for_insert() argument
4278 btrfs_setup_item_for_insert(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,const struct btrfs_key * key,u32 data_size) btrfs_setup_item_for_insert() argument
4302 btrfs_insert_empty_items(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,const struct btrfs_item_batch * batch) btrfs_insert_empty_items() argument
4359 btrfs_duplicate_item(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,const struct btrfs_key * new_key) btrfs_duplicate_item() argument
4392 btrfs_del_ptr(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,int level,int slot) btrfs_del_ptr() argument
4450 btrfs_del_leaf(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,struct extent_buffer * leaf) btrfs_del_leaf() argument
4481 btrfs_del_items(struct btrfs_trans_handle * trans,struct btrfs_root * root,struct btrfs_path * path,int slot,int nr) btrfs_del_items() argument
4621 btrfs_search_forward(struct btrfs_root * root,struct btrfs_key * min_key,struct btrfs_path * path,u64 min_trans) btrfs_search_forward() argument
4727 btrfs_find_next_key(struct btrfs_root * root,struct btrfs_path * path,struct btrfs_key * key,int level,u64 min_trans) btrfs_find_next_key() argument
4792 btrfs_next_old_leaf(struct btrfs_root * root,struct btrfs_path * path,u64 time_seq) btrfs_next_old_leaf() argument
4988 btrfs_next_old_item(struct btrfs_root * root,struct btrfs_path * path,u64 time_seq) btrfs_next_old_item() argument
5003 btrfs_previous_item(struct btrfs_root * root,struct btrfs_path * path,u64 min_objectid,int type) btrfs_previous_item() argument
5045 btrfs_previous_extent_item(struct btrfs_root * root,struct btrfs_path * path,u64 min_objectid) btrfs_previous_extent_item() argument
[all...]
H A Droot-tree.c57 * path: the path we search
68 struct btrfs_path *path, struct btrfs_root_item *root_item, in btrfs_find_root() argument
76 ret = btrfs_search_slot(NULL, root, search_key, path, 0, 0); in btrfs_find_root()
92 if (path->slots[0] == 0) in btrfs_find_root()
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()
113 btrfs_release_path(path); in btrfs_find_root()
133 BTRFS_PATH_AUTO_FREE(path); in btrfs_update_root()
[all...]
/linux/fs/ext4/
H A Dextents.c46 struct ext4_ext_path *path, int flags, unsigned int *allocated);
87 struct ext4_ext_path *path,
105 static inline void ext4_ext_path_brelse(struct ext4_ext_path *path) in ext4_ext_path_brelse() argument
107 brelse(path->p_bh); in ext4_ext_path_brelse()
108 path->p_bh = NULL; in ext4_ext_path_brelse()
111 static void ext4_ext_drop_refs(struct ext4_ext_path *path) in ext4_ext_drop_refs() argument
115 if (IS_ERR_OR_NULL(path)) in ext4_ext_drop_refs()
117 depth = path->p_depth; in ext4_ext_drop_refs()
118 for (i = 0; i <= depth; i++, path++) in ext4_ext_drop_refs()
119 ext4_ext_path_brelse(path); in ext4_ext_drop_refs()
122 ext4_free_ext_path(struct ext4_ext_path * path) ext4_free_ext_path() argument
158 ext4_ext_get_access(handle_t * handle,struct inode * inode,struct ext4_ext_path * path) ext4_ext_get_access() argument
189 __ext4_ext_dirty(const char * where,unsigned int line,handle_t * handle,struct inode * inode,struct ext4_ext_path * path) __ext4_ext_dirty() argument
212 ext4_ext_dirty(handle,inode,path) global() argument
216 ext4_ext_find_goal(struct inode * inode,struct ext4_ext_path * path,ext4_lblk_t block) ext4_ext_find_goal() argument
266 ext4_ext_new_meta_block(handle_t * handle,struct inode * inode,struct ext4_ext_path * path,struct ext4_extent * ex,int * err,unsigned int flags) ext4_ext_new_meta_block() argument
333 ext4_force_split_extent_at(handle_t * handle,struct inode * inode,struct ext4_ext_path * path,ext4_lblk_t lblk,int nofail) ext4_force_split_extent_at() argument
606 struct ext4_ext_path *path = NULL; ext4_ext_precache() local
666 ext4_ext_show_path(struct inode * inode,struct ext4_ext_path * path) ext4_ext_show_path() argument
688 ext4_ext_show_leaf(struct inode * inode,struct ext4_ext_path * path) ext4_ext_show_leaf() argument
711 ext4_ext_show_move(struct inode * inode,struct ext4_ext_path * path,ext4_fsblk_t newblock,int level) ext4_ext_show_move() argument
743 ext4_ext_show_path(inode,path) global() argument
744 ext4_ext_show_leaf(inode,path) global() argument
745 ext4_ext_show_move(inode,path,newblock,level) global() argument
755 ext4_ext_binsearch_idx(struct inode * inode,struct ext4_ext_path * path,ext4_lblk_t block) ext4_ext_binsearch_idx() argument
816 ext4_ext_binsearch(struct inode * inode,struct ext4_ext_path * path,ext4_lblk_t block) ext4_ext_binsearch() argument
887 ext4_find_extent(struct inode * inode,ext4_lblk_t block,struct ext4_ext_path * path,int flags) ext4_find_extent() argument
1055 ext4_ext_split(handle_t * handle,struct inode * inode,unsigned int flags,struct ext4_ext_path * path,struct ext4_extent * newext,int at) ext4_ext_split() argument
1402 ext4_ext_create_new_leaf(handle_t * handle,struct inode * inode,unsigned int mb_flags,unsigned int gb_flags,struct ext4_ext_path * path,struct ext4_extent * newext) ext4_ext_create_new_leaf() argument
1468 ext4_ext_search_left(struct inode * inode,struct ext4_ext_path * path,ext4_lblk_t * logical,ext4_fsblk_t * phys) ext4_ext_search_left() argument
1532 ext4_ext_search_right(struct inode * inode,struct ext4_ext_path * path,ext4_lblk_t * logical,ext4_fsblk_t * phys,struct ext4_extent * ret_ex,int flags) ext4_ext_search_right() argument
1640 ext4_ext_next_allocated_block(struct ext4_ext_path * path) ext4_ext_next_allocated_block() argument
1672 ext4_ext_next_leaf_block(struct ext4_ext_path * path) ext4_ext_next_leaf_block() argument
1704 ext4_ext_correct_indexes(handle_t * handle,struct inode * inode,struct ext4_ext_path * path) ext4_ext_correct_indexes() argument
1826 ext4_ext_try_to_merge_right(struct inode * inode,struct ext4_ext_path * path,struct ext4_extent * ex) ext4_ext_try_to_merge_right() argument
1868 ext4_ext_try_to_merge_up(handle_t * handle,struct inode * inode,struct ext4_ext_path * path) ext4_ext_try_to_merge_up() argument
1914 ext4_ext_try_to_merge(handle_t * handle,struct inode * inode,struct ext4_ext_path * path,struct ext4_extent * ex) ext4_ext_try_to_merge() argument
1945 ext4_ext_check_overlap(struct ext4_sb_info * sbi,struct inode * inode,struct ext4_extent * newext,struct ext4_ext_path * path) ext4_ext_check_overlap() argument
1993 ext4_ext_insert_extent(handle_t * handle,struct inode * inode,struct ext4_ext_path * path,struct ext4_extent * newext,int gb_flags) ext4_ext_insert_extent() argument
2281 ext4_ext_find_hole(struct inode * inode,struct ext4_ext_path * path,ext4_lblk_t * lblk) ext4_ext_find_hole() argument
2314 ext4_ext_rm_idx(handle_t * handle,struct inode * inode,struct ext4_ext_path * path,int depth) ext4_ext_rm_idx() argument
2380 ext4_ext_calc_credits_for_single_extent(struct inode * inode,int nrblocks,struct ext4_ext_path * path) ext4_ext_calc_credits_for_single_extent() argument
2623 ext4_ext_rm_leaf(handle_t * handle,struct inode * inode,struct ext4_ext_path * path,struct partial_cluster * partial,ext4_lblk_t start,ext4_lblk_t end) ext4_ext_rm_leaf() argument
2829 ext4_ext_more_to_rm(struct ext4_ext_path * path) ext4_ext_more_to_rm() argument
2850 struct ext4_ext_path *path = NULL; ext4_ext_remove_space() local
3201 ext4_split_extent_at(handle_t * handle,struct inode * inode,struct ext4_ext_path * path,ext4_lblk_t split,int flags) ext4_split_extent_at() argument
3315 ext4_split_extent_zeroout(handle_t * handle,struct inode * inode,struct ext4_ext_path * path,struct ext4_map_blocks * map,int flags) ext4_split_extent_zeroout() argument
3419 ext4_split_extent(handle_t * handle,struct inode * inode,struct ext4_ext_path * path,struct ext4_map_blocks * map,int split_flag,int flags,unsigned int * allocated,bool * did_zeroout) ext4_split_extent() argument
3566 ext4_ext_convert_to_initialized(handle_t * handle,struct inode * inode,struct ext4_map_blocks * map,struct ext4_ext_path * path,int flags,unsigned int * allocated) ext4_ext_convert_to_initialized() argument
3827 ext4_split_convert_extents(handle_t * handle,struct inode * inode,struct ext4_map_blocks * map,struct ext4_ext_path * path,int flags,unsigned int * allocated) ext4_split_convert_extents() argument
3924 ext4_convert_unwritten_extents_endio(handle_t * handle,struct inode * inode,struct ext4_map_blocks * map,struct ext4_ext_path * path,int flags) ext4_convert_unwritten_extents_endio() argument
3946 convert_initialized_extent(handle_t * handle,struct inode * inode,struct ext4_map_blocks * map,struct ext4_ext_path * path,int flags,unsigned int * allocated) convert_initialized_extent() argument
4002 ext4_ext_handle_unwritten_extents(handle_t * handle,struct inode * inode,struct ext4_map_blocks * map,struct ext4_ext_path * path,int flags,unsigned int * allocated,ext4_fsblk_t newblock) ext4_ext_handle_unwritten_extents() argument
4134 get_implied_cluster_alloc(struct super_block * sb,struct ext4_map_blocks * map,struct ext4_extent * ex,struct ext4_ext_path * path) get_implied_cluster_alloc() argument
4200 ext4_ext_determine_insert_hole(struct inode * inode,struct ext4_ext_path * path,ext4_lblk_t lblk) ext4_ext_determine_insert_hole() argument
4280 struct ext4_ext_path *path = NULL; ext4_ext_map_blocks() local
5396 ext4_ext_shift_path_extents(struct ext4_ext_path * path,ext4_lblk_t shift,struct inode * inode,handle_t * handle,enum SHIFT_DIRECTION SHIFT) ext4_ext_shift_path_extents() argument
5498 struct ext4_ext_path *path; ext4_ext_shift_extents() local
5744 struct ext4_ext_path *path; ext4_insert_range() local
6063 struct ext4_ext_path *path; ext4_clu_mapped() local
6142 struct ext4_ext_path *path; ext4_ext_replay_update_ex() local
6206 struct ext4_ext_path *path = NULL; ext4_ext_replay_shrink_inode() local
6254 struct ext4_ext_path *path = NULL, *path2 = NULL; ext4_ext_replay_set_iblocks() local
6341 struct ext4_ext_path *path = NULL; ext4_ext_clear_bb() local
6400 ext4_split_convert_extents_test(handle_t * handle,struct inode * inode,struct ext4_map_blocks * map,struct ext4_ext_path * path,int flags,unsigned int * allocated) ext4_split_convert_extents_test() argument
[all...]
/linux/tools/power/cpupower/utils/helpers/
H A Dmisc.c23 char path[SYSFS_PATH_MAX]; in cpufreq_has_x86_boost_support() local
51 snprintf(path, sizeof(path), PATH_TO_CPU "intel_pstate/no_turbo"); in cpufreq_has_x86_boost_support()
53 if (!is_valid_path(path)) in cpufreq_has_x86_boost_support()
56 if (cpupower_read_sysfs(path, linebuf, MAX_LINE_LEN) == 0) in cpufreq_has_x86_boost_support()
70 char path[SYSFS_PATH_MAX]; in cpupower_set_intel_turbo_boost() local
73 snprintf(path, sizeof(path), PATH_TO_CPU "intel_pstate/no_turbo"); in cpupower_set_intel_turbo_boost()
76 if (!is_valid_path(path)) in cpupower_set_intel_turbo_boost()
81 if (cpupower_write_sysfs(path, linebuf, 2) <= 0) in cpupower_set_intel_turbo_boost()
90 char path[SYSFS_PATH_MAX]; in cpupower_intel_get_perf_bias() local
97 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_get_perf_bias()
[all …]
/linux/fs/xfs/scrub/
H A Ddirtree.c51 * to detect a race. If a race occurs in a path, we restart the scan.
53 * If the walk terminates without reaching the root, we know the path is
73 struct xchk_dirpath *path, *n; in xchk_dirtree_buf_cleanup() local
78 xchk_dirtree_for_each_path_safe(dl, path, n) { in xchk_dirtree_buf_cleanup()
79 list_del_init(&path->list); in xchk_dirtree_buf_cleanup()
80 xino_bitmap_destroy(&path->seen_inodes); in xchk_dirtree_buf_cleanup()
81 kfree(path); in xchk_dirtree_buf_cleanup()
122 error = xfarray_create("dirtree path steps", 0, in xchk_setup_dirtree()
127 error = xfblob_create("dirtree path names", &dl->path_names); in xchk_setup_dirtree()
150 * Add the parent pointer described by @dl->pptr to the given path a
157 xchk_dirpath_append(struct xchk_dirtree * dl,struct xfs_inode * ip,struct xchk_dirpath * path,const struct xfs_name * name,const struct xfs_parent_rec * pptr) xchk_dirpath_append() argument
216 struct xchk_dirpath *path; xchk_dirtree_create_path() local
280 xchk_dirpath_revalidate(struct xchk_dirtree * dl,struct xchk_dirpath * path) xchk_dirpath_revalidate() argument
347 xchk_dirpath_set_outcome(struct xchk_dirtree * dl,struct xchk_dirpath * path,enum xchk_dirpath_outcome outcome) xchk_dirpath_set_outcome() argument
365 xchk_dirpath_step_up(struct xchk_dirtree * dl,struct xchk_dirpath * path,bool is_metadir) xchk_dirpath_step_up() argument
543 xchk_dirpath_walk_upwards(struct xchk_dirtree * dl,struct xchk_dirpath * path) xchk_dirpath_walk_upwards() argument
621 xchk_dirpath_step_is_stale(struct xchk_dirtree * dl,struct xchk_dirpath * path,unsigned int step_nr,xfarray_idx_t step_idx,struct xfs_dir_update_params * p,xfs_ino_t * cursor) xchk_dirpath_step_is_stale() argument
687 xchk_dirpath_is_stale(struct xchk_dirtree * dl,struct xchk_dirpath * path,struct xfs_dir_update_params * p) xchk_dirpath_is_stale() argument
727 struct xchk_dirpath *path; xchk_dirtree_live_update() local
763 struct xchk_dirpath *path, *n; xchk_dirtree_reset() local
787 xchk_dirtree_load_path(struct xchk_dirtree * dl,struct xchk_dirpath * path) xchk_dirtree_load_path() argument
817 struct xchk_dirpath *path; xchk_dirtree_find_paths_to_root() local
889 struct xchk_dirpath *path; xchk_dirtree_evaluate() local
[all...]
/linux/security/tomoyo/
H A Dtomoyo.c121 static int tomoyo_inode_getattr(const struct path *path) in tomoyo_inode_getattr() argument
123 return tomoyo_path_perm(TOMOYO_TYPE_GETATTR, path, NULL); in tomoyo_inode_getattr()
133 static int tomoyo_path_truncate(const struct path *path) in tomoyo_path_truncate() argument
135 return tomoyo_path_perm(TOMOYO_TYPE_TRUNCATE, path, NULL); in tomoyo_path_truncate()
158 static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry) in tomoyo_path_unlink()
160 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_unlink() local
162 return tomoyo_path_perm(TOMOYO_TYPE_UNLINK, &path, NULL); in tomoyo_path_unlink()
174 static int tomoyo_path_mkdir(const struct path *parent, struct dentry *dentry, in tomoyo_path_mkdir()
177 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_mkdir() local
179 return tomoyo_path_number_perm(TOMOYO_TYPE_MKDIR, &path, in tomoyo_path_mkdir()
[all …]
/linux/tools/perf/util/
H A Dtrace-event-info.c90 char *path = get_events_file("header_page"); in record_header_files() local
94 if (!path) { in record_header_files()
99 if (stat(path, &st) < 0) { in record_header_files()
100 pr_debug("can't read '%s'", path); in record_header_files()
109 if (record_file(path, 8) < 0) { in record_header_files()
114 put_events_file(path); in record_header_files()
116 path = get_events_file("header_event"); in record_header_files()
117 if (!path) { in record_header_files()
123 if (stat(path, &st) < 0) { in record_header_files()
124 pr_debug("can't read '%s'", path); in record_header_files()
[all …]
H A Ddata.c34 zfree(&file->path); in perf_data__close_dir()
68 ret = asprintf(&file->path, "%s/data.%d", data->path, i); in perf_data__create_dir()
75 ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR); in perf_data__create_dir()
125 dir = opendir(data->path); in perf_data__open_dir()
131 char path[PATH_MAX]; in perf_data__open_dir()
134 snprintf(path, sizeof(path), "%s/%s", data->path, dent->d_name); in perf_data__open_dir()
135 if (stat(path, in perf_data__open_dir()
116 char path[PATH_MAX]; perf_data__open_dir() local
471 has_kcore_dir(const char * path) has_kcore_dir() argument
528 is_perf_data(const char * path) is_perf_data() argument
[all...]
/linux/Documentation/sphinx/
H A Dkernel_include.py86 import os.path
99 srctree = os.path.abspath(os.environ["srctree"])
100 sys.path.insert(0, os.path.join(srctree, "tools/lib/python"))
155 def read_rawtext(self, path, encoding): argument
158 self.state.document.settings.record_dependencies.add(path)
159 include_file = io.FileInput(source_path=path,
165 '(wrong locale?).' % path)
210 def xref_text(self, env, path, tab_width): argument
221 source_dir = os.path.dirname(os.path.abspath(
224 exceptions_file = os.path.join(source_dir, self.options['exception-file'])
[all …]
/linux/include/net/iucv/
H A Diucv.h212 struct iucv_path *path; in iucv_path_alloc() local
214 path = kzalloc_obj(struct iucv_path, gfp); in iucv_path_alloc()
215 if (path) { in iucv_path_alloc()
216 path->msglim = msglim; in iucv_path_alloc()
217 path->flags = flags; in iucv_path_alloc()
219 return path; in iucv_path_alloc()
226 static inline void iucv_path_free(struct iucv_path *path) in iucv_path_free() argument
228 kfree(path); in iucv_path_free()
231 int iucv_path_accept(struct iucv_path *path, struct iucv_handler *handler,
234 int iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler,
[all …]
/linux/tools/testing/selftests/mm/
H A Dthp_settings.c
/linux/tools/verification/rvgen/rvgen/
H A Dgenerator.py55 def _read_file(self, path):
56 with open(path, 'r') as fd:
62 path = self.abs_template_dir / file
63 return self._read_file(path)
67 path = self.abs_template_dir.parent / file
68 return self._read_file(path)
192 path = Path(self.name)
194 path = Path(self.rv_dir) / "monitors" / path
195 path
53 _read_file(self, path) global() argument
[all...]
/linux/fs/smb/server/
H A Dvfs.h88 int ksmbd_vfs_remove_file(struct ksmbd_work *work, const struct path *path);
91 int ksmbd_vfs_getattr(const struct path *path, struct kstat *stat);
95 const struct path *old_path);
121 const struct path *path, const char *attr_name,
127 const struct path *path, char *attr_name,
131 struct path *pat
[all...]
/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8822c.c112 u32 path, i; in rtw8822c_dac_backup_reg() local
127 for (path = 0; path < DACK_PATH_8822C; path++) { in rtw8822c_dac_backup_reg()
130 val = rtw_read_rf(rtwdev, path, reg, RFREG_MASK); in rtw8822c_dac_backup_reg()
131 backup_rf[path * i + i].reg = reg; in rtw8822c_dac_backup_reg()
132 backup_rf[path * i + i].val = val; in rtw8822c_dac_backup_reg()
141 u32 path, i; in rtw8822c_dac_restore_reg() local
147 for (path = 0; path < DACK_PATH_8822C; path++) { in rtw8822c_dac_restore_reg()
149 val = backup_rf[path * i + i].val; in rtw8822c_dac_restore_reg()
150 reg = backup_rf[path * i + i].reg; in rtw8822c_dac_restore_reg()
151 rtw_write_rf(rtwdev, path, reg, RFREG_MASK, val); in rtw8822c_dac_restore_reg()
[all …]
/linux/tools/testing/selftests/damon/
H A D_damon_sysfs.py18 if not os.path.exists(sysfs_root):
22 def write_file(path, string): argument
26 with open(path, 'w') as f:
32 def read_file(path): argument
36 with open(path, 'r') as f:
60 return os.path.join(self.scheme.sysfs_dir(), 'access_pattern')
64 os.path.join(self.sysfs_dir(), 'sz', 'min'), self.size[0])
68 os.path.join(self.sysfs_dir(), 'sz', 'max'), self.size[1])
71 err = write_file(os.path.join(self.sysfs_dir(), 'nr_accesses', 'min'),
75 err = write_file(os.path
[all...]
/linux/fs/
H A Dinternal.h12 struct path;
54 struct path *path, const struct path *root);
57 int may_linkat(const struct mnt_idmap *idmap, const struct path *link);
66 const struct path *parentpath,
78 extern struct vfsmount *lookup_mnt(const struct path *);
79 extern int finish_automount(struct vfsmount *, const struct path *);
91 int path_mount(const char *dev_name, const struct path *path,
353 path_mounted(const struct path * path) path_mounted() argument
[all...]

12345678910>>...96