Home
last modified time | relevance | path

Searched refs:f_path (Results 1 - 12 of 12) sorted by relevance

/third_party/toybox/toys/other/
H A Dlosetup.c106 char *f_path = xabspath(file, ABS_PATH); in loopback_setup() local
108 if (!f_path) perror_exit("%s", file); // already opened but if deleted since in loopback_setup()
110 free(f_path); in loopback_setup()
114 xstrncpy((char *)loop->lo_file_name, f_path, LO_NAME_SIZE); in loopback_setup()
115 free(f_path); in loopback_setup()
/third_party/ltp/testcases/kernel/fs/doio/
H A Diogen.c93 char f_path[MAX_FNAME_LENGTH + 1]; /* file name (full path) */ member
520 File_List[i].f_path, File_List[i].f_length, in startup_info()
764 strcpy(req->r_data.read.r_file, fptr->f_path); in form_iorequest()
778 strcpy(req->r_data.write.r_file, fptr->f_path); in form_iorequest()
809 strcpy(req->r_data.io.r_file, fptr->f_path); in form_iorequest()
826 strcpy(req->r_data.io.r_file, fptr->f_path); in form_iorequest()
852 strcpy(req->r_data.io.r_file, fptr->f_path); in form_iorequest()
911 strcpy(req->r_data.listio.r_file, fptr->f_path); in form_iorequest()
964 if (stat(rec->f_path, &sbuf) == -1) { in get_file_info()
967 TagName, rec->f_path, SYSER in get_file_info()
[all...]
/third_party/musl/src/malloc/liteos_a/user_debug/
H A Dmemory_check.c45 char *f_path; member
230 if (!mem_stat.f_path) { in file_path_init()
234 pos = strrchr(mem_stat.f_path, '/'); in file_path_init()
236 len = pos - mem_stat.f_path + 1; in file_path_init()
237 strncpy(mem_stat.f_path_buf, mem_stat.f_path, PATH_MAX - 1); in file_path_init()
240 snprintf(mem_stat.f_path_buf, PATH_MAX, "pid(%d)_%s", getpid(), mem_stat.f_path); in file_path_init()
739 void mem_check_init(char *f_path) in mem_check_init() argument
748 if (!f_path) { in mem_check_init()
752 if (strlen(f_path) > (PATH_MAX - PREFIX_PLACE_HOLDER - 1)) { in mem_check_init()
753 printf("file name: %s is too long, %s\n", f_path, strin in mem_check_init()
[all...]
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
H A Dmemory_check.c30 char *f_path; member
215 if (!mem_stat.f_path) { in file_path_init()
219 pos = strrchr(mem_stat.f_path, '/'); in file_path_init()
221 len = pos - mem_stat.f_path + 1; in file_path_init()
222 strncpy(mem_stat.f_path_buf, mem_stat.f_path, PATH_MAX - 1); in file_path_init()
225 snprintf(mem_stat.f_path_buf, PATH_MAX, "pid(%d)_%s", getpid(), mem_stat.f_path); in file_path_init()
724 void mem_check_init(char *f_path) in mem_check_init() argument
733 if (!f_path) { in mem_check_init()
737 if (strlen(f_path) > (PATH_MAX - PREFIX_PLACE_HOLDER - 1)) { in mem_check_init()
738 printf("file name: %s is too long, %s\n", f_path, strin in mem_check_init()
[all...]
/third_party/musl/porting/liteos_a/user_debug/include/
H A Ddebug.h13 * @param f_path The full path of the file to be created where the memory debug information will be written.
19 void mem_check_init(char *f_path);
/third_party/musl/include/liteos_a/user_debug/
H A Ddebug.h28 * @param f_path The full path of the file to be created where the memory debug information will be written.
34 void mem_check_init(char *f_path);
/third_party/NuttX/fs/vfs/
H A Dfs_dupfd.c85 if ((filep->f_vnode == NULL) || (filep->f_path == NULL)) in file_dup()
H A Dfs_open.c100 if ((file == NULL) || (file->f_vnode == NULL) || (file->f_path == NULL)) in get_path_from_fd()
105 copypath = strdup((const char*)file->f_path); in get_path_from_fd()
/third_party/NuttX/fs/inode/
H A Dfs_files.c225 PRINTK("Removing bchar device %s failed\n", filep->f_path); in _files_close()
366 filep2->f_path = filep1->f_path; in file_dup2()
456 filep->f_path = vnode_ptr->filePath; in files_allocate()
/third_party/NuttX/fs/vfs/include/
H A Dfile.h98 char *f_path; /* File fullpath */ member
/third_party/toybox/toys/pending/
H A Ddiff.c472 char *tmp = NULL, *ptr, *f_path = dirtree_path(node, NULL); in skip() local
475 ptr = f_path; in skip()
482 free(f_path); in skip()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_dev.c789 DPRINTFN(2, "%s fflags=0x%08x\n", filep->f_path, fflags); in usb_open()

Completed in 11 milliseconds