Home
last modified time | relevance | path

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

12345678910>>...221

/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/
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 …]
/kernel/linux/linux-4.19/drivers/thunderbolt/
Dpath.c3 * Thunderbolt Cactus Ridge driver - path/tunnel functionality
32 * tb_path_alloc() - allocate a thunderbolt path
38 struct tb_path *path = kzalloc(sizeof(*path), GFP_KERNEL); in tb_path_alloc() local
39 if (!path) in tb_path_alloc()
41 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc()
42 if (!path->hops) { in tb_path_alloc()
43 kfree(path); in tb_path_alloc()
46 path->tb = tb; in tb_path_alloc()
47 path->path_length = num_hops; in tb_path_alloc()
48 return path; in tb_path_alloc()
[all …]
/kernel/linux/linux-4.19/drivers/video/fbdev/mmp/
Dcore.c29 static struct mmp_overlay *path_get_overlay(struct mmp_path *path, in path_get_overlay() argument
32 if (path && overlay_id < path->overlay_num) in path_get_overlay()
33 return &path->overlays[overlay_id]; in path_get_overlay()
37 static int path_check_status(struct mmp_path *path) in path_check_status() argument
40 for (i = 0; i < path->overlay_num; i++) in path_check_status()
41 if (path->overlays[i].status) in path_check_status()
54 static int path_get_modelist(struct mmp_path *path, in path_get_modelist() argument
57 BUG_ON(!path || !modelist); in path_get_modelist()
59 if (path->panel && path->panel->get_modelist) in path_get_modelist()
60 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist()
[all …]
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dpath.c3 * Thunderbolt driver - path/tunnel functionality
50 tb_port_warn(port, "failed to read path at %d\n", hopid); in tb_path_find_dst_port()
81 * tb_path_discover() - Discover a path
82 * @src: First input port of a path
83 * @src_hopid: Starting HopID of a path (%-1 if don't care)
84 * @dst: Expected destination port of the path (%NULL if don't care)
87 * @name: Name of the path
89 * Follows a path starting from @src and @src_hopid to the last output
90 * port of the path. Allocates HopIDs for the visited ports. Call
91 * tb_path_free() to release the path and allocated HopIDs when the path
[all …]
/kernel/linux/linux-5.10/fs/
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 = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); in init_chdir()
[all …]
/kernel/linux/linux-4.19/fs/nilfs2/
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 …]
/kernel/linux/linux-5.10/fs/nilfs2/
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
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 …]
/kernel/linux/linux-4.19/Documentation/media/
Dtypical_media_device.svg2path="url(#a)" fill-rule="evenodd" stroke-linejoin="round" stroke-width="28.222" preserveAspectRat…
3path id="path15" d="m1505.5 13443c-293 0-585 292-585 585v2340c0 293 292 586 585 586h3275c293 0 586…
5 <path id="path37" d="m2371.5 9608h-2260v-1270h4520v1270h-2260z" fill="#ff8080" style=""/><path id="…
6 <path id="path51" d="m2363.5 8053h-2269v-1224h4537v1224h-2268z" fill="#ff8080" style=""/><path id="…
7 <path id="path65" d="m13622 10386h-3810v-1281h7620v1281h-3810z" fill="#cfc" style=""/><path id="pat…
8 <path id="path79" d="m12080 12182h-2268v-1412h4536v1412h-2268z" fill="#cfe7f5" style=""/><path id="…
9 <path id="path93" d="m3050.5 15498h-1563v-1715h3126v1715h-1563z" fill="#fc9" style=""/><path id="pa…
10path id="path107" d="m4629.5 5866 385-353v176h1167v-176l386 353-386 354v-177h-1167v177l-385-354z" …
11path id="path127" d="m7872.5 11464 385-353v176h1166v-176l386 353-386 354v-177h-1166v177l-385-354z"…
13 <path id="path159" d="m11062 7098h-1250v-875h2499v875h-1249z" fill="#cff" style=""/><path id="path1…
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/
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 …]
/kernel/linux/linux-5.10/fs/btrfs/
Dinode-item.c76 struct btrfs_path *path, in btrfs_lookup_inode_extref() argument
88 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref()
93 return btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_lookup_inode_extref()
104 struct btrfs_path *path; in btrfs_del_inode_extref() local
118 path = btrfs_alloc_path(); in btrfs_del_inode_extref()
119 if (!path) in btrfs_del_inode_extref()
122 path->leave_spinning = 1; in btrfs_del_inode_extref()
124 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_extref()
135 extref = btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_del_inode_extref()
143 leaf = path->nodes[0]; in btrfs_del_inode_extref()
[all …]
Dfree-space-tree.c17 struct btrfs_path *path);
52 struct btrfs_path *path) in add_new_free_space_info() argument
64 ret = btrfs_insert_empty_item(trans, root, path, &key, sizeof(*info)); in add_new_free_space_info()
68 leaf = path->nodes[0]; in add_new_free_space_info()
69 info = btrfs_item_ptr(leaf, path->slots[0], in add_new_free_space_info()
77 btrfs_release_path(path); in add_new_free_space_info()
85 struct btrfs_path *path, int cow) in search_free_space_info() argument
96 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in search_free_space_info()
106 return btrfs_item_ptr(path->nodes[0], path->slots[0], in search_free_space_info()
187 struct btrfs_path *path) in convert_free_space_to_bitmaps() argument
[all …]
/kernel/linux/linux-4.19/fs/btrfs/
Dinode-item.c83 struct btrfs_path *path, in btrfs_lookup_inode_extref() argument
96 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref()
101 if (!btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_lookup_inode_extref()
114 struct btrfs_path *path; in btrfs_del_inode_extref() local
128 path = btrfs_alloc_path(); in btrfs_del_inode_extref()
129 if (!path) in btrfs_del_inode_extref()
132 path->leave_spinning = 1; in btrfs_del_inode_extref()
134 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_extref()
145 if (!btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_del_inode_extref()
153 leaf = path->nodes[0]; in btrfs_del_inode_extref()
[all …]
Dfree-space-tree.c16 struct btrfs_path *path);
48 struct btrfs_path *path) in add_new_free_space_info() argument
60 ret = btrfs_insert_empty_item(trans, root, path, &key, sizeof(*info)); in add_new_free_space_info()
64 leaf = path->nodes[0]; in add_new_free_space_info()
65 info = btrfs_item_ptr(leaf, path->slots[0], in add_new_free_space_info()
73 btrfs_release_path(path); in add_new_free_space_info()
81 struct btrfs_path *path, int cow) in search_free_space_info() argument
91 ret = btrfs_search_slot(trans, root, &key, path, 0, cow); in search_free_space_info()
101 return btrfs_item_ptr(path->nodes[0], path->slots[0], in search_free_space_info()
181 struct btrfs_path *path) in convert_free_space_to_bitmaps() argument
[all …]
Dfile-item.c38 struct btrfs_path *path; in btrfs_insert_file_extent() local
41 path = btrfs_alloc_path(); in btrfs_insert_file_extent()
42 if (!path) in btrfs_insert_file_extent()
48 path->leave_spinning = 1; in btrfs_insert_file_extent()
49 ret = btrfs_insert_empty_item(trans, root, path, &file_key, in btrfs_insert_file_extent()
54 leaf = path->nodes[0]; in btrfs_insert_file_extent()
55 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent()
70 btrfs_free_path(path); in btrfs_insert_file_extent()
77 struct btrfs_path *path, in btrfs_lookup_csum() argument
93 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/
Dmtk_eth_path.c4 /* A library for configuring path from GMAC/GDM to target PHY
18 int (*set_path)(struct mtk_eth *eth, int path);
21 static const char *mtk_eth_path_name(int path) in mtk_eth_path_name() argument
23 switch (path) { in mtk_eth_path_name()
39 return "unknown path"; in mtk_eth_path_name()
43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, int path) in set_mux_gdm1_to_gmac1_esw() argument
48 switch (path) { in set_mux_gdm1_to_gmac1_esw()
68 dev_dbg(eth->dev, "path %s in %s updated = %d\n", in set_mux_gdm1_to_gmac1_esw()
69 mtk_eth_path_name(path), __func__, updated); in set_mux_gdm1_to_gmac1_esw()
74 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, int path) in set_mux_gmac2_gmac0_to_gephy() argument
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dcgroup.h56 TP_PROTO(struct cgroup *cgrp, const char *path),
58 TP_ARGS(cgrp, path),
64 __string( path, path )
71 __assign_str(path, path);
74 TP_printk("root=%d id=%d 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),
89 TP_ARGS(cgrp, path)
[all …]
/kernel/linux/linux-5.10/include/net/iucv/
Diucv.h43 * path until an iucv_path_resume is issued.
88 * pathid: 16 bit path identification
90 * flags: properties of the path: IPRMDATA, IPQUSCE, IPPRTY
92 * private: private information of the handler associated with the path
93 * list: list_head for the iucv_handler path list.
136 * type 0x01 has been received. The base code allocates a path
137 * structure and "asks" the handler if this path belongs to the
138 * handler. To accept the path the path_pending function needs
148 * type 0x02 has been received for a path that has been established
156 * his end of the communication path. The path still exists and
[all …]
/kernel/linux/linux-4.19/include/net/iucv/
Diucv.h43 * path until an iucv_path_resume is issued.
88 * pathid: 16 bit path identification
90 * flags: properties of the path: IPRMDATA, IPQUSCE, IPPRTY
92 * private: private information of the handler associated with the path
93 * list: list_head for the iucv_handler path list.
136 * type 0x01 has been received. The base code allocates a path
137 * structure and "asks" the handler if this path belongs to the
138 * handler. To accept the path the path_pending function needs
148 * type 0x02 has been received for a path that has been established
156 * his end of the communication path. The path still exists and
[all …]
/kernel/linux/linux-4.19/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c135 struct mmp_path *path = overlay->path; in dmafetch_set_fmt() local
136 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt()
139 writel_relaxed(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt()
144 struct lcd_regs *regs = path_regs(overlay->path); in overlay_set_win()
177 struct mmp_path *path = overlay->path; in dmafetch_onoff() local
180 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff()
183 writel(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff()
187 static void path_enabledisable(struct mmp_path *path, int on) in path_enabledisable() argument
190 mutex_lock(&path->access_ok); in path_enabledisable()
191 tmp = readl_relaxed(ctrl_regs(path) + LCD_SCLK(path)); in path_enabledisable()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/hw/
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 …]
/kernel/linux/linux-5.10/security/apparmor/
Dpath.c15 #include <linux/path.h>
21 #include "include/path.h"
37 /* If the path is not connected to the expected root,
41 * specifically directed to connect the path,
43 * if in a chroot and doing chroot relative paths and the path
48 static int disconnect(const struct path *path, char *buf, char **name, in disconnect() argument
55 our_mnt(path->mnt))) { in disconnect()
56 /* disconnected path, don't return pathname starting in disconnect()
75 * d_namespace_path - lookup a name associated with a given path
76 * @path: path to lookup (NOT NULL)
[all …]
/kernel/linux/linux-5.10/security/tomoyo/
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()
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()
141 * @parent: Pointer to "struct path".
146 static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry) in tomoyo_path_unlink()
148 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_unlink() local
150 return tomoyo_path_perm(TOMOYO_TYPE_UNLINK, &path, NULL); in tomoyo_path_unlink()
156 * @parent: Pointer to "struct path".
[all …]
/kernel/linux/linux-4.19/security/tomoyo/
Dtomoyo.c142 static int tomoyo_inode_getattr(const struct path *path) in tomoyo_inode_getattr() argument
144 return tomoyo_path_perm(TOMOYO_TYPE_GETATTR, path, NULL); in tomoyo_inode_getattr()
150 * @path: Pointer to "struct path".
154 static int tomoyo_path_truncate(const struct path *path) in tomoyo_path_truncate() argument
156 return tomoyo_path_perm(TOMOYO_TYPE_TRUNCATE, path, NULL); in tomoyo_path_truncate()
162 * @parent: Pointer to "struct path".
167 static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry) in tomoyo_path_unlink()
169 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_unlink() local
170 return tomoyo_path_perm(TOMOYO_TYPE_UNLINK, &path, NULL); in tomoyo_path_unlink()
176 * @parent: Pointer to "struct path".
[all …]
/kernel/linux/linux-4.19/security/apparmor/
Dpath.c19 #include <linux/path.h>
25 #include "include/path.h"
41 /* If the path is not connected to the expected root,
45 * specifically directed to connect the path,
47 * if in a chroot and doing chroot relative paths and the path
52 static int disconnect(const struct path *path, char *buf, char **name, in disconnect() argument
59 our_mnt(path->mnt))) { in disconnect()
60 /* disconnected path, don't return pathname starting in disconnect()
79 * d_namespace_path - lookup a name associated with a given path
80 * @path: path to lookup (NOT NULL)
[all …]

12345678910>>...221