| /linux/drivers/video/fbdev/mmp/ |
| H A D | core.c | 16 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/drivers/thunderbolt/ |
| H A D | path.c | 3 * 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 90 * Follows a path starting from @src and @src_hopid to the last output 91 * port of the path. Allocates HopIDs for the visited ports (if 92 * @alloc_hopid is true). Call tb_path_free() to release the path and [all …]
|
| /linux/fs/nilfs2/ |
| H A D | btree.c | 25 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 D | typical_media_device.svg | 3 …path="url(#a)" fill-rule="evenodd" stroke-linejoin="round" stroke-width="28.222" preserveAspectRat… 4 …path 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… 11 …path id="path107" d="m4629.5 5866 385-353v176h1167v-176l386 353-386 354v-177h-1167v177l-385-354z" … 12 …path 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 D | resolve_test.c | 112 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 D | mmp_ctrl.c | 122 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 D | dirtree.c | 51 * 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/ext4/ |
| H A D | extents.c | 46 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/fs/btrfs/ |
| H A D | file-item.c | 166 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 …]
|
| /linux/security/apparmor/ |
| H A D | path.c | 15 #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/include/net/iucv/ |
| H A D | iucv.h | 44 * 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 D | tomoyo.c | 117 * @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/drivers/media/platform/mediatek/mdp3/ |
| H A D | mtk-mdp3-cmdq.c | 139 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 D | trace-event-info.c | 90 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.py | 18 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/drivers/interconnect/ |
| H A D | core.c | 172 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 D | fieldseq_tb.svg | 48 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 D | fieldseq_bt.svg | 48 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 D | kernel_include.py | 14 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 D | attr.rs | 13 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 — 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 — 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/power/cpupower/utils/helpers/ |
| H A D | misc.c | 23 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/drivers/net/wireless/realtek/rtw88/ |
| H A D | rtw8822c.c | 112 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/include/video/ |
| H A D | mmp_disp.h | 66 /* 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/virtio/virtio-trace/ |
| H A D | README | 43 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/net/iucv/ |
| H A D | iucv.c | 154 * The work element to deliver path pending interrupts. 686 * iucv_sever_pathid - Sever an iucv path to free up the pathid. Used internally. 688 * @pathid: path identification number. 714 * iucv_cleanup_queue - Called after a path has been severed to find all 724 * When a path is severed, the pathid can be reused immediately in iucv_cleanup_queue() 838 * iucv_path_accept - Complete the IUCV communication path 840 * @path: address of iucv path structure 843 * @private: private data passed to interrupt handlers for this path 846 * external interrupt and now wishes to complete the IUCV communication path. 850 int iucv_path_accept(struct iucv_path *path, struct iucv_handler *handler, in iucv_path_accept() argument [all …]
|