| /OK3568_Linux_fs/kernel/fs/ntfs/ |
| H A D | dir.c | 144 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name() 145 ie->key.file_name.file_name_length, in ntfs_lookup_inode_by_name() 158 if (ie->key.file_name.file_name_type == FILE_NAME_DOS) { in ntfs_lookup_inode_by_name() 192 ie->key.file_name.file_name_type && in ntfs_lookup_inode_by_name() 194 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name() 195 ie->key.file_name.file_name_length, in ntfs_lookup_inode_by_name() 198 u8 type = ie->key.file_name.file_name_type; in ntfs_lookup_inode_by_name() 199 u8 len = ie->key.file_name.file_name_length; in ntfs_lookup_inode_by_name() 224 memcpy(name->name, ie->key.file_name.file_name, in ntfs_lookup_inode_by_name() 235 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/isp20/ |
| H A D | CaptureRawData.cpp | 272 char file_name[64] = {0}; in detect_capture_raw_status() local 273 snprintf(file_name, sizeof(file_name), "%s", CAPTURE_CNT_FILENAME); in detect_capture_raw_status() 277 bool ret = get_value_from_file(file_name, _capture_raw_num, rawFrmId); in detect_capture_raw_status() 280 snprintf(file_name, sizeof(file_name), "%.50s_c%d", CAPTURE_CNT_FILENAME, _camId); in detect_capture_raw_status() 281 get_value_from_file(file_name, _capture_raw_num, rawFrmId); in detect_capture_raw_status() 285 bool ret = set_value_to_file(file_name, _capture_raw_num, sequence); in detect_capture_raw_status() 288 snprintf(file_name, sizeof(file_name), "%.50s_c%d", CAPTURE_CNT_FILENAME, _camId); in detect_capture_raw_status() 289 set_value_to_file(file_name, _capture_raw_num, sequence); in detect_capture_raw_status() 303 char file_name[64] = {0}; in update_capture_raw_status() local 304 snprintf(file_name, sizeof(file_name), "%.63s", CAPTURE_CNT_FILENAME); in update_capture_raw_status() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/ |
| H A D | 32and64bit.patch | 17 -process_elf_file (const char *file_name, const char *lib, int *flag, 18 +process_elf_file32 (const char *file_name, const char *lib, int *flag, 46 + error (0, 0, _("%s is not a shared object file (Type: %d).\n"), file_name, 71 - error (0, 0, _("%s is a 32 bit ELF file.\n"), file_name); 73 - error (0, 0, _("%s is a 64 bit ELF file.\n"), file_name); 75 - error (0, 0, _("Unknown ELFCLASS in file %s.\n"), file_name); 219 +process_elf_file64 (const char *file_name, const char *lib, int *flag, 240 error (0, 0, _("%s is not a shared object file (Type: %d).\n"), file_name, 241 @@ -81,7 +254,7 @@ process_elf_file (const char *file_name, 250 @@ -100,7 +273,7 @@ process_elf_file (const char *file_name, [all …]
|
| /OK3568_Linux_fs/kernel/tools/power/x86/intel_pstate_tracer/ |
| H A D | intel_pstate_tracer.py | 103 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 104 if os.path.exists(file_name): 116 …g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "per… 117 …g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-b… 118 …g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 3 axis x1y2 title "io-boost… 119 …g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 4 axis x1y1 title "P-State"… 124 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 125 if os.path.exists(file_name): 135 …g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "per… 136 …g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-b… [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | build.py | 774 def stamp_internal(taskname, d, file_name, baseonly=False, noextra=False): argument 787 if file_name: 788 stamp = d.stamp[file_name] 789 extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or "" 792 file_name = d.getVar('BB_FILENAME') 803 stamp = bb.parse.siggen.stampfile(stamp, file_name, taskname, extrainfo) 811 def stamp_cleanmask_internal(taskname, d, file_name): argument 823 if file_name: 824 stamp = d.stampclean[file_name] 825 extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or "" [all …]
|
| /OK3568_Linux_fs/external/recovery/ |
| H A D | encryptedfs_provisioning.c | 48 int get_binary_file_contents(char *buffer, int buf_size, const char *file_name, int *out_size) in get_binary_file_contents() argument 53 in_file = fopen(file_name, "r"); in get_binary_file_contents() 74 int set_binary_file_contents(char *buffer, int buf_size, const char *file_name) in set_binary_file_contents() argument 79 out_file = fopen(file_name, "w"); in set_binary_file_contents() 97 int get_text_file_contents(char *buffer, int buf_size, char *file_name) in get_text_file_contents() argument 102 in_file = fopen(file_name, "r"); in get_text_file_contents() 120 int set_text_file_contents(char *buffer, char *file_name) in set_text_file_contents() argument 125 out_file = fopen(file_name, "w"); in set_text_file_contents()
|
| /OK3568_Linux_fs/buildroot/support/testing/tests/fs/ |
| H A D | test_jffs2.py | 7 for file_name in files_list: 8 file_name = file_name.strip() 9 if file_name.startswith("Dirent") and file_name.endswith(fname):
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_debug.c | 71 const u8 *file_name, u32 line_num, const u8 *func_name) in rt_alloc_dbg_buf() argument 86 name_size = (_os_strlen((u8 *)file_name) > DEBUG_MAX_NAME_LEN) ? in rt_alloc_dbg_buf() 87 DEBUG_MAX_NAME_LEN : _os_strlen((u8 *)file_name); in rt_alloc_dbg_buf() 88 _os_mem_cpy(phl_to_drvpriv(phl_info), dbg_buf->file_name, (u8 *)file_name, name_size); in rt_alloc_dbg_buf() 104 dbg_buf->buf_ptr, dbg_buf->buf_size, dbg_buf->file_name, in rt_alloc_dbg_buf() 115 const u8 *file_name, u32 line_num, const u8 *func_name) in rt_free_dbg_buf() argument 138 dbg_buf->buf_ptr, dbg_buf->buf_size, file_name, in rt_free_dbg_buf() 184 dbg_buf->file_name, dbg_buf->line_num, in rt_mem_dbg_deinit()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_debug.c | 71 const u8 *file_name, u32 line_num, const u8 *func_name) in rt_alloc_dbg_buf() argument 86 name_size = (_os_strlen((u8 *)file_name) > DEBUG_MAX_NAME_LEN) ? in rt_alloc_dbg_buf() 87 DEBUG_MAX_NAME_LEN : _os_strlen((u8 *)file_name); in rt_alloc_dbg_buf() 88 _os_mem_cpy(phl_to_drvpriv(phl_info), dbg_buf->file_name, (u8 *)file_name, name_size); in rt_alloc_dbg_buf() 104 dbg_buf->buf_ptr, dbg_buf->buf_size, dbg_buf->file_name, in rt_alloc_dbg_buf() 115 const u8 *file_name, u32 line_num, const u8 *func_name) in rt_free_dbg_buf() argument 138 dbg_buf->buf_ptr, dbg_buf->buf_size, file_name, in rt_free_dbg_buf() 184 dbg_buf->file_name, dbg_buf->line_num, in rt_mem_dbg_deinit()
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | cpufreq_governor.h | 53 #define gov_show_one(_gov, file_name) \ argument 54 static ssize_t show_##file_name \ 59 return sprintf(buf, "%u\n", tuners->file_name); \ 62 #define gov_show_one_common(file_name) \ argument 63 static ssize_t show_##file_name \ 67 return sprintf(buf, "%u\n", dbs_data->file_name); \
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/ |
| H A D | xcam_log.cpp | 163 const char* file_name = "/tmp/.rkaiq_log"; in xcam_get_runtime_log_level() local 165 if (!access(file_name, F_OK)) { in xcam_get_runtime_log_level() 166 FILE *fp = fopen(file_name, "r"); in xcam_get_runtime_log_level() 271 void xcam_set_log (const char* file_name) { in xcam_set_log() argument 272 if (NULL != file_name) { in xcam_set_log() 274 strncpy (log_file_name, file_name, LOG_FILE_NAME_MAX_LENGTH - 1); in xcam_set_log()
|
| /OK3568_Linux_fs/kernel/fs/incfs/ |
| H A D | pseudo_files.c | 217 static int validate_name(char *file_name) in validate_name() argument 219 struct mem_range name = range(file_name, strlen(file_name)); in validate_name() 390 const char __user *dir_name, const char *file_name, in notify_create() argument 408 file = incfs_lookup_dentry(dir_path.dentry, file_name); in notify_create() 477 char *file_name = NULL; in ioctl_create_file() local 495 file_name = strndup_user(u64_to_user_ptr(args.file_name), PATH_MAX); in ioctl_create_file() 496 if (IS_ERR(file_name)) { in ioctl_create_file() 497 error = PTR_ERR(file_name); in ioctl_create_file() 498 file_name = NULL; in ioctl_create_file() 502 error = validate_name(file_name); in ioctl_create_file() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/mm/ |
| H A D | subpage_prot.c | 30 char *file_name; variable 197 fd = open(file_name, O_RDWR); in test_file() 215 file_name, filesize, fileblock); in test_file() 231 file_name = argv[1]; in main() 233 file_name = "tempfile"; in main()
|
| /OK3568_Linux_fs/kernel/tools/perf/jvmti/ |
| H A D | libjvmti.c | 138 copy_class_filename(const char * class_sign, const char * file_name, char * result, size_t max_leng… in copy_class_filename() argument 155 for (j = 0; i < (max_length - 1) && file_name && j < strlen(file_name); j++, i++) in copy_class_filename() 156 result[i] = file_name[j]; in copy_class_filename() 161 strlcpy(result, file_name, max_length); in copy_class_filename() 170 char *file_name = NULL; in get_source_filename() local 181 ret = (*jvmti)->GetSourceFileName(jvmti, decl_class, &file_name); in get_source_filename() 193 copy_class_filename(class_sign, file_name, fn, PATH_MAX); in get_source_filename() 207 (*jvmti)->Deallocate(jvmti, (unsigned char *)file_name); in get_source_filename()
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/utils/ |
| H A D | path.py | 10 def findFile(file_name, directory): argument 15 if file_name in f: 16 return os.path.join(r, file_name)
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | resource_hwid.c | 116 static int hwid_adc_find_dtb(const char *file_name) in hwid_adc_find_dtb() argument 127 debug("[HW-ADC]: %s\n", file_name); in hwid_adc_find_dtb() 131 cell_name = strstr(file_name, KEY_WORDS_ADC_CTRL); in hwid_adc_find_dtb() 198 static int hwid_gpio_find_dtb(const char *file_name) in hwid_gpio_find_dtb() argument 206 debug("[HW-GPIO]: %s\n", file_name); in hwid_gpio_find_dtb() 217 cell_name = strstr(file_name, KEY_WORDS_GPIO); in hwid_gpio_find_dtb()
|
| /OK3568_Linux_fs/kernel/fs/notify/ |
| H A D | fsnotify.c | 192 struct qstr *file_name = NULL; in __fsnotify_parent() local 226 file_name = &name.name; in __fsnotify_parent() 232 ret = fsnotify(mask, data, data_type, p_inode, file_name, inode, 0); in __fsnotify_parent() 234 if (file_name) in __fsnotify_parent() 315 struct inode *dir, const struct qstr *file_name, in send_to_group() argument 361 file_name, cookie, iter_info); in send_to_group() 365 file_name, cookie, iter_info); in send_to_group() 463 const struct qstr *file_name, struct inode *inode, u32 cookie) in fsnotify() argument 541 ret = send_to_group(mask, data, data_type, dir, file_name, in fsnotify()
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | imagetool.c | 70 const char *file_name, in imagetool_save_subimage() argument 76 dfd = open(file_name, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, in imagetool_save_subimage() 80 file_name, strerror(errno)); in imagetool_save_subimage() 86 file_name, strerror(errno)); in imagetool_save_subimage()
|
| /OK3568_Linux_fs/u-boot/cmd/mvebu/ |
| H A D | bubt.c | 91 size_t (*read)(const char *file_name); 187 static size_t mmc_read_file(const char *file_name) in mmc_read_file() argument 213 rc = fs_read(file_name, get_load_addr(), 0, 0, &act_read); in mmc_read_file() 230 static size_t mmc_read_file(const char *file_name) in mmc_read_file() argument 369 static size_t usb_read_file(const char *file_name) in usb_read_file() argument 396 rc = fs_read(file_name, get_load_addr(), 0, 0, &act_read); in usb_read_file() 409 static size_t usb_read_file(const char *file_name) in usb_read_file() argument 424 static size_t tftp_read_file(const char *file_name) in tftp_read_file() argument 437 static size_t tftp_read_file(const char *file_name) in tftp_read_file() argument
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | tftp_update.c | 48 char file_name[32]; member 170 strcpy(e->file_name, name); in update_populate_image() 171 strcat(e->file_name, ".part.img"); in update_populate_image() 204 printf(" file: %s\n", e->file_name); in update_populate_image() 475 e->file_name, (ulong)e->buf); in download_image() 477 ret = tftp_download(e->buf, e->file_name); in download_image() 584 strcpy(e->file_name, name); in update_write_gpt() 589 printf("\n# %s:\n", e->file_name); in update_write_gpt() 599 e->file_name, ret); in update_write_gpt() 720 e->file_name, ret); in do_tftp_full_update() [all …]
|
| /OK3568_Linux_fs/kernel/fs/notify/fanotify/ |
| H A D | fanotify.c | 487 const struct qstr *file_name, in fanotify_alloc_name_event() argument 501 if (file_name) in fanotify_alloc_name_event() 502 size += file_name->len + 1; in fanotify_alloc_name_event() 517 if (file_name) in fanotify_alloc_name_event() 518 fanotify_info_copy_name(info, file_name); in fanotify_alloc_name_event() 530 const struct qstr *file_name, in fanotify_alloc_event() argument 570 file_name = NULL; in fanotify_alloc_event() 593 } else if (name_event && (file_name || child)) { in fanotify_alloc_event() 594 event = fanotify_alloc_name_event(id, fsid, file_name, child, in fanotify_alloc_event() 657 const struct qstr *file_name, u32 cookie, in fanotify_handle_event() argument [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/ |
| H A D | builtin-kvm.c | 1090 .path = kvm->file_name, in read_events() 1225 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm->file_name); in kvm_events_record() 1488 static int kvm_cmd_stat(const char *file_name, int argc, const char **argv) in kvm_cmd_stat() argument 1491 .file_name = file_name, in kvm_cmd_stat() 1526 static int __cmd_record(const char *file_name, int argc, const char **argv) in __cmd_record() argument 1539 rec_argv[i++] = strdup(file_name); in __cmd_record() 1548 static int __cmd_report(const char *file_name, int argc, const char **argv) in __cmd_report() argument 1557 rec_argv[i++] = strdup(file_name); in __cmd_report() 1567 __cmd_buildid_list(const char *file_name, int argc, const char **argv) in __cmd_buildid_list() argument 1576 rec_argv[i++] = strdup(file_name); in __cmd_buildid_list() [all …]
|
| /OK3568_Linux_fs/app/lvgl_demo/hal/ |
| H A D | evdev.c | 66 char file_name[TP_NAME_LEN]; in evdev_get_tp_event() local 86 sprintf(file_name, "/sys/class/input/input%d/name", i); in evdev_get_tp_event() 87 fd = open(file_name, O_RDONLY); in evdev_get_tp_event() 89 printf("%s: open %s failed\n", __func__, file_name); in evdev_get_tp_event() 95 printf("%s: read %s failed\n", __func__, file_name); in evdev_get_tp_event() 107 printf("%s: %s = %s%s\n", __func__, file_name, tp_name, tp_event); in evdev_get_tp_event()
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/browser/ |
| H A D | test_builddashboard_page_artifacts.py | 91 file_name='/home/foo/core-image-minimal.toolchain.sh') 95 file_name='/home/foo/x86_64.toolchain.sh') 153 file_name='/home/foo/core-image-minimal.ext4', file_size=9000) 156 file_name='/home/foo/bzImage', file_size=2000) 159 file_name='/home/foo/bzImage', file_size=2000)
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | insert-sys-cert.c | 201 static void *map_file(char *file_name, int *size) in map_file() argument 207 fd = open(file_name, O_RDWR); in map_file() 209 perror(file_name); in map_file() 228 static char *read_file(char *file_name, int *size) in read_file() argument 234 fd = open(file_name, O_RDONLY); in read_file() 236 perror(file_name); in read_file()
|