Searched refs:dev_fd (Results 1 - 4 of 4) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dmkfs_minix.c93 int dev_fd; member in struct:globals
238 xlseek(G.dev_fd, 0, SEEK_SET);
241 xwrite(G.dev_fd, G.boot_block_buffer, 512);
244 xlseek(G.dev_fd, BLOCK_SIZE, SEEK_SET);
247 xwrite(G.dev_fd, G.super_block_buffer, BLOCK_SIZE);
250 xwrite(G.dev_fd, G.inode_map, SB_IMAPS * BLOCK_SIZE);
253 xwrite(G.dev_fd, G.zone_map, SB_ZMAPS * BLOCK_SIZE);
256 xwrite(G.dev_fd, G.inode_buffer, INODE_BUFFER_SIZE);
263 xlseek(G.dev_fd, blk * BLOCK_SIZE, SEEK_SET);
264 xwrite(G.dev_fd, buffe
[all...]
H A Dfsck_minix.c117 int dev_fd; member in struct:globals
154 #define dev_fd (G.dev_fd ) macro
432 if (BLOCK_SIZE * nr != lseek(dev_fd, BLOCK_SIZE * nr, SEEK_SET)) {
437 } else if (BLOCK_SIZE != read(dev_fd, addr, BLOCK_SIZE)) {
458 if (BLOCK_SIZE * nr != lseek(dev_fd, BLOCK_SIZE * nr, SEEK_SET))
460 if (BLOCK_SIZE != write(dev_fd, addr, BLOCK_SIZE)) {
578 if (BLOCK_SIZE != lseek(dev_fd, BLOCK_SIZE, SEEK_SET))
580 if (BLOCK_SIZE != write(dev_fd, super_block_buffer, BLOCK_SIZE))
588 if (IMAPS * BLOCK_SIZE != write(dev_fd, inode_ma
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dpppd.h603 void generic_disestablish_ppp __P((int dev_fd)); /* Restore device setting */
604 int generic_establish_ppp __P((int dev_fd)); /* Make a ppp interface */
H A Dsys-linux.c588 void generic_disestablish_ppp(int dev_fd) argument

Completed in 107 milliseconds