Home
last modified time | relevance | path

Searched refs:namelen (Results 1 – 5 of 5) sorted by relevance

/busybox-1.35.0/networking/
Dnbd-client.c209 unsigned namelen; in nbdclient_main() local
218 namelen = strlen(name); in nbdclient_main()
219 nbd_opts.len = htonl(namelen); in nbdclient_main()
224 xwrite(sock, name, namelen); in nbdclient_main()
/busybox-1.35.0/util-linux/
Dmkfs_minix.c133 int namelen; member
620 G.namelen = 30; in mkfs_minix_main()
631 opt = getopt32(argv, "ci:l:n:+v", &str_i, &listfile, &G.namelen); in mkfs_minix_main()
637 if (G.namelen == 14) G.magic = MINIX1_SUPER_MAGIC; in mkfs_minix_main()
638 else if (G.namelen == 30) G.magic = MINIX1_SUPER_MAGIC2; in mkfs_minix_main()
640 G.dirsize = G.namelen + 2; in mkfs_minix_main()
667 if (G.namelen == 14) in mkfs_minix_main()
Dfsck_minix.c159 smallint namelen; member
196 #define namelen (G.namelen ) macro
222 namelen = 14; \
336 len = sprintf(p, "%.*s", namelen, name); in push_filename()
626 namelen = size - 2; in get_dirsize()
645 namelen = 30; in read_superblock()
651 namelen = 30; in read_superblock()
697 namelen); in read_tables()
974 current_name, namelen, name); in check_file()
1024 current_name, namelen, name); in check_file2()
/busybox-1.35.0/miscutils/
Ddevfsd.c176 unsigned int namelen; /* Number of characters not including '\0' */ member
949 compat_name = get_old_name(info->devname, info->namelen, compat_buf, info->major, info->minor); in action_compat()
954 i = scan_dev_name(info->devname, info->namelen, ptr); in action_compat()
976 rewind_ = info->devname[info->namelen - 1]; in action_compat()
1249 info.namelen = strlen(info.devname); in service()
1451 const char *get_old_name(const char *devname, unsigned int namelen, in get_old_name() argument
1499 i = scan_dev_name(devname, namelen, ptr); in get_old_name()
1520 if (devname[namelen - 1] != 'n') in get_old_name()
/busybox-1.35.0/shell/
Dash.c2485 size_t namelen; in setvar() local
2491 namelen = p - name; in setvar()
2492 if (!namelen || p != q) in setvar()
2493 ash_msg_and_raise_error("%.*s: bad variable name", namelen, name); in setvar()
2502 nameeq = ckzalloc(namelen + vallen + 2); in setvar()
2503 p = mempcpy(nameeq, name, namelen); in setvar()