Home
last modified time | relevance | path

Searched full:path (Results 1 – 25 of 4499) sorted by relevance

12345678910>>...180

/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->panel && path->panel->get_modelist) in path_get_modelist()
47 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist()
[all …]
/linux/fs/
H A Dinit.c19 struct path path; in init_mount() local
22 ret = kern_path(dir_name, LOOKUP_FOLLOW, &path); in init_mount()
25 ret = path_mount(dev_name, &path, type_page, flags, data_page); in init_mount()
26 path_put(&path); in init_mount()
33 struct path path; in init_umount() local
38 ret = kern_path(name, lookup_flags, &path); in init_umount()
41 return path_umount(&path, flags); in init_umount()
46 struct path path; in init_chdir() local
49 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chdir()
52 error = path_permission(&path, MAY_EXEC | MAY_CHDIR); in init_chdir()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
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 …]
/linux/fs/nilfs2/
H A Dbtree.c25 struct nilfs_btree_path *path; in nilfs_btree_alloc_path() local
28 path = kmem_cache_alloc(nilfs_btree_path_cache, GFP_NOFS); in nilfs_btree_alloc_path()
29 if (path == NULL) in nilfs_btree_alloc_path()
33 path[level].bp_bh = NULL; in nilfs_btree_alloc_path()
34 path[level].bp_sib_bh = NULL; in nilfs_btree_alloc_path()
35 path[level].bp_index = 0; in nilfs_btree_alloc_path()
36 path[level].bp_oldreq.bpr_ptr = NILFS_BMAP_INVALID_PTR; in nilfs_btree_alloc_path()
37 path[level].bp_newreq.bpr_ptr = NILFS_BMAP_INVALID_PTR; in nilfs_btree_alloc_path()
38 path[level].bp_op = NULL; in nilfs_btree_alloc_path()
42 return path; in nilfs_btree_alloc_path()
[all …]
/linux/Documentation/userspace-api/media/
H A Dtypical_media_device.svg3path="url(#a)" fill-rule="evenodd" stroke-linejoin="round" stroke-width="28.222" preserveAspectRat…
4path id="path15" d="m1505.5 13443c-293 0-585 292-585 585v2340c0 293 292 586 585 586h3275c293 0 586…
6 <path id="path37" d="m2371.5 9608h-2260v-1270h4520v1270h-2260z" fill="#ff8080" style=""/><path id="…
7 <path id="path51" d="m2363.5 8053h-2269v-1224h4537v1224h-2268z" fill="#ff8080" style=""/><path id="…
8 <path id="path65" d="m13622 10386h-3810v-1281h7620v1281h-3810z" fill="#cfc" style=""/><path id="pat…
9 <path id="path79" d="m12080 12182h-2268v-1412h4536v1412h-2268z" fill="#cfe7f5" style=""/><path id="…
10 <path id="path93" d="m3050.5 15498h-1563v-1715h3126v1715h-1563z" fill="#fc9" style=""/><path id="pa…
11path id="path107" d="m4629.5 5866 385-353v176h1167v-176l386 353-386 354v-177h-1167v177l-385-354z" …
12path id="path127" d="m7872.5 11464 385-353v176h1166v-176l386 353-386 354v-177h-1166v177l-385-354z"…
14 <path id="path159" d="m11062 7098h-1250v-875h2499v875h-1249z" fill="#cff" style=""/><path id="path1…
[all …]
/linux/tools/testing/selftests/openat2/
H A Dresolve_test.c112 const char *path; member
117 const char *path; member
139 .path = "/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
142 .path = "cheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
145 .path = "abscheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
148 .path = "..", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
151 .path = "../root/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
154 .path = "cheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
157 .path = "abscheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
160 .path = "cheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
[all …]
/linux/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.c122 struct mmp_path *path = overlay->path; in dmafetch_set_fmt() local
123 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt()
126 writel_relaxed(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt()
131 struct lcd_regs *regs = path_regs(overlay->path); in overlay_set_win()
171 struct mmp_path *path = overlay->path; in dmafetch_onoff() local
174 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff()
177 writel(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff()
181 static void path_enabledisable(struct mmp_path *path, int on) in path_enabledisable() argument
184 mutex_lock(&path->access_ok); in path_enabledisable()
185 tmp = readl_relaxed(ctrl_regs(path) + LCD_SCLK(path)); in path_enabledisable()
[all …]
/linux/fs/btrfs/
H A Dinode-item.c82 struct btrfs_path *path, in btrfs_lookup_inode_extref() argument
93 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_lookup_inode_extref()
98 return btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_lookup_inode_extref()
109 BTRFS_PATH_AUTO_FREE(path); in btrfs_del_inode_extref()
123 path = btrfs_alloc_path(); in btrfs_del_inode_extref()
124 if (!path) in btrfs_del_inode_extref()
127 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_extref()
138 extref = btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_del_inode_extref()
145 leaf = path->nodes[0]; in btrfs_del_inode_extref()
146 item_size = btrfs_item_size(leaf, path->slots[0]); in btrfs_del_inode_extref()
[all …]
H A Dfree-space-tree.c22 struct btrfs_path *path);
71 struct btrfs_path *path) in add_new_free_space_info() argument
83 ret = btrfs_insert_empty_item(trans, root, path, &key, sizeof(*info)); in add_new_free_space_info()
87 leaf = path->nodes[0]; in add_new_free_space_info()
88 info = btrfs_item_ptr(leaf, path->slots[0], in add_new_free_space_info()
92 btrfs_release_path(path); in add_new_free_space_info()
100 struct btrfs_path *path, int cow) in btrfs_search_free_space_info() argument
111 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in btrfs_search_free_space_info()
121 return btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_search_free_space_info()
203 struct btrfs_path *path) in btrfs_convert_free_space_to_bitmaps() argument
[all …]
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->slots[0] == 0) in btrfs_lookup_csum()
[all …]
H A Dctree.c30 *root, struct btrfs_path *path, int level);
32 const struct btrfs_key *ins_key, struct btrfs_path *path,
145 /* this also releases the path */
155 * path release drops references on the extent buffers in the path
156 * and it drops any locks held by this path
871 struct btrfs_path *path, int level) in balance_level() argument
881 int orig_slot = path->slots[level]; in balance_level()
886 mid = path->nodes[level]; in balance_level()
888 WARN_ON(path->locks[level] != BTRFS_WRITE_LOCK); in balance_level()
894 parent = path->nodes[level + 1]; in balance_level()
[all …]
H A Ddir-item.c24 struct btrfs_path *path, in insert_with_overflow() argument
34 ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size); in insert_with_overflow()
37 di = btrfs_match_dir_item_name(path, name, name_len); in insert_with_overflow()
40 btrfs_extend_item(trans, path, data_size); in insert_with_overflow()
44 leaf = path->nodes[0]; in insert_with_overflow()
45 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow()
46 ASSERT(data_size <= btrfs_item_size(leaf, path->slots[0])); in insert_with_overflow()
47 ptr += btrfs_item_size(leaf, path->slots[0]) - data_size; in insert_with_overflow()
57 struct btrfs_path *path, u64 objectid, in btrfs_insert_xattr_item() argument
77 dir_item = insert_with_overflow(trans, root, path, &key, data_size, in btrfs_insert_xattr_item()
[all …]
/linux/security/tomoyo/
H A Dtomoyo.c117 * @path: Pointer to "struct path".
121 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()
129 * @path: Pointer to "struct path".
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()
153 * @parent: Pointer to "struct path".
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()
[all …]
/linux/include/trace/events/
H A Dcgroup.h56 TP_PROTO(struct cgroup *cgrp, const char *path),
58 TP_ARGS(cgrp, path),
64 __string( path, path )
71 __assign_str(path);
74 TP_printk("root=%d id=%llu level=%d path=%s",
75 __entry->root, __entry->id, __entry->level, __get_str(path))
80 TP_PROTO(struct cgroup *cgrp, const char *path),
82 TP_ARGS(cgrp, path)
87 TP_PROTO(struct cgroup *cgrp, const char *path),
[all...]
/linux/fs/btrfs/tests/
H A Dfree-space-tree-tests.c23 struct btrfs_path *path, in __check_free_space_extents() argument
35 info = btrfs_search_free_space_info(trans, cache, path, 0); in __check_free_space_extents()
41 flags = btrfs_free_space_flags(path->nodes[0], info); in __check_free_space_extents()
42 extent_count = btrfs_free_space_extent_count(path->nodes[0], info); in __check_free_space_extents()
50 if (path->slots[0] != 0) in __check_free_space_extents()
54 while (++path->slots[0] < btrfs_header_nritems(path->nodes[0])) { in __check_free_space_extents()
55 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in __check_free_space_extents()
60 bit = btrfs_free_space_test_bit(cache, path, offset); in __check_free_space_extents()
84 if (btrfs_header_nritems(path->nodes[0]) != num_extents + 1 || in __check_free_space_extents()
85 path->slots[0] != 0) in __check_free_space_extents()
[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 …]
/linux/Documentation/userspace-api/media/v4l/
H A Dfieldseq_tb.svg48 clipPathUnits="userSpaceOnUse"><path
56 id="g5551"><path
60 inkscape:connector-curvature="0" /><path
64 inkscape:connector-curvature="0" /><path
68 inkscape:connector-curvature="0" /><path
72 inkscape:connector-curvature="0" /><path
76 inkscape:connector-curvature="0" /><path
80 inkscape:connector-curvature="0" /><path
84 inkscape:connector-curvature="0" /><path
88 inkscape:connector-curvature="0" /><path
[all …]
H A Dfieldseq_bt.svg48 clipPathUnits="userSpaceOnUse"><path
56 id="g3627"><path
60 inkscape:connector-curvature="0" /><path
64 inkscape:connector-curvature="0" /><path
68 inkscape:connector-curvature="0" /><path
72 inkscape:connector-curvature="0" /><path
76 inkscape:connector-curvature="0" /><path
80 inkscape:connector-curvature="0" /><path
84 inkscape:connector-curvature="0" /><path
88 inkscape:connector-curvature="0" /><path
[all …]
/linux/fs/smb/server/
H A Dvfs.h86 int ksmbd_vfs_remove_file(struct ksmbd_work *work, const struct path *path);
89 int ksmbd_vfs_getattr(const struct path *path, struct kstat *stat);
90 int ksmbd_vfs_rename(struct ksmbd_work *work, const struct path *old_path,
112 const struct path *path, const char *attr_name,
118 const struct path *path, char *attr_name,
122 struct path *path, bool caseless);
125 struct path *path, bool caseless);
126 void ksmbd_vfs_kern_path_unlock(const struct path *path);
130 struct path *path);
148 const struct path *path);
[all …]
/linux/tools/testing/selftests/damon/
H A D_damon_sysfs.py18 if not os.path.exists(sysfs_root): argument
22 def write_file(path, string):
26 with open(path, 'w') as f:
32 def read_file(path):
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
28 read_file(path) global() argument
[all...]
/linux/drivers/md/
H A Ddm-path-selector.h10 * Path-Selector registration.
21 * We provide an abstraction for the code that chooses which path
31 * If a path selector uses this flag, a high resolution timer is used
33 * This improves performance of some path selectors (i.e. HST), in
35 * The extra cost is usually offset by improved path selection for
44 /* Information about a path selector type */
54 * Constructs a path selector object, takes custom arguments
60 * Add an opaque path object, along with some selector specific
61 * path args (eg, path priority).
63 int (*add_path)(struct path_selector *ps, struct dm_path *path,
[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/virtio/virtio-trace/
H A DREADME43 of CPUs and a control path, so FIFO (named pipe) should be created as follows:
45 # mkfifo /tmp/virtio-trace/trace-path-cpu{0,1,2,...,X}.{in,out}
46 # mkfifo /tmp/virtio-trace/agent-ctl-path.{in,out}
49 trace-path-cpu{0,1,2}.{in.out}
51 agent-ctl-path.{in,out}.
58 ##control path##
59 -chardev pipe,id=charchannel0,path=/tmp/virtio-trace/agent-ctl-path\
61 id=channel0,name=agent-ctl-path\
62 ##data path##
63 -chardev pipe,id=charchannel1,path=/tmp/virtio-trace/trace-path-cpu0\
[all …]
/linux/include/video/
H A Dmmp_disp.h66 /* parameters used by path/overlay */
93 /* path related para: mode */
143 /* overlay describes a z-order indexed slot in each path. */
147 struct mmp_path *path; member
175 /* path name used to connect to proper path configed */
189 int (*check_status)(struct mmp_path *path);
190 struct mmp_overlay *(*get_overlay)(struct mmp_path *path,
192 int (*get_modelist)(struct mmp_path *path,
196 void (*set_mode)(struct mmp_path *path, struct mmp_mode *mode);
197 void (*set_onoff)(struct mmp_path *path, int status);
[all …]

12345678910>>...180