HomeSort by: relevance | last modified time | path
    Searched defs:buf_size (Results 1 - 25 of 48) sorted by relevancy

1 2

  /src/usr.sbin/intrctl/
intrctl_io.c 48 size_t buf_size; local in function:intrctl_io_alloc
52 error = sysctlbyname("kern.intr.list", NULL, &buf_size, NULL, 0);
57 buf = malloc(buf_size);
63 error = sysctlbyname("kern.intr.list", buf, &buf_size, NULL, 0);
69 temp = realloc(buf, buf_size);
intrctl_io.c 48 size_t buf_size; local in function:intrctl_io_alloc
52 error = sysctlbyname("kern.intr.list", NULL, &buf_size, NULL, 0);
57 buf = malloc(buf_size);
63 error = sysctlbyname("kern.intr.list", buf, &buf_size, NULL, 0);
69 temp = realloc(buf, buf_size);
  /src/sys/compat/sys/
event.h 74 const size_t buf_size = sizeof(*buf) * n; local in function:compat_100___kevent50_fetch_changes
79 buf = kmem_alloc(buf_size, KM_SLEEP);
81 error = copyin(changelist100 + index, buf, buf_size);
89 kmem_free(buf, buf_size);
99 const size_t buf_size = sizeof(*buf) * n; local in function:compat_100___kevent50_put_events
104 buf = kmem_alloc(buf_size, KM_SLEEP);
109 error = copyout(buf, eventlist100 + index, buf_size);
111 kmem_free(buf, buf_size);
event.h 74 const size_t buf_size = sizeof(*buf) * n; local in function:compat_100___kevent50_fetch_changes
79 buf = kmem_alloc(buf_size, KM_SLEEP);
81 error = copyin(changelist100 + index, buf, buf_size);
89 kmem_free(buf, buf_size);
99 const size_t buf_size = sizeof(*buf) * n; local in function:compat_100___kevent50_put_events
104 buf = kmem_alloc(buf_size, KM_SLEEP);
109 error = copyout(buf, eventlist100 + index, buf_size);
111 kmem_free(buf, buf_size);
  /src/tests/fs/fifofs/
t_fifo.c 97 size_t buf_size = MSG_SIZE; local in function:run
158 rv = read(fd, buf, buf_size);
t_fifo.c 97 size_t buf_size = MSG_SIZE; local in function:run
158 rv = read(fd, buf, buf_size);
  /src/usr.bin/sort/
files.c 177 static size_t buf_size = DEFLLEN; local in function:seq
184 buf = malloc(buf_size);
187 buf_size);
190 end = buf + buf_size;
201 buf_size *= 2;
203 new_buf = realloc(buf, buf_size);
206 buf_size);
208 end = new_buf + buf_size;
files.c 177 static size_t buf_size = DEFLLEN; local in function:seq
184 buf = malloc(buf_size);
187 buf_size);
190 end = buf + buf_size;
201 buf_size *= 2;
203 new_buf = realloc(buf, buf_size);
206 buf_size);
208 end = new_buf + buf_size;
  /src/sys/arch/arm/s3c2xx0/
s3c24x0_lcd.h 48 size_t buf_size; member in struct:s3c24x0_lcd_screen
s3c24x0_lcd.h 48 size_t buf_size; member in struct:s3c24x0_lcd_screen
  /src/sys/arch/hppa/stand/common/
lif.c 59 size_t buf_size; local in function:lif_open
70 sizeof(fp->f_buf), &fp->f_buf, &buf_size);
71 if (err || buf_size != sizeof(fp->f_buf)) {
122 fp->f_off, sizeof(load), &load, &buf_size)) &&
123 buf_size == sizeof(load)) {
lif.c 59 size_t buf_size; local in function:lif_open
70 sizeof(fp->f_buf), &fp->f_buf, &buf_size);
71 if (err || buf_size != sizeof(fp->f_buf)) {
122 fp->f_off, sizeof(load), &load, &buf_size)) &&
123 buf_size == sizeof(load)) {
  /src/sys/dev/marvell/
mvxpbmvar.h 62 * +----------------+ | | |chunk->buf_size
78 size_t buf_size; /* size of buffer (exclude hdr) */ member in struct:mvxpbm_chunk
mvxpbmvar.h 62 * +----------------+ | | |chunk->buf_size
78 size_t buf_size; /* size of buffer (exclude hdr) */ member in struct:mvxpbm_chunk
  /src/sys/lib/libsa/
cd9660.c 141 size_t buf_size, nread, psize, dsize; local in function:cd9660_open
149 buf_size = ISO_DEFAULT_BLOCK_SIZE;
150 buf = alloc(buf_size);
181 buf = alloc(buf_size = roundup(psize, ISO_DEFAULT_BLOCK_SIZE));
188 buf_size, buf, &nread);
191 if (nread != buf_size) {
283 dealloc(buf, buf_size);
291 dealloc(buf, buf_size);
cd9660.c 141 size_t buf_size, nread, psize, dsize; local in function:cd9660_open
149 buf_size = ISO_DEFAULT_BLOCK_SIZE;
150 buf = alloc(buf_size);
181 buf = alloc(buf_size = roundup(psize, ISO_DEFAULT_BLOCK_SIZE));
188 buf_size, buf, &nread);
191 if (nread != buf_size) {
283 dealloc(buf, buf_size);
291 dealloc(buf, buf_size);
  /src/usr.sbin/makefs/cd9660/
cd9660_write.c 428 int buf_size = diskStructure->sectorSize; local in function:cd9660_copy_file
431 buf = emalloc(buf_size);
445 bytes_read = fread(buf,1,buf_size,rf);
cd9660_write.c 428 int buf_size = diskStructure->sectorSize; local in function:cd9660_copy_file
431 buf = emalloc(buf_size);
445 bytes_read = fread(buf,1,buf_size,rf);
  /src/sys/arch/arm/imx/
imx51_ipuv3var.h 45 size_t buf_size; member in struct:imx51_ipuv3_screen
imx51_ipuv3var.h 45 size_t buf_size; member in struct:imx51_ipuv3_screen
  /src/sys/arch/arm/xscale/
pxa2x0_lcd.h 62 size_t buf_size; member in struct:pxa2x0_lcd_screen
pxa2x0_lcd.h 62 size_t buf_size; member in struct:pxa2x0_lcd_screen
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/
kexec.h 179 uint64_t buf_size; member in struct:xen_kexec_segment
198 * segments with a source buffer (from dest_maddr + buf_size to
kexec.h 179 uint64_t buf_size; member in struct:xen_kexec_segment
198 * segments with a source buffer (from dest_maddr + buf_size to
  /src/lib/libisns/
isns_pdu.c 77 int buf_size; member in struct:isns_buffer_list_s
113 * isns_lookup_buffer_list - locates the pool buffer list for the buf_size
116 * Returns: pointer to list in pool containing buf_size buffers
120 isns_lookup_buffer_list(int buf_size)
130 if (list_p->buf_size == buf_size)
142 * If a list containing buf_size buffers already exists in pool, additional
146 isns_add_buffer_pool(int buf_size, int count)
152 DBG("isns_add_buffer_pool: buf_size=%d, count=%d\n", buf_size, count)
    [all...]

Completed in 31 milliseconds

1 2