/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
H A D | lsfw.c | 89 const char *path, int ver, in nvkm_acr_lsfw_load_sig_image_desc_() 100 ret = nvkm_firmware_load_name(subdev, path, "sig", ver, &lsfw->sig); in nvkm_acr_lsfw_load_sig_image_desc_() 104 ret = nvkm_firmware_load_blob(subdev, path, "image", ver, &lsfw->img); in nvkm_acr_lsfw_load_sig_image_desc_() 108 ret = nvkm_firmware_load_name(subdev, path, "desc", ver, pdesc); in nvkm_acr_lsfw_load_sig_image_desc_() 143 const char *path, int ver, in nvkm_acr_lsfw_load_sig_image_desc() 149 lsfw = nvkm_acr_lsfw_load_sig_image_desc_(subdev, falcon, id, path, ver, in nvkm_acr_lsfw_load_sig_image_desc() 163 const char *path, int ver, in nvkm_acr_lsfw_load_sig_image_desc_v1() 169 lsfw = nvkm_acr_lsfw_load_sig_image_desc_(subdev, falcon, id, path, ver, in nvkm_acr_lsfw_load_sig_image_desc_v1() 183 const char *path, int ver, in nvkm_acr_lsfw_load_bl_inst_data_sig() 197 ret = nvkm_firmware_load_name(subdev, path, "b in nvkm_acr_lsfw_load_bl_inst_data_sig() 86 nvkm_acr_lsfw_load_sig_image_desc_(struct nvkm_subdev *subdev, struct nvkm_falcon *falcon, enum nvkm_acr_lsf_id id, const char *path, int ver, const struct nvkm_acr_lsf_func *func, const struct firmware **pdesc) nvkm_acr_lsfw_load_sig_image_desc_() argument 140 nvkm_acr_lsfw_load_sig_image_desc(struct nvkm_subdev *subdev, struct nvkm_falcon *falcon, enum nvkm_acr_lsf_id id, const char *path, int ver, const struct nvkm_acr_lsf_func *func) nvkm_acr_lsfw_load_sig_image_desc() argument 160 nvkm_acr_lsfw_load_sig_image_desc_v1(struct nvkm_subdev *subdev, struct nvkm_falcon *falcon, enum nvkm_acr_lsf_id id, const char *path, int ver, const struct nvkm_acr_lsf_func *func) nvkm_acr_lsfw_load_sig_image_desc_v1() argument 180 nvkm_acr_lsfw_load_bl_inst_data_sig(struct nvkm_subdev *subdev, struct nvkm_falcon *falcon, enum nvkm_acr_lsf_id id, const char *path, int ver, const struct nvkm_acr_lsf_func *func) nvkm_acr_lsfw_load_bl_inst_data_sig() argument [all...] |
/kernel/linux/linux-6.6/drivers/acpi/x86/ |
H A D | utils.c | 44 const char *path; member 48 #define ENTRY(status, hid, uid, path, cpu_model, dmi...) { \ 53 path, \ 63 #define PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \ 64 ENTRY(ACPI_STA_DEFAULT, "", NULL, path, cpu_model, dmi) 66 #define NOT_PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \ 67 ENTRY(0, "", NULL, path, cpu_model, dmi) 171 if (override_status_ids[i].path) { in acpi_device_override_status() 172 struct acpi_buffer path = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_device_override_status() local 175 if (acpi_get_name(adev->handle, ACPI_FULL_PATHNAME, &path)) in acpi_device_override_status() [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | namespace.c | 33 * nfs_path - reconstruct the path given an arbitrary dentry 34 * @base - used to return pointer to the end of devname part of path 43 * This is mainly for use in figuring out the path on the 135 * @path - The mountpoint 145 struct vfsmount *nfs_d_automount(struct path *path) in nfs_d_automount() argument 150 struct nfs_server *server = NFS_SB(path->dentry->d_sb); in nfs_d_automount() 155 if (IS_ROOT(path->dentry)) in nfs_d_automount() 161 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path in nfs_d_automount() 211 nfs_namespace_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) nfs_namespace_getattr() argument [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_dentryfile.h | 191 struct path *parent_path; 199 struct path *path, loff_t *num, 248 void hmdfs_send_drop_push(struct hmdfs_peer *con, const char *path); 262 int hmdfs_root_unlink(uint64_t device_id, struct path *root_path, 271 int hmdfs_root_rmdir(uint64_t device_id, struct path *root_path, 279 unsigned int flags, struct path *path); 284 long cache_file_truncate(struct hmdfs_sb_info *sbi, const struct path *path, [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/ |
H A D | CleanOutputDirectoryTask.java | 85 private Path path = null; field in CleanOutputDirectoryTask.Retain 87 // Don't use "Path" for the argument type because that always makes an absolute path (e.g. 90 public void setPath(String path) { in setPath() argument 91 Path p = Paths.get(path).normalize(); in setPath() 92 checkBuild(!p.isAbsolute() && !p.startsWith(".."), "invalid path: %s", path); in setPath() 93 this.path = p; in setPath() 98 checkBuild(path != null, "missing 'path' attribute"); in init() 115 retained.add(retain.path); in addConfiguredRetain() 228 couldDelete(Path path, Path dir, Dir dirInfo) couldDelete() argument 232 wasAutoGenerated(Path path) wasAutoGenerated() argument [all...] |
/third_party/node/test/pummel/ |
H A D | test-policy-integrity-dep.js | 22 const path = require('path'); 69 common.requireNoPackageJSONAbove(tmpdir.path); 94 const configDirPath = path.join( 95 tmpdir.path, 98 const tmpPolicyPath = path.join( 99 tmpdir.path, 109 const manifestPath = path.join(configDirPath, policyPath); 113 const filePath = path.join(configDirPath, resourcePath); 197 const enoentFilepath = path [all...] |
H A D | test-policy-integrity-parent-commonjs.js | 22 const path = require('path'); 69 common.requireNoPackageJSONAbove(tmpdir.path); 95 const configDirPath = path.join( 96 tmpdir.path, 99 const tmpPolicyPath = path.join( 100 tmpdir.path, 110 const manifestPath = path.join(configDirPath, policyPath); 114 const filePath = path.join(configDirPath, resourcePath); 197 const enoentFilepath = path [all...] |
H A D | test-policy-integrity-parent-module.js | 22 const path = require('path'); 69 common.requireNoPackageJSONAbove(tmpdir.path); 95 const configDirPath = path.join( 96 tmpdir.path, 99 const tmpPolicyPath = path.join( 100 tmpdir.path, 110 const manifestPath = path.join(configDirPath, policyPath); 114 const filePath = path.join(configDirPath, resourcePath); 197 const enoentFilepath = path [all...] |
H A D | test-policy-integrity-parent-no-package-json.js | 22 const path = require('path'); 69 common.requireNoPackageJSONAbove(tmpdir.path); 95 const configDirPath = path.join( 96 tmpdir.path, 99 const tmpPolicyPath = path.join( 100 tmpdir.path, 110 const manifestPath = path.join(configDirPath, policyPath); 114 const filePath = path.join(configDirPath, resourcePath); 197 const enoentFilepath = path [all...] |
/third_party/libinput/tools/ |
H A D | libinput-measure-fuzz.py | 81 def __init__(self, path): 82 if path is None: 83 self.path = self.find_touch_device() 85 self.path = path 87 fd = open(self.path, "rb") 90 self.udev_device = pyudev.Devices.from_device_file(context, self.path) 311 syspath = device.path.replace("/dev/input/", "/sys/class/input/") 322 d = Device(device.path) 346 def check_file_for_lines(path, templat [all...] |
/third_party/python/Lib/xml/etree/ |
H A D | ElementPath.py | 360 def iterfind(elem, path, namespaces=None): 362 if path[-1:] == "/": 363 path = path + "*" # implicit all (FIXME: keep this?) 365 cache_key = (path,) 374 if path[:1] == "/": 375 raise SyntaxError("cannot use absolute path on element") 376 next = iter(xpath_tokenizer(path, namespaces)).__next__ 386 raise SyntaxError("invalid path") from None 404 def find(elem, path, namespace [all...] |
/third_party/skia/third_party/externals/zlib/google/ |
H A D | zip.cc | 59 for (const auto& path : paths) { 61 if (base::PathExists(path) && !base::DirectoryExists(path)) { 62 file = base::File(path, base::File::FLAG_OPEN | base::File::FLAG_READ); 79 for (base::FilePath path = file_enumerator.Next(); !path.value().empty(); 80 path = file_enumerator.Next()) { 81 files.push_back(DirectoryContentEntry(path, base::DirectoryExists(path))); 86 base::Time GetLastModifiedTime(const base::FilePath& path) overrid [all...] |
/third_party/python/Lib/test/test_importlib/frozen/ |
H A D | test_finder.py | 7 import os.path namespace 17 return os.path.join(STDLIB_DIR, *name.split('.'), '__init__.py') 19 return os.path.join(STDLIB_DIR, *name.split('.')) + '.py' 70 expected = [os.path.dirname(filename)] 107 for name, path in modules.items(): 109 filename = os.path.join(REPO_ROOT, *path) 148 for path in (None, object(), '', 'eggs', [], [''], ['eggs']): 149 with self.subTest((name, path)): 150 spec = self.find(name, path [all...] |
/third_party/selinux/libselinux/src/ |
H A D | stringrep.c | 53 char path[PATH_MAX]; in discover_class() local 85 ret = snprintf(path, sizeof path, "%s/class/%s/index", selinux_mnt,s); in discover_class() 86 if (ret < 0 || (size_t)ret >= sizeof path) in discover_class() 89 fd = open(path, O_RDONLY | O_CLOEXEC); in discover_class() 103 ret = snprintf(path, sizeof path, "%s/class/%s/perms",selinux_mnt,s); in discover_class() 104 if (ret < 0 || (size_t)ret >= sizeof path) in discover_class() 107 dir = opendir(path); in discover_class() 116 ret = snprintf(path, sizeo in discover_class() [all...] |
/kernel/linux/linux-6.6/fs/overlayfs/ |
H A D | params.c | 233 static int ovl_mount_dir_noesc(const char *name, struct path *path) in ovl_mount_dir_noesc() argument 241 err = kern_path(name, LOOKUP_FOLLOW, path); in ovl_mount_dir_noesc() 265 static int ovl_mount_dir(const char *name, struct path *path) in ovl_mount_dir() argument 272 err = ovl_mount_dir_noesc(tmp, path); in ovl_mount_dir() 278 static int ovl_mount_dir_check(struct fs_context *fc, const struct path *path, in ovl_mount_dir_check() argument 283 if (!d_is_dir(path->dentry)) in ovl_mount_dir_check() 292 if (sb_has_encoding(path in ovl_mount_dir_check() 340 ovl_add_layer(struct fs_context *fc, enum ovl_opt layer, struct path *path, char **pname) ovl_add_layer() argument 377 struct path path; ovl_parse_layer() local [all...] |
H A D | readdir.c | 267 static int ovl_check_whiteouts(const struct path *path, struct ovl_readdir_data *rdd) in ovl_check_whiteouts() argument 271 struct dentry *dentry, *dir = path->dentry; in ovl_check_whiteouts() 281 dentry = lookup_one(mnt_idmap(path->mnt), p->name, dir, p->len); in ovl_check_whiteouts() 294 static inline int ovl_dir_read(const struct path *realpath, in ovl_dir_read() 347 struct path realpath; in ovl_dir_read_merged() 459 static int ovl_cache_update_ino(const struct path *path, struct ovl_cache_entry *p) in ovl_cache_update_ino() argument 462 struct dentry *dir = path->dentry; in ovl_cache_update_ino() 484 this = lookup_one(mnt_idmap(path in ovl_cache_update_ino() 552 ovl_dir_read_impure(const struct path *path, struct list_head *list, struct rb_root *root) ovl_dir_read_impure() argument 597 ovl_cache_get_impure(const struct path *path) ovl_cache_get_impure() argument 1074 ovl_workdir_cleanup_recurse(struct ovl_fs *ofs, const struct path *path, int level) ovl_workdir_cleanup_recurse() argument 1144 struct path path = { .mnt = mnt, .dentry = dentry }; ovl_workdir_cleanup() local 1162 struct path path = { .mnt = ovl_upper_mnt(ofs), .dentry = indexdir }; ovl_indexdir_cleanup() local [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | stat.c | 94 * @path: file to get attributes from 105 int vfs_getattr_nosec(const struct path *path, struct kstat *stat, in vfs_getattr_nosec() argument 109 struct inode *inode = d_backing_inode(path->dentry); in vfs_getattr_nosec() 133 idmap = mnt_idmap(path->mnt); in vfs_getattr_nosec() 135 return inode->i_op->getattr(idmap, path, stat, in vfs_getattr_nosec() 146 * @path: The file of interest 165 int vfs_getattr(const struct path *path, struct kstat *stat, in vfs_getattr() argument 173 retval = security_inode_getattr(path); in vfs_getattr() 235 struct path path; vfs_statx() local 485 struct path path; do_readlinkat() local [all...] |
/third_party/node/tools/gyp/pylib/gyp/generator/ |
H A D | xcode.py | 113 def __init__(self, gyp_path, path, build_file_dict): 115 self.path = path 116 self.project = gyp.xcodeproj_file.PBXProject(path=path) 118 os.path.dirname(os.path.abspath(self.gyp_path)), 119 os.path.dirname(path) or ".", 127 # TODO(mark): add destructor that cleans up self.path i [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | xcode.py | 113 def __init__(self, gyp_path, path, build_file_dict): 115 self.path = path 116 self.project = gyp.xcodeproj_file.PBXProject(path=path) 118 os.path.dirname(os.path.abspath(self.gyp_path)), 119 os.path.dirname(path) or ".", 127 # TODO(mark): add destructor that cleans up self.path i [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ICUResourceBundle.java | 250 * Given a tree path and keyword, return a string enumeration of all possible values for that keyword. 296 * @param path The path to the required resource key 300 public ICUResourceBundle getWithFallback(String path) throws MissingResourceException { in getWithFallback() argument 304 ICUResourceBundle result = findResourceWithFallback(path, actualBundle, null); in getWithFallback() 310 path, getKey()); in getWithFallback() 314 throw new MissingResourceException("Encountered NO_INHERITANCE_MARKER", path, getKey()); in getWithFallback() 345 * @param path the path to the resource 348 public ICUResourceBundle findWithFallback(String path) { in findWithFallback() argument 351 findStringWithFallback(String path) findStringWithFallback() argument 356 getStringWithFallback(String path) getStringWithFallback() argument 374 getValueWithFallback(String path) getValueWithFallback() argument 394 getAllItemsWithFallbackNoFail(String path, UResource.Sink sink) getAllItemsWithFallbackNoFail() argument 402 getAllItemsWithFallback(String path, UResource.Sink sink) getAllItemsWithFallback() argument 888 findResourceWithFallback(String path, UResourceBundle actualBundle, UResourceBundle requested) findResourceWithFallback() argument 950 findStringWithFallback(String path, UResourceBundle actualBundle, UResourceBundle requested) findStringWithFallback() argument 1071 countPathKeys(String path) countPathKeys() argument 1092 getResPathKeys(String path, int num, String[] keys, int start) getResPathKeys() argument [all...] |
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 70 return per_cpu_ptr(data->path, cpu); in etm_event_cpu_path_ptr() 161 free_percpu(event_data->path); in free_event_data() 183 * Each CPU has a single path between source and destination. As such in alloc_event_data() 184 * allocate an array using CPU numbers as indexes. That way a path in alloc_event_data() 190 event_data->path = alloc_percpu(struct list_head *); in alloc_event_data() 192 if (!event_data->path) { in alloc_event_data() 230 * Setup the path for each CPU in a trace session. We try to build in etm_setup_aux() 231 * trace path for each CPU in the mask. If we don't find an ETM in etm_setup_aux() 232 * for the CPU or fail to build a path, we clear the CPU from the in etm_setup_aux() 237 struct list_head *path; in etm_setup_aux() local 309 struct list_head *path; etm_event_start() local 369 struct list_head *path; etm_event_stop() local [all...] |
/kernel/linux/linux-5.10/fs/vboxsf/ |
H A D | vboxsf_wrappers.c | 80 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; in vboxsf_map_folder() 81 parms.path.u.pointer.size = shfl_string_buf_size(folder_name); in vboxsf_map_folder() 82 parms.path.u.pointer.u.linear_addr = (uintptr_t)folder_name; in vboxsf_map_folder() 116 * @parsed_path: The path of the file or folder relative to the shared folder 138 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; in vboxsf_create() 139 parms.path.u.pointer.size = shfl_string_buf_size(parsed_path); in vboxsf_create() 140 parms.path.u.pointer.u.linear_addr = (uintptr_t)parsed_path; in vboxsf_create() 169 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL_IN; in vboxsf_remove() 170 parms.path.u.pointer.size = shfl_string_buf_size(parsed_path); in vboxsf_remove() 171 parms.path in vboxsf_remove() [all...] |
/kernel/linux/linux-6.6/fs/vboxsf/ |
H A D | vboxsf_wrappers.c | 80 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; in vboxsf_map_folder() 81 parms.path.u.pointer.size = shfl_string_buf_size(folder_name); in vboxsf_map_folder() 82 parms.path.u.pointer.u.linear_addr = (uintptr_t)folder_name; in vboxsf_map_folder() 116 * @parsed_path: The path of the file or folder relative to the shared folder 138 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; in vboxsf_create() 139 parms.path.u.pointer.size = shfl_string_buf_size(parsed_path); in vboxsf_create() 140 parms.path.u.pointer.u.linear_addr = (uintptr_t)parsed_path; in vboxsf_create() 169 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL_IN; in vboxsf_remove() 170 parms.path.u.pointer.size = shfl_string_buf_size(parsed_path); in vboxsf_remove() 171 parms.path in vboxsf_remove() [all...] |
/kernel/linux/linux-6.6/tools/verification/rv/src/ |
H A D | in_kernel.c | 34 char path[MAX_PATH]; in __ikm_read_enable() local 38 snprintf(path, MAX_PATH, "rv/monitors/%s/enable", monitor_name); in __ikm_read_enable() 40 retval = tracefs_instance_file_read_number(NULL, path, &enabled); in __ikm_read_enable() 74 char path[MAX_PATH]; in ikm_write_enable() local 79 snprintf(path, MAX_PATH, "rv/monitors/%s/enable", monitor_name); in ikm_write_enable() 80 retval = tracefs_instance_file_write(NULL, path, enable_disable); in ikm_write_enable() 117 char path[MAX_PATH]; in ikm_read_desc() local 120 snprintf(path, MAX_PATH, "rv/monitors/%s/desc", monitor_name); in ikm_read_desc() 121 desc = tracefs_instance_file_read(NULL, path, NULL); in ikm_read_desc() 170 char path[MAX_PAT in ikm_write_reactor() local 188 char path[MAX_PATH]; ikm_read_reactor() local 247 char path[MAX_PATH]; ikm_has_id() local [all...] |
/kernel/uniproton/ |
H A D | build.py | 27 UniProton_home = os.path.dirname(os.path.abspath(__file__)) 28 sys.path.insert(0, "%s/cmake/common/build_auxiliary_script"%UniProton_home) 30 sys.path.insert(0, "%s/build/uniproton_ci_lib"%UniProton_home) 136 if not os.path.exists(self.build_tmp_dir): 138 if not os.path.exists(self.log_dir): 142 self.builder = BuilderNolog(os.path.join(self.log_dir, self.log_file)) 144 real_path = os.path.realpath(self.build_tmp_dir) 145 if os.path.exists(real_path): 175 folder_path = os.path [all...] |