/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_fw.c | 60 uc_fw->file_selected.path : intel_uc_fw_status_repr(status)); in intel_uc_fw_change_status() 188 const char *path; in INTEL_GUC_FIRMWARE_DEFS() local 200 .path = path_, 300 if (uc_fw->file_selected.path) { in __uc_fw_auto_select() 303 * Once the previously chosen path has been found, clear it out in __uc_fw_auto_select() 306 if (uc_fw->file_selected.path == blob->path) in __uc_fw_auto_select() 307 uc_fw->file_selected.path = NULL; in __uc_fw_auto_select() 312 uc_fw->file_selected.path = blob->path; in __uc_fw_auto_select() 454 const char *path = NULL; __uc_fw_user_override() local [all...] |
/kernel/liteos_m/components/fs/vfs/ |
H A D | vfs_fs.c | 119 * @brief Get canonical form of a given path based on cwd(Current working directory). 122 * @param path Indicates the path to be canonicalization. 125 * @return Returns the length of the canonical path. 127 * @attention if path is an absolute path, cwd is ignored. if cwd if not specified, it is assumed to be root('/'). 129 * length of the canonical path. 131 static size_t GetCanonicalPath(const char *cwd, const char *path, char *buf, size_t bufSize) in GetCanonicalPath() argument 134 if (!path) { in GetCanonicalPath() 135 path in GetCanonicalPath() 207 VfsPathCheck(const char *path, bool isFile) VfsPathCheck() argument 229 VfsOpen(const char *path, int flags) VfsOpen() argument 494 open(const char *path, int flags, ...) open() argument 690 stat(const char *path, struct stat *stat) stat() argument 730 statfs(const char *path, struct statfs *buf) statfs() argument 767 unlink(const char *path) unlink() argument 883 opendir(const char *path) opendir() argument 1011 mkdir(const char *path, mode_t mode) mkdir() argument 1044 rmdir(const char *path) rmdir() argument 1074 lstat(const char *path, struct stat *buffer) lstat() argument 1267 access(const char *path, int amode) access() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | phy.c | 798 /* BoardType of each RF path is matched*/ in _rtl8821ae_check_positive() 908 u8 band, u8 path, in _rtl8821ae_phy_set_txpower_by_rate_base() 915 if (path > RF90_PATH_D) { in _rtl8821ae_phy_set_txpower_by_rate_base() 917 "Invalid Rf Path %d in phy_SetTxPowerByRatBase()\n", path); in _rtl8821ae_phy_set_txpower_by_rate_base() 924 rtlphy->txpwr_by_rate_base_24g[path][txnum][0] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 927 rtlphy->txpwr_by_rate_base_24g[path][txnum][1] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 930 rtlphy->txpwr_by_rate_base_24g[path][txnum][2] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 933 rtlphy->txpwr_by_rate_base_24g[path][txnum][3] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 936 rtlphy->txpwr_by_rate_base_24g[path][txnum][4] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 939 rtlphy->txpwr_by_rate_base_24g[path][txnu in _rtl8821ae_phy_set_txpower_by_rate_base() 907 _rtl8821ae_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 rate_section, u8 txnum, u8 value) _rtl8821ae_phy_set_txpower_by_rate_base() argument 976 _rtl8821ae_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 txnum, u8 rate_section) _rtl8821ae_phy_get_txpower_by_rate_base() argument 1053 u8 base = 0, path = 0; _rtl8821ae_phy_store_txpower_by_rate_base() local 2226 _rtl8821ae_phy_get_ratesection_intxpower_byrate(u8 path, u8 rate) _rtl8821ae_phy_get_ratesection_intxpower_byrate() argument 2490 _rtl8821ae_phy_get_txpower_by_rate(struct ieee80211_hw *hw, u8 band, u8 path, u8 rate) _rtl8821ae_phy_get_txpower_by_rate() argument 2601 _rtl8821ae_get_txpower_index(struct ieee80211_hw *hw, u8 path, u8 rate, u8 bandwidth, u8 channel) _rtl8821ae_get_txpower_index() argument 2728 _rtl8821ae_phy_set_txpower_index(struct ieee80211_hw *hw, u8 power_index, u8 path, u8 rate) _rtl8821ae_phy_set_txpower_index() argument 3137 _rtl8821ae_phy_set_txpower_level_by_path(struct ieee80211_hw *hw, u8 *array, u8 path, u8 channel, u8 size) _rtl8821ae_phy_set_txpower_level_by_path() argument 3156 _rtl8821ae_phy_txpower_training_by_path(struct ieee80211_hw *hw, u8 bw, u8 channel, u8 path) _rtl8821ae_phy_txpower_training_by_path() argument 3194 rtl8821ae_phy_set_txpower_level_by_path(struct ieee80211_hw *hw, u8 channel, u8 path) rtl8821ae_phy_set_txpower_level_by_path() argument 3258 u8 path = 0; rtl8821ae_phy_set_txpower_level() local 3495 u8 path; rtl8821ae_phy_sw_chnl_callback() local 3673 _rtl8821ae_iqk_tx_fill_iqc(struct ieee80211_hw *hw, enum radio_path path, u32 tx_x, u32 tx_y) _rtl8821ae_iqk_tx_fill_iqc() argument 3699 _rtl8821ae_iqk_rx_fill_iqc(struct ieee80211_hw *hw, enum radio_path path, u32 rx_x, u32 rx_y) _rtl8821ae_iqk_rx_fill_iqc() argument 3722 _rtl8821ae_iqk_tx(struct ieee80211_hw *hw, enum radio_path path) _rtl8821ae_iqk_tx() argument 4415 _rtl8821ae_iqk_restore_rf(struct ieee80211_hw *hw, enum radio_path path, u32 *backup_rf_reg, u32 *rf_backup, u32 rf_reg_num) _rtl8821ae_iqk_restore_rf() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | phy.c | 797 /* BoardType of each RF path is matched*/ in _rtl8821ae_check_positive() 907 u8 band, u8 path, in _rtl8821ae_phy_set_txpower_by_rate_base() 914 if (path > RF90_PATH_D) { in _rtl8821ae_phy_set_txpower_by_rate_base() 916 "Invalid Rf Path %d in phy_SetTxPowerByRatBase()\n", path); in _rtl8821ae_phy_set_txpower_by_rate_base() 923 rtlphy->txpwr_by_rate_base_24g[path][txnum][0] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 926 rtlphy->txpwr_by_rate_base_24g[path][txnum][1] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 929 rtlphy->txpwr_by_rate_base_24g[path][txnum][2] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 932 rtlphy->txpwr_by_rate_base_24g[path][txnum][3] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 935 rtlphy->txpwr_by_rate_base_24g[path][txnum][4] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 938 rtlphy->txpwr_by_rate_base_24g[path][txnu in _rtl8821ae_phy_set_txpower_by_rate_base() 906 _rtl8821ae_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 rate_section, u8 txnum, u8 value) _rtl8821ae_phy_set_txpower_by_rate_base() argument 975 _rtl8821ae_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 txnum, u8 rate_section) _rtl8821ae_phy_get_txpower_by_rate_base() argument 1052 u8 base = 0, path = 0; _rtl8821ae_phy_store_txpower_by_rate_base() local 2222 _rtl8821ae_phy_get_ratesection_intxpower_byrate(u8 path, u8 rate) _rtl8821ae_phy_get_ratesection_intxpower_byrate() argument 2487 _rtl8821ae_phy_get_txpower_by_rate(struct ieee80211_hw *hw, u8 band, u8 path, u8 rate) _rtl8821ae_phy_get_txpower_by_rate() argument 2598 _rtl8821ae_get_txpower_index(struct ieee80211_hw *hw, u8 path, u8 rate, u8 bandwidth, u8 channel) _rtl8821ae_get_txpower_index() argument 2725 _rtl8821ae_phy_set_txpower_index(struct ieee80211_hw *hw, u8 power_index, u8 path, u8 rate) _rtl8821ae_phy_set_txpower_index() argument 3134 _rtl8821ae_phy_set_txpower_level_by_path(struct ieee80211_hw *hw, u8 *array, u8 path, u8 channel, u8 size) _rtl8821ae_phy_set_txpower_level_by_path() argument 3153 _rtl8821ae_phy_txpower_training_by_path(struct ieee80211_hw *hw, u8 bw, u8 channel, u8 path) _rtl8821ae_phy_txpower_training_by_path() argument 3191 rtl8821ae_phy_set_txpower_level_by_path(struct ieee80211_hw *hw, u8 channel, u8 path) rtl8821ae_phy_set_txpower_level_by_path() argument 3255 u8 path = 0; rtl8821ae_phy_set_txpower_level() local 3492 u8 path; rtl8821ae_phy_sw_chnl_callback() local 3670 _rtl8821ae_iqk_tx_fill_iqc(struct ieee80211_hw *hw, enum radio_path path, u32 tx_x, u32 tx_y) _rtl8821ae_iqk_tx_fill_iqc() argument 3696 _rtl8821ae_iqk_rx_fill_iqc(struct ieee80211_hw *hw, enum radio_path path, u32 rx_x, u32 rx_y) _rtl8821ae_iqk_rx_fill_iqc() argument 3719 _rtl8821ae_iqk_tx(struct ieee80211_hw *hw, enum radio_path path) _rtl8821ae_iqk_tx() argument 4412 _rtl8821ae_iqk_restore_rf(struct ieee80211_hw *hw, enum radio_path path, u32 *backup_rf_reg, u32 *rf_backup, u32 rf_reg_num) _rtl8821ae_iqk_restore_rf() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 156 const char *const path) in mkdir_parents() 162 ASSERT_NE(path[0], '\0'); in mkdir_parents() 163 walker = strdup(path); in mkdir_parents() 182 const char *const path) in create_directory() 184 mkdir_parents(_metadata, path); in create_directory() 185 ASSERT_EQ(0, mkdir(path, 0700)) in create_directory() 187 TH_LOG("Failed to create directory \"%s\": %s", path, in create_directory() 193 const char *const path) in create_file() 195 mkdir_parents(_metadata, path); in create_file() 196 ASSERT_EQ(0, mknod(path, S_IFRE in create_file() 155 mkdir_parents(struct __test_metadata *const _metadata, const char *const path) mkdir_parents() argument 181 create_directory(struct __test_metadata *const _metadata, const char *const path) create_directory() argument 192 create_file(struct __test_metadata *const _metadata, const char *const path) create_file() argument 203 remove_path(const char *const path) remove_path() argument 382 test_open_rel(const int dirfd, const char *const path, const int flags) test_open_rel() argument 400 test_open(const char *const path, const int flags) test_open() argument 610 add_path_beneath(struct __test_metadata *const _metadata, const int ruleset_fd, const __u64 allowed_access, const char *const path) add_path_beneath() argument 634 const char *path; global() member 1842 test_execute(struct __test_metadata *const _metadata, const int err, const char *const path) test_execute() argument 3282 test_truncate(const char *const path) test_truncate() argument 3293 test_creat(const char *const path) test_creat() argument 3496 const char *const path = file1_s1d1; TEST_F_FORK() local 3635 const char *const path = file1_s1d1; TEST_F_FORK() local 3676 const char *const path = file1_s1d1; TEST_F_FORK() local [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | file.c | 225 struct btrfs_path *path = args->path; in btrfs_drop_extents() local 230 /* Must always have a path if ->replace_extent is true */ in btrfs_drop_extents() 231 ASSERT(!(args->replace_extent && !args->path)); in btrfs_drop_extents() 233 if (!path) { in btrfs_drop_extents() 234 path = btrfs_alloc_path(); in btrfs_drop_extents() 235 if (!path) { in btrfs_drop_extents() 250 ret = btrfs_lookup_file_extent(trans, root, path, ino, in btrfs_drop_extents() 254 if (ret > 0 && path->slots[0] > 0 && search_start == args->start) { in btrfs_drop_extents() 255 leaf = path in btrfs_drop_extents() 599 struct btrfs_path *path; btrfs_mark_extent_written() local 2064 fill_holes(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, u64 offset, u64 end) fill_holes() argument 2233 btrfs_insert_replace_extent(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_replace_extent_info *extent_info, const u64 replace_len, const u64 bytes_to_drop) btrfs_insert_replace_extent() argument 2327 btrfs_replace_file_extents(struct btrfs_inode *inode, struct btrfs_path *path, const u64 start, const u64 end, struct btrfs_replace_extent_info *extent_info, struct btrfs_trans_handle **trans_out) btrfs_replace_file_extents() argument 2592 struct btrfs_path *path; btrfs_punch_hole() local 3464 struct btrfs_path *path; find_desired_extent() local [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | scripts_path.py | 1 """Add our Python library directory to the module search path. 26 sys.path.append(os.path.join(os.path.dirname(__file__), 27 os.path.pardir, os.path.pardir,
|
/third_party/rust/crates/syn/codegen/src/ |
H A D | workspace_path.rs | 1 use std::path::{Path, PathBuf}; 4 let mut path = PathBuf::from(env!("CARGO_MANIFEST_DIR")); in get() variables 5 assert!(path.pop()); in get() 6 path.push(relative_to_workspace_root); in get() 7 path in get()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | fs_struct.h | 5 #include <linux/path.h> 15 struct path root, pwd; 21 extern void set_fs_root(struct fs_struct *, const struct path *); 22 extern void set_fs_pwd(struct fs_struct *, const struct path *); 27 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root() 35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | fs_struct.h | 5 #include <linux/path.h> 15 struct path root, pwd; 21 extern void set_fs_root(struct fs_struct *, const struct path *); 22 extern void set_fs_pwd(struct fs_struct *, const struct path *); 27 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root() 35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd()
|
/third_party/cups-filters/ |
H A D | install.py | 31 if not os.path.exists(target_dir): 52 path = argparse.ArgumentParser() 53 path.add_argument('--gen-dir', help='generate path of log', required=True) 54 path.add_argument('--source-dir', help='generate path of log', required=True) 55 args = path.parse_args() 56 convs_dir = os.path.join(args.source_dir, "mime")
|
/third_party/NuttX/fs/driver/ |
H A D | fs_registerdriver.c | 45 * path - The path to the vnode to create 55 * EINVAL - 'path' is invalid for this operation 56 * EEXIST - An vnode already exists at 'path' 61 int register_driver(const char *path, const struct file_operations_vfs *fops, in register_driver() argument 67 if (path == NULL || strlen(path) >= PATH_MAX || strncmp("/dev/", path, DEV_PATH_LEN) != 0) in register_driver() 73 ret = VnodeLookup(path, &vnode, 0); in register_driver() 90 ret = VnodeLookup(path, in register_driver() [all...] |
/third_party/ltp/lib/ |
H A D | tst_path_has_mnt_flags.c | 25 * Check whether a path is on a filesystem that is mounted with 29 const char *path, const char *flags[]) in tst_path_has_mnt_flags_() 41 if (path == NULL) in tst_path_has_mnt_flags_() 42 path = tmpdir = tst_get_tmpdir(); in tst_path_has_mnt_flags_() 44 if (access(path, F_OK) == -1) { in tst_path_has_mnt_flags_() 46 "tst_path_has_mnt_flags: path %s doesn't exist", path); in tst_path_has_mnt_flags_() 64 if (strncmp(path, mnt->mnt_dir, prefix_len) == 0 in tst_path_has_mnt_flags_() 28 tst_path_has_mnt_flags_(void (cleanup_fn)(void), const char *path, const char *flags[]) tst_path_has_mnt_flags_() argument
|
/third_party/ltp/include/ |
H A D | safe_file_ops_fn.h | 40 const char *path, const char *fmt, ...) 45 const char *path, const char *fmt, ...) 50 const char *path, const char *fmt, ...) 57 const char *path, const char *fmt, ...) 62 const char *path, const char *fmt, ...) 66 void (*cleanup_fn)(void), const char *path, const char *fmt, ...)
|
/third_party/node/deps/v8/third_party/inspector_protocol/ |
H A D | convert_protocol_to_json.py | 8 import os.path namespace 13 def open_to_write(path): 15 return open(path, 'w', encoding='utf-8') 17 return open(path, 'wb') 30 file_name = os.path.normpath(args.pdl_file) 35 output_file = open_to_write(os.path.normpath(args.json_file))
|
/third_party/musl/porting/liteos_m_iccarm/kernel/src/misc/ |
H A D | realpath.c | 41 * LiteOS-M file system uses abs path 53 char *realpath(const char *__restrict path, char *__restrict resolved_path) in realpath() argument 59 if (!path || !*path || !resolved_path) { in realpath() 64 namelen = vfs_strnlen(path, PATH_MAX); in realpath() 73 // LiteOS-M file system uses abs path, so we just stat path and strcpy it. in realpath() 74 if (stat(path, &st) < 0) { in realpath() 79 res = strcpy_s(resolved_path, PATH_MAX, path); in realpath()
|
/third_party/ltp/testcases/network/nfsv4/acl/ |
H A D | test_long_acl.py | 19 def test_longacl(l,path): 23 u = subprocess.getoutput('rm ' + path + "/*") # clean directory 28 u = subprocess.getoutput('touch ' + path + "/" + testfile) 33 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + testfile) 35 print("setfacl -m u:" + user + ':' + mode + " " + path + "/" + testfile) 40 parser.add_option("-p", "--path", dest="path",help="path of test file") 42 test_longacl(options.length,options.path)
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | dprintf.c | 53 const char *path = "/data/test.txt"; in dprintf_0300() local 54 int fd = open(path, O_CREAT | O_WRONLY, TEST_MODE); in dprintf_0300() 63 remove(path); in dprintf_0300() 74 const char *path = "/data/test.txt"; in dprintf_0400() local 75 int fd = open(path, O_CREAT | O_RDONLY, TEST_MODE); in dprintf_0400() 82 remove(path); in dprintf_0400()
|
H A D | fgetpos.c | 33 const char *path = "/data/test.txt"; in fgetpos_0100() local 35 FILE *fp = fopen(path, "w+"); in fgetpos_0100() 45 remove(path); in fgetpos_0100() 57 const char *path = "/data/test.txt"; in fgetpos_0200() local 59 FILE *fptr = fopen(path, "w+"); in fgetpos_0200() 68 remove(path); in fgetpos_0200()
|
/third_party/skia/third_party/externals/brotli/scripts/ |
H A D | fix-win-bazel-build.py | 3 import os.path namespace 11 matches.append(os.path.join(root, filename)) 28 dst = os.path.join(runfiles, alias) 29 if not os.path.exists(dst): 31 parent = os.path.dirname(dst) 32 if not os.path.exists(parent):
|
/third_party/python/Lib/test/ |
H A D | test_startfile.py | 16 from os import path namespace 31 with os_helper.change_cwd(path.dirname(sys.executable)): 32 empty = path.join(path.dirname(__file__), "empty.vbs") 35 startfile(empty, cwd=path.dirname(sys.executable)) 40 cwd, name = path.split(sys.executable)
|
/third_party/skia/docs/examples/ |
H A D | convex_overstroke_quad.cpp | 17 SkPath path; in REG_FIDDLE() local 18 path.moveTo(p1); in REG_FIDDLE() 19 path.lineTo(p2); in REG_FIDDLE() 20 path.quadTo(p3, p1); in REG_FIDDLE() 21 // path.close(); in REG_FIDDLE() 30 p.getFillPath(path, &fillpath); in REG_FIDDLE() 37 canvas->drawPath(path, p); in REG_FIDDLE()
|
H A D | default3.cpp | 7 SkPath path; in REG_FIDDLE() local 8 path.moveTo(C + R, C); in REG_FIDDLE() 11 path.lineTo(C + R * cos(a), C + R * sin(a)); in REG_FIDDLE() 13 return path; in REG_FIDDLE() 24 SkPath path(star()); in REG_FIDDLE() 25 canvas->drawPath(path, paint); in REG_FIDDLE()
|
/third_party/skia/infra/bots/assets/ccache_mac/ |
H A D | create.py | 17 FILE_DIR = os.path.dirname(os.path.abspath(__file__)) 18 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir)) 19 sys.path.insert(0, INFRA_BOTS_DIR) 28 # configure --prefix requires an absolute path. 29 target_dir = os.path.abspath(target_dir)
|
/third_party/skia/infra/bots/assets/ccache_linux/ |
H A D | create.py | 18 FILE_DIR = os.path.dirname(os.path.abspath(__file__)) 19 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir)) 20 sys.path.insert(0, INFRA_BOTS_DIR) 28 # configure --prefix requires an absolute path. 29 target_dir = os.path.abspath(target_dir)
|