Searched refs:s_size (Results 1 - 25 of 31) sorted by last modified time

12

/freebsd-11-stable/sys/sys/
H A Dsbuf.h47 ssize_t s_size; /* size of storage buffer */ member in struct:sbuf
/freebsd-11-stable/sys/kern/
H A Dsubr_sbuf.c71 #define SBUF_HASROOM(s) ((s)->s_len < (s)->s_size - 1)
72 #define SBUF_FREESPACE(s) ((s)->s_size - ((s)->s_len + 1))
108 KASSERT(s->s_len <= s->s_size,
110 (intmax_t)s->s_len, (intmax_t)s->s_size));
112 KASSERT(s->s_len < s->s_size,
114 (intmax_t)s->s_len, (intmax_t)s->s_size));
169 newsize = sbuf_extendsize(s->s_size + addlen);
173 memcpy(newbuf, s->s_buf, s->s_size);
179 s->s_size = newsize;
194 s->s_size
[all...]
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Delf_update.c338 s->s_size = sh_size;
473 if (s->s_size == 0)
477 s->s_offset, s->s_size, s))
480 if ((size_t) rc < s->s_offset + s->s_size)
481 rc = (off_t) (s->s_offset + s->s_size);
H A Delf_scn.c130 scn->s_size = scn->s_shdr.s_shdr32.sh_size;
134 scn->s_size = scn->s_shdr.s_shdr64.sh_size;
H A Delf_data.c188 if (e->e_rawfile && s->s_size > 0 && STAILQ_EMPTY(&s->s_data))
H A D_libelf.h160 uint64_t s_size; /* managed by elf_update() */ member in struct:_Elf_Scn
/freebsd-11-stable/contrib/binutils/bfd/
H A Dpeicode.h204 scnhdr_int->s_size = GET_SCNHDR_SIZE (abfd, scnhdr_ext->s_size);
238 && (! bfd_pe_executable_p (abfd) || scnhdr_int->s_size == 0))
239 || (bfd_pe_executable_p (abfd) && scnhdr_int->s_size > scnhdr_int->s_paddr)))
244 scnhdr_int->s_size = scnhdr_int->s_paddr;
H A DpeXXigen.c894 ps = scnhdr_int->s_size;
900 ss = scnhdr_int->s_size;
910 ss = scnhdr_int->s_size;
914 scnhdr_ext->s_size);
H A Dcoff-rs6000.c3725 scnhdr.s_size = 0; /* set below */
3781 scnhdr.s_size = data_buffer_size;
H A Dcoff64-rs6000.c848 section.s_size = current->size;
2239 text_scnhdr.s_size = 0;
2252 data_scnhdr.s_size = 0; /* set below */
2265 bss_scnhdr.s_size = 0; /* set below */
2326 data_scnhdr.s_size = data_buffer_size;
2327 bss_scnhdr.s_paddr = bss_scnhdr.s_vaddr = data_scnhdr.s_size;
2484 bss_scnhdr.s_size = 0;
H A Dcoffcode.h1661 section, while the s_size field holds the raw size. We also keep
3516 section.s_size = current->size;
3595 if (section.s_size == 0)
3719 scnhdr.s_size = 0;
H A Dcoffgen.c105 return_section->size = hdr->s_size;
132 /* FIXME: should this check 'hdr->s_size > 0'. */
H A Dcoffswap.h761 scnhdr_int->s_size = GET_SCNHDR_SIZE (abfd, scnhdr_ext->s_size);
791 PUT_SCNHDR_SIZE (abfd, scnhdr_int->s_size, scnhdr_ext->s_size);
H A Decoff.c2418 section.s_size = current->size;
/freebsd-11-stable/sys/ofed/include/rdma/
H A Drdmavt_qp.h285 u32 s_size; /* send work queue size */ member in struct:rvt_qp
/freebsd-11-stable/contrib/ntp/libntp/
H A Daudio.c236 struct snd_size s_size; local
291 if (ioctl(fd, AIOGSIZE, &s_size) == -1)
295 s_size.play_size, s_size.rec_size);
297 s_size.play_size = s_size.rec_size = bufsiz;
299 s_size.play_size, s_size.rec_size);
301 if (ioctl(fd, AIOSSIZE, &s_size) == -1)
305 s_size
[all...]
/freebsd-11-stable/bin/ls/
H A Dprint.c293 printdev(dp->s_size, sp->st_rdev);
295 printsize("size", dp->s_size, sp->st_size);
/freebsd-11-stable/contrib/ntp/util/
H A Daudio-pcm.c88 struct snd_size s_size; local
138 if (ioctl(fd, AIOGSIZE, &s_size) == -1)
142 s_size.play_size, s_size.rec_size);
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dstrings.c75 dst->s_size = len - 1;
76 dst->s_init = dst->s_size;
111 if (len < dst->s_size) {
113 _nc_STRCPY(dst->s_tail, src, dst->s_size);
116 dst->s_size -= len;
132 if (len < dst->s_size) {
134 _nc_STRCPY(dst->s_head, src, dst->s_size);
137 dst->s_size = dst->s_init - len;
/freebsd-11-stable/contrib/ncurses/ncurses/tty/
H A Dlib_mvcur.c520 if (need < target->s_size) {
649 if (n <= 0 || n >= (int) check.s_size)
660 && n < (int) check.s_size
698 check.s_size -= (size_t) n;
/freebsd-11-stable/contrib/binutils/include/aout/
H A Dencap.h67 long s_size; member in struct:coffheader::coffscn
/freebsd-11-stable/contrib/binutils/include/coff/
H A Dalpha.h81 unsigned char s_size[8]; /* section size */ member in struct:external_scnhdr
H A Dexternal.h82 char s_size[4]; /* section size */ member in struct:external_scnhdr
H A Dinternal.h370 bfd_vma s_size; /* section size */ member in struct:internal_scnhdr
H A Drs6000.h72 char s_size[4]; /* section size */ member in struct:external_scnhdr

Completed in 386 milliseconds

12