Home
last modified time | relevance | path

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

12345678910>>...178

/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/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 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()
201 struct btrfs_path *path) in btrfs_convert_free_space_to_bitmaps() argument
[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/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/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.join(self.sysfs_dir(), 'nr_accesses', 'max'),
[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/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 …]
H A Dpath.rs14 /// A path at which a named item is exported (e.g. `std::collections::HashMap`).
16 pub struct Path {
22 impl<T> From<T> for Path implementation
27 let mut path = Path { in from() localVariable
31 path.segments.push_value(segment.into()); in from()
32 path in from()
36 impl Path { implementation
37 /// Determines whether this is a path of length 1 equal to the given
42 /// - the path has no leading colon,
43 /// - the number of path segments is 1,
[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/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.c46 int read_file(const char *path, char *buf, size_t buflen) in read_file() argument
51 fd = open(path, O_RDONLY); in read_file()
67 int write_file(const char *path, const char *buf, size_t buflen) in write_file() argument
72 fd = open(path, O_WRONLY); in write_file()
74 printf("open(%s)\n", path); in write_file()
90 unsigned long read_num(const char *path) in read_num() argument
94 if (read_file(path, buf, sizeof(buf)) < 0) { in read_num()
102 void write_num(const char *path, unsigned long num) in write_num() argument
107 if (!write_file(path, buf, strlen(buf) + 1)) { in write_num()
108 perror(path); in write_num()
[all …]
/linux/fs/smb/client/
H A Ddfs_cache.c40 const char *path; member
68 * dfs_cache_canonical_path - get a canonical DFS path
70 * @path: DFS path
74 * Return canonical path if success, otherwise error.
76 char *dfs_cache_canonical_path(const char *path, const struct nls_table *cp, int remap) in dfs_cache_canonical_path() argument
82 if (!path || strlen(path) < 3 || (*path != '\\' && *path != '/')) in dfs_cache_canonical_path()
86 tmp = (char *)cifs_strndup_to_utf16(path, strlen(path), &plen, cp, remap); in dfs_cache_canonical_path()
88 cifs_dbg(VFS, "%s: failed to convert path to utf16\n", __func__); in dfs_cache_canonical_path()
96 cifs_dbg(VFS, "%s: failed to convert path from utf16\n", __func__); in dfs_cache_canonical_path()
100 npath = kstrdup(path, GFP_KERNEL); in dfs_cache_canonical_path()
[all …]
/linux/net/iucv/
H A Diucv.c154 * The work element to deliver path pending interrupts.
699 * @pathid: path identification number.
702 * Sever an iucv path to free up the pathid. Used internally.
730 * Function called after a path has been severed to find all remaining
739 * When a path is severed, the pathid can be reused immediately in iucv_cleanup_queue()
856 * @path: address of iucv path structure
859 * @private: private data passed to interrupt handlers for this path
862 * external interrupt and now wishes to complete the IUCV communication path.
866 int iucv_path_accept(struct iucv_path *path, struc
867 iucv_path_accept(struct iucv_path * path,struct iucv_handler * handler,u8 * userdata,void * private) iucv_path_accept() argument
914 iucv_path_connect(struct iucv_path * path,struct iucv_handler * handler,u8 * userid,u8 * system,u8 * userdata,void * private) iucv_path_connect() argument
977 iucv_path_quiesce(struct iucv_path * path,u8 * userdata) iucv_path_quiesce() argument
1009 iucv_path_resume(struct iucv_path * path,u8 * userdata) iucv_path_resume() argument
1039 iucv_path_sever(struct iucv_path * path,u8 * userdata) iucv_path_sever() argument
1071 iucv_message_purge(struct iucv_path * path,struct iucv_message * msg,u32 srccls) iucv_message_purge() argument
1111 iucv_message_receive_iprmdata(struct iucv_path * path,struct iucv_message * msg,u8 flags,void * buffer,size_t size,size_t * residual) iucv_message_receive_iprmdata() argument
1160 __iucv_message_receive(struct iucv_path * path,struct iucv_message * msg,u8 flags,void * buffer,size_t size,size_t * residual) __iucv_message_receive() argument
1208 iucv_message_receive(struct iucv_path * path,struct iucv_message * msg,u8 flags,void * buffer,size_t size,size_t * residual) iucv_message_receive() argument
1234 iucv_message_reject(struct iucv_path * path,struct iucv_message * msg) iucv_message_reject() argument
1272 iucv_message_reply(struct iucv_path * path,struct iucv_message * msg,u8 flags,void * reply,size_t size) iucv_message_reply() argument
1323 __iucv_message_send(struct iucv_path * path,struct iucv_message * msg,u8 flags,u32 srccls,void * buffer,size_t size) __iucv_message_send() argument
1377 iucv_message_send(struct iucv_path * path,struct iucv_message * msg,u8 flags,u32 srccls,void * buffer,size_t size) iucv_message_send() argument
1409 iucv_message_send2way(struct iucv_path * path,struct iucv_message * msg,u8 flags,u32 srccls,void * buffer,size_t size,void * answer,size_t asize,size_t * residual) iucv_message_send2way() argument
1476 struct iucv_path *path; iucv_path_pending() local
1536 struct iucv_path *path = iucv_path_table[ipc->ippathid]; iucv_path_complete() local
1566 struct iucv_path *path = iucv_path_table[ips->ippathid]; iucv_path_severed() local
1602 struct iucv_path *path = iucv_path_table[ipq->ippathid]; iucv_path_quiesced() local
1630 struct iucv_path *path = iucv_path_table[ipr->ippathid]; iucv_path_resumed() local
1661 struct iucv_path *path = iucv_path_table[imc->ippathid]; iucv_message_complete() local
1708 struct iucv_path *path = iucv_path_table[imp->ippathid]; iucv_message_pending() local
[all...]
/linux/tools/verification/rvgen/rvgen/
H A Dgenerator.py19 os.path.join(os.path.dirname(__file__), "templates", self.template_dir)
30 if os.path.exists(self.rv_dir):
34 kernel_path = os.path.join("../..", self.rv_dir)
36 if os.path.exists(kernel_path):
43 kernel_path = os.path.join("/lib/modules/%s/build" % platform.release(), self.rv_dir)
47 if os.path.exists(os.path.join(kernel_path, "rv_trace.h")):
53 def _read_file(self, path): argument
55 fd = open(path, 'r')
57 raise Exception("Cannot open the file: %s" % path)
66 path = os.path.join(self.abs_template_dir, file)
[all …]
/linux/scripts/clang-tools/
H A Dgen_compile_commands.py46 output_help = ('path to the output command database (defaults to ' +
67 os.path.realpath(args.directory),
82 The path to a .cmd file.
86 exclude_dirs = [ os.path.join(directory, d) for d in _EXCLUDE_DIRS ]
96 yield os.path.join(dirpath, filename)
99 def to_cmdfile(path): argument
100 """Return the path of .cmd file used for the given build artifact
103 Path: file path
106 The path to .cmd file
108 dir, base = os.path.split(path)
[all …]

12345678910>>...178