Home
last modified time | relevance | path

Searched refs:nameptr (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/fs/btrfs/
H A Dsubvolume.c81 static void list_subvols(u64 tree, char *nameptr, int max_name_len, int level) in list_subvols() argument
104 if (nameptr && !get_subvol_name(found_key->offset, nameptr, in list_subvols()
106 printf("%s\n", nameptr); in list_subvols()
112 list_subvols(found_key->offset, nameptr, max_name_len, in list_subvols()
124 char *nameptr = malloc(4096); in btrfs_list_subvols() local
126 list_subvols(BTRFS_FS_TREE_OBJECTID, nameptr, nameptr ? 4096 : 0, 40); in btrfs_list_subvols()
128 if (nameptr) in btrfs_list_subvols()
129 free(nameptr); in btrfs_list_subvols()
/openbmc/linux/fs/efs/
H A Ddir.c64 const char *nameptr; in efs_readdir() local
74 nameptr = dirslot->name; in efs_readdir()
77 inodenum, nameptr, namelen); in efs_readdir()
84 if (nameptr - (char *) dirblock + namelen > EFS_DIRBSIZE) { in efs_readdir()
91 if (!dir_emit(ctx, nameptr, namelen, inodenum, DT_UNKNOWN)) { in efs_readdir()
H A Dnamei.c21 char *nameptr; in efs_find_entry() local
52 nameptr = dirslot->name; in efs_find_entry()
54 if ((namelen == len) && (!memcmp(name, nameptr, len))) { in efs_find_entry()
/openbmc/qemu/bsd-user/freebsd/
H A Dos-misc.h37 abi_long mode, abi_ulong shmflags, abi_ulong nameptr) in do_freebsd_shm_open2() argument
52 if (nameptr != 0) { in do_freebsd_shm_open2()
53 uname = lock_user_string(nameptr); in do_freebsd_shm_open2()
67 unlock_user(uname, nameptr, 0); in do_freebsd_shm_open2()
/openbmc/phosphor-pid-control/pid/ec/
H A Dpid.cpp49 const std::string* nameptr) in pid() argument
51 if (nameptr) in pid()
55 LogInit(*nameptr, pidinfoptr); in pid()
59 auto logPtr = nameptr ? LogPeek(*nameptr) : nullptr; in pid()
H A Dpid.hpp46 const std::string* nameptr = nullptr);
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_ro.c237 const char *nameptr; in fdt_get_name() local
244 nameptr = nh->name; in fdt_get_name()
253 leaf = strrchr(nameptr, '/'); in fdt_get_name()
258 nameptr = leaf+1; in fdt_get_name()
262 *len = strlen(nameptr); in fdt_get_name()
264 return nameptr; in fdt_get_name()
/openbmc/linux/scripts/dtc/libfdt/
H A Dfdt_ro.c303 const char *nameptr; in fdt_get_name() local
310 nameptr = nh->name; in fdt_get_name()
319 leaf = strrchr(nameptr, '/'); in fdt_get_name()
324 nameptr = leaf+1; in fdt_get_name()
328 *len = strlen(nameptr); in fdt_get_name()
330 return nameptr; in fdt_get_name()
/openbmc/linux/net/9p/
H A Dprotocol.c774 char *nameptr; in p9dirent_read() local
782 &dirent->d_off, &dirent->d_type, &nameptr); in p9dirent_read()
789 ret = strscpy(dirent->d_name, nameptr, sizeof(dirent->d_name)); in p9dirent_read()
793 nameptr); in p9dirent_read()
794 kfree(nameptr); in p9dirent_read()
797 kfree(nameptr); in p9dirent_read()
/openbmc/linux/drivers/video/fbdev/sis/
H A Dsis_main.c188 char *nameptr = name; in sisfb_search_mode() local
220 nameptr = strbuf; in sisfb_search_mode()
224 nameptr = strbuf; in sisfb_search_mode()
229 nameptr = strbuf; in sisfb_search_mode()
239 if(!strncasecmp(nameptr, sisbios_mode[i++].name, strlen(nameptr))) { in sisfb_search_mode()
257 printk(KERN_ERR "sisfb: Invalid mode '%s'\n", nameptr); in sisfb_search_mode()