Lines Matching refs:size
55 " s [SIZE] : get size if SIZE is omitted, set size otherwise\n"
60 static int do_rw(int fd, int is_read, size_t size, off_t offset,
66 arg.buf = calloc(1, size);
68 fprintf(stderr, "failed to allocated %zu bytes\n", size);
73 arg.size = size;
78 arg.size = fread(arg.buf, 1, size, stdin);
79 fprintf(stderr, "Writing %zu bytes\n", arg.size);
96 size_t size, prev_size = 0, new_size = 0;
123 if (ioctl(fd, FIOC_GET_SIZE, &size)) {
127 printf("%zu\n", size);
129 size = param[0];
130 if (ioctl(fd, FIOC_SET_SIZE, &size)) {