Home
last modified time | relevance | path

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

12345678910>>...171

/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/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/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 as a new
[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->slots[0] == 0) in btrfs_lookup_csum()
[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 …]
/linux/include/net/iucv/
H A Diucv.h44 * path until an iucv_path_resume is issued.
94 * pathid: 16 bit path identification
96 * flags: properties of the path: IPRMDATA, IPQUSCE, IPPRTY
98 * private: private information of the handler associated with the path
99 * list: list_head for the iucv_handler path list.
142 * type 0x01 has been received. The base code allocates a path
143 * structure and "asks" the handler if this path belongs to the
144 * handler. To accept the path the path_pending function needs
154 * type 0x02 has been received for a path that has been established
162 * his end of the communication path. The path still exists and
[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/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()
[all …]
/linux/security/apparmor/
H A 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 …]
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-cmdq.c139 static int mdp_path_subfrm_require(const struct mdp_path *path, in mdp_path_subfrm_require() argument
143 const int p_id = path->mdp_dev->mdp_data->mdp_plat_id; in mdp_path_subfrm_require()
145 const struct mtk_mdp_driver_data *data = path->mdp_dev->mdp_data; in mdp_path_subfrm_require()
151 num_comp = CFG_GET(MT8183, path->config, num_components); in mdp_path_subfrm_require()
153 num_comp = CFG_GET(MT8195, path->config, num_components); in mdp_path_subfrm_require()
156 index = __get_pipe(path->mdp_dev, path->comps[0].comp->public_id); in mdp_path_subfrm_require()
158 mutex = __get_mutex(path->mdp_dev, p); in mdp_path_subfrm_require()
167 inner_id = CFG_GET(MT8183, path->config, components[index].type); in mdp_path_subfrm_require()
169 inner_id = CFG_GET(MT8195, path->config, components[index].type); in mdp_path_subfrm_require()
171 if (mdp_cfg_comp_is_dummy(path->mdp_dev, inner_id)) in mdp_path_subfrm_require()
[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/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/drivers/interconnect/
H A Dcore.c172 struct icc_path *path; in path_init() local
175 path = kzalloc_flex(*path, reqs, num_nodes); in path_init()
176 if (!path) in path_init()
179 path->num_nodes = num_nodes; in path_init()
185 hlist_add_head(&path->reqs[i].req_node, &node->req_list); in path_init()
186 path->reqs[i].node = node; in path_init()
187 path->reqs[i].dev = dev; in path_init()
188 path->reqs[i].enabled = true; in path_init()
189 /* reference to previous node was saved during path traversal */ in path_init()
195 return path; in path_init()
[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/Documentation/sphinx/
H A Dkernel_include.py14 the path name and allows to include files from arbitrary locations.
70 Path to a file containing rules for handling special cases:
86 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,
163 raise self.severe('Problems with directive path:\n'
164 'Cannot encode input file path "%s" '
[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/rust/syn/
H A Dattr.rs13 use crate::path::Path;
47 /// Every attribute has a `path` that indicates the intended interpretation
48 /// of the rest of the attribute's contents. The path and the optional
52 /// - Meta::Path &mdash; attributes whose information content conveys just a
53 /// path, for example the `#[test]` attribute.
56 /// path, surrounded by a delimiter (parenthesis, bracket, or brace). For
59 /// - Meta::NameValue &mdash; attributes with an `=` sign after the path,
60 /// followed by a Rust expression. For example `#[path =
63 /// All doc comments are represented in the NameValue style with a path of
69 /// ~~~~~~Path
[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/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/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 …]
/linux/tools/hv/
H A Dvmbus_testing28 # debugfs path for hyperv must exist before proceeding
30 if not os.path.isdir(debugfs_hyperv_path):
78 path = args.path if "path" in arg_set else None
79 if (path and path[-1] == "/"):
80 path = path[:-1]
81 validate_args_path(path, arg_set, file_map)
82 if (path and "enable_single" in arg_set):
83 state_path = locate_state(path, file_map)
93 set_delay_values(path, file_map, args.delay_time,
98 disable_testing_single_device(path, file_map)
[all …]
/linux/tools/testing/selftests/mm/
H A Dthp_settings.c47 int read_file(const char *path, char *buf, size_t buflen) in read_file()
52 fd = open(path, O_RDONLY); in read_file()
68 unsigned long read_num(const char *path) in write_file()
72 if (read_file(path, buf, sizeof(buf)) < 0) { in write_file()
80 void write_num(const char *path, unsigned long num) in write_file()
85 write_file(path, buf, strlen(buf) + 1); in write_file()
90 char path[PATH_MAX]; in read_num() argument
95 ret = snprintf(path, PATH_MAX, THP_SYSFS "%s", name); in read_num()
101 if (!read_file(path, buf, sizeof(buf))) {
102 perror(path); in write_num() argument
46 read_file(const char * path,char * buf,size_t buflen) read_file() argument
67 write_file(const char * path,const char * buf,size_t buflen) write_file() argument
115 char path[PATH_MAX]; thp_read_string() local
160 char path[PATH_MAX]; thp_write_string() local
177 char path[PATH_MAX]; thp_read_num() local
190 char path[PATH_MAX]; thp_write_num() local
205 char path[PATH_MAX]; thp_read_settings() local
257 char path[PATH_MAX]; thp_write_settings() local
338 thp_set_read_ahead_path(char * path) thp_set_read_ahead_path() argument
353 char path[PATH_MAX]; __thp_supported_orders() local
[all...]

12345678910>>...171