Searched refs:blksize (Results 1 – 2 of 2) sorted by relevance
245 unsigned blksize = bb_strtou(blksize_str, NULL, 10); in tftp_blksize_check() local247 || (blksize < 24) || (blksize > maxsize) in tftp_blksize_check()253 bb_info_msg("using blksize %u", blksize); in tftp_blksize_check()255 return blksize; in tftp_blksize_check()306 IF_FEATURE_TFTP_BLOCKSIZE(, int blksize))309 enum { blksize = TFTP_BLKSIZE_DEFAULT }; enumerator323 int io_bufsize = blksize + 4;414 if (blksize != TFTP_BLKSIZE_DEFAULT || want_transfer_size) {468 if (blksize == TFTP_BLKSIZE_DEFAULT && !want_transfer_size)482 if (blksize != TFTP_BLKSIZE_DEFAULT) {[all …]
66 unsigned blksize, size_blocks; in nbdclient_main() local109 blksize = 4096; in nbdclient_main()122 blksize = xatou(optarg); in nbdclient_main()200 size_blocks = SWAP_BE64(old_nbd_header.devsize) / blksize; in nbdclient_main()201 ioctl(nbd, NBD_SET_BLKSIZE, (unsigned long) blksize); in nbdclient_main()230 size_blocks = SWAP_BE64(new_nbd_header.devsize) / blksize; in nbdclient_main()231 ioctl(nbd, NBD_SET_BLKSIZE, (unsigned long) blksize); in nbdclient_main()