/busybox-1.35.0/console-tools/ |
D | setconsole.c | 45 const char *device = CURRENT_TTY; in setconsole_main() local 53 device = *argv; in setconsole_main() 56 device = DEV_CONSOLE; in setconsole_main() 62 xioctl(xopen(device, O_WRONLY), TIOCCONS, NULL); in setconsole_main()
|
/busybox-1.35.0/miscutils/ |
D | volname.c | 52 const char *device; in volname_main() local 54 device = "/dev/cdrom"; in volname_main() 56 device = argv[1]; in volname_main() 61 fd = xopen(device, O_RDONLY); in volname_main()
|
D | watchdog.c | 82 static void watchdog_open(const char* device) in watchdog_open() argument 85 xmove_fd(xopen(device, O_WRONLY), 3); in watchdog_open() 96 xmove_fd(xopen(device, O_WRONLY), 3); in watchdog_open()
|
D | setserial.c | 584 static void serial_get(const char *device, enum print_mode mode) in serial_get() argument 590 fd = serial_open(device, /*quiet:*/ mode == PRINT_SUMMARY); in serial_get() 605 device, uart, serinfo.port, serinfo.irq); in serial_get() 611 device, serinfo.port, serinfo.irq, uart); in serial_get() 616 printf("%s uart %s port 0x%.4x irq %d baud_base %d", device, in serial_get() 622 device, serinfo.line, uart, serinfo.port, serinfo.irq); in serial_get()
|
D | microcom.c | 43 static int xset1(int fd, struct termios *tio, const char *device) in xset1() argument 48 bb_perror_msg("can't tcsetattr for %s", device); in xset1()
|
/busybox-1.35.0/util-linux/volume_id/ |
D | get_devname.c | 25 char *device; member 34 #define uuidcache_addentry(device, label, uuid, type) \ argument 35 uuidcache_addentry(device, label, uuid) 80 uuidcache_addentry(char *device, /*int major, int minor,*/ char *label, char *uuid, const char *typ… in uuidcache_addentry() argument 95 last->device = device; in uuidcache_addentry() 106 const char *device, in uuidcache_check_device() argument 112 && !(S_ISCHR(statbuf->st_mode) && strncmp(bb_basename(device), "ubi", 3) == 0) in uuidcache_check_device() 125 add_to_uuid_cache(device); in uuidcache_check_device() 174 return uc->device; in get_spec_by_x() 181 return uc->device; in get_spec_by_x() [all …]
|
/busybox-1.35.0/libbb/ |
D | loop.c | 50 char* FAST_FUNC query_loop(const char *device) in query_loop() argument 56 fd = open(device, O_RDONLY); in query_loop() 68 int FAST_FUNC del_loop(const char *device) in del_loop() argument 72 fd = open(device, O_RDONLY); in del_loop() 103 int FAST_FUNC set_loop(char **device, const char *file, unsigned long long offset, in set_loop() argument 124 try = *device; in set_loop() 182 if (!*device /* yes */ in set_loop() 213 *device = try; /* malloced */ in set_loop() 214 if (!*device) /* was looping in search of free "/dev/loopN"? */ in set_loop() 215 *device = xstrdup(dev); in set_loop() [all …]
|
D | device_open.c | 12 int FAST_FUNC device_open(const char *device, int mode) in device_open() argument 21 fd = open(device, m, 0600); in device_open()
|
/busybox-1.35.0/util-linux/ |
D | eject.c | 124 const char *device; in eject_main() local 129 device = argv[optind] ? argv[optind] : "/dev/cdrom"; in eject_main() 141 xmove_fd(xopen_nonblocking(device), dev_fd); in eject_main() 144 eject_scsi(device); in eject_main() 146 eject_cdrom(flags, device); in eject_main()
|
D | umount.c | 104 char *device; in umount_main() member 138 m->device = xstrdup(me.mnt_fsname); in umount_main() 173 if (strcmp(path, m->dir) == 0 || strcmp(path, m->device) == 0) in umount_main() 202 curstat = mount(m->device, zapit, NULL, MS_REMOUNT|MS_RDONLY, NULL); in umount_main() 207 bb_error_msg(msg, m->device); in umount_main() 216 del_loop(m->device); in umount_main() 227 if ((opt & OPT_ALL) || strcmp(path, m->device) == 0) in umount_main() 237 free(mtl->device); in umount_main()
|
D | swaponoff.c | 149 static int swap_enable_disable(char *device) in swap_enable_disable() argument 154 resolve_mount_spec(&device); in swap_enable_disable() 157 err = swapoff(device); in swap_enable_disable() 163 err = stat(device, &st); in swap_enable_disable() 167 bb_error_msg("%s: file has holes", device); in swap_enable_disable() 171 err = swapon(device, g_flags); in swap_enable_disable() 181 bb_simple_perror_msg(device); in swap_enable_disable()
|
D | Config.src | 21 of a block device, and transparently associate the file with a 22 loopback device. The umount command will also free that loopback 23 device. 27 specify an offset or cryptographic options to the loopback device. 28 (If you don't want umount to free the loop device, use "umount -D".) 36 allocated for use when trying to use a loop device. The loop device 39 This feature lets mount to try to create next /dev/loopN device
|
D | fdformat.c | 52 unsigned int device,head,track; member
|
/busybox-1.35.0/docs/ |
D | mdev.txt | 37 a device is added or removed so that the device node can be created or 38 destroyed. Then you [3] seed /dev with all the device nodes that were created 50 device nodes if your system needs something more than the default root/root 54 [-][envmatch]<device regex> <uid>:<gid> <permissions> 69 You can rename/move device nodes by using the next optional field. 71 <device regex> <uid>:<gid> <permissions> [=path] 73 So if you want to place the device node into a subdirectory, make sure the path 74 has a trailing /. If you want to rename the device node, just place the name. 80 Similarly, ">path" renames/moves the device but it also creates 81 a direct symlink /dev/DEVNAME to the renamed/moved device. [all …]
|
D | unicode.txt | 14 * It is unreasonable to expect that output device supports 16 those chars which are not supported by output device.
|
/busybox-1.35.0/testsuite/ |
D | mount.testroot | 127 losetup nonexistent device (should return error 2) 128 losetup unbound loop device (should return error 1) 129 losetup bind file to loop device 130 losetup bound loop device (display) (should return error 0) 135 losetup -f (print first loop device) 136 losetup -f filename (associate file with first loop device) 151 mount block device 152 mount char device
|
D | makedevs.device_table.txt | 2 # become root and then run 'mknod' a thousand times. Using a device 3 # table you can create device nodes and directories "on the fly". 5 # This is a sample device table file for use with genext2fs. You can 6 # do all sorts of interesting things with a device table file. For 12 # Furthermore, you can use a single table entry to create a many device 23 # c Character special device file 24 # b Block special device file 28 # to device special files.
|
/busybox-1.35.0/coreutils/ |
D | df.c | 211 const char *device; in df_main() local 234 device = mount_entry->mnt_fsname; in df_main() 237 if (ENABLE_FEATURE_SKIP_ROOTFS && strcmp(device, "rootfs") == 0) in df_main() 285 if (strcmp(device, "/dev/root") == 0) { in df_main() 288 device = find_block_device("/"); in df_main() 289 if (!device) { in df_main() 298 char *uni_dev = unicode_conv_to_printable(&uni_stat, device); in df_main() 315 if (printf("\n%-20s" + 1, device) > 20 && !(opt & OPT_POSIX)) in df_main()
|
/busybox-1.35.0/e2fsprogs/ |
D | fsck.c | 93 char *device; member 114 char *device; member 198 static char *base_device(const char *device) in base_device() argument 206 str = xstrdup(device); in base_device() 304 free(p->device); in free_instance() 309 static struct fs_info *create_fs_device(const char *device, const char *mntpnt, in create_fs_device() argument 316 fs->device = xstrdup(device); in create_fs_device() 366 if (strcmp(filesys, fs->device) == 0 in lookup() 459 inst->prog, inst->device, sig); in wait_one() 497 inst->device, exitcode); in wait_one() [all …]
|
D | Config.src | 32 ### filesystem located on device.
|
/busybox-1.35.0/networking/ |
D | arp.c | 79 const char *device; /* current device */ member 85 #define device (G.device ) macro 89 device = ""; \ 166 device = *args; in arp_del() 190 strncpy_IFNAMSIZ(req.arp_dev, device); in arp_del() 319 device = *args; in arp_set() 344 strncpy_IFNAMSIZ(req.arp_dev, device); in arp_set() 454 if (device[0] && strcmp(dev, device) != 0) in arp_show() 476 if (hw_set || host || device[0]) in arp_show() 506 &hw_type, &hw_type, &device); in arp_main()
|
D | nbd-client.c | 64 const char *host, *port, *device; in nbdclient_main() local 156 device = argv[2] ? argv[2] : argv[1]; in nbdclient_main() 171 nbd = xopen(device, O_RDWR); in nbdclient_main() 263 char *s = strrchr(device, '/'); in nbdclient_main() 264 sprintf(data, "/sys/block/%.32s/pid", s ? s + 1 : device); in nbdclient_main() 275 open(device, O_RDONLY); in nbdclient_main()
|
D | arping.c | 56 #define GETOPT32(str_timeout, device, source) \ argument 62 &count, &str_timeout, &device, &source \ 297 const char *device = "eth0"; in arping_main() local 314 opt = GETOPT32(str_timeout, device, source); in arping_main() 320 err_str = xasprintf("interface %s %%s", device); in arping_main() 324 strncpy_IFNAMSIZ(G.ifr.ifr_name, device); in arping_main() 359 setsockopt_bindtodevice(probe_fd, device); in arping_main() 404 printf(" from %s %s\n", inet_ntoa(src), device); in arping_main()
|
/busybox-1.35.0/include/ |
D | volume_id.h | 31 int add_to_uuid_cache(const char *device);
|
/busybox-1.35.0/procps/ |
D | nmeter.c | 579 const char *device; 610 static s_stat* init_if(const char *device) in init_if() argument 614 if (!device || !device[0]) in init_if() 618 s->device = device; in init_if() 619 s->device_colon = xasprintf("%s:", device); in init_if()
|