Lines Matching refs:size
31 ** If 'size' is == 0 then an "optimal" size will be selected.
32 ** If 'buf' is == NULL then space will be allocated at 'size'.
39 ** size -- size of 'buf'
47 sm_io_setvbuf(fp, timeout, buf, mode, size)
52 size_t size;
63 ** Verify arguments. The `int' limit on `size' is due to this
64 ** particular implementation. Note, buf and size are ignored
70 mode != SM_IO_NOW) || (int) size < 0)
100 ** Find optimal I/O size for seek optimization. This also returns
106 if (size == 0)
109 size = iosize;
115 if ((buf = sm_malloc(size)) == NULL)
119 ** failure, but try again with file system size.
123 if (size != iosize)
125 size = iosize;
126 buf = sm_malloc(size);
144 ** right size.
146 ** SHOULD WE ALLOW MULTIPLES HERE (i.e., ok iff (size % iosize) == 0)?
149 if (size != iosize)
165 fp->f_bf.smb_size = size;
180 fp->f_w = size;