Lines Matching refs:size
33 ** If 'size' is == 0 then an "optimal" size will be selected.
34 ** If 'buf' is == NULL then space will be allocated at 'size'.
41 ** size -- size of 'buf'
49 sm_io_setvbuf(fp, timeout, buf, mode, size)
54 size_t size;
65 ** Verify arguments. The `int' limit on `size' is due to this
66 ** particular implementation. Note, buf and size are ignored
72 mode != SM_IO_NOW) || (int) size < 0)
102 ** Find optimal I/O size for seek optimization. This also returns
108 if (size == 0)
111 size = iosize;
117 if ((buf = sm_malloc(size)) == NULL)
121 ** failure, but try again with file system size.
125 if (size != iosize)
127 size = iosize;
128 buf = sm_malloc(size);
146 ** right size.
148 ** SHOULD WE ALLOW MULTIPLES HERE (i.e., ok iff (size % iosize) == 0)?
151 if (size != iosize)
167 fp->f_bf.smb_size = size;
182 fp->f_w = size;