HomeSort by: relevance | last modified time | path
    Searched refs:siz (Results 1 - 25 of 74) sorted by relevancy

1 2 3

  /src/sys/arch/bebox/stand/boot/
io.c 123 _wbinv(uint32_t adr, uint32_t siz)
128 for (bnd = adr + siz; adr < bnd; adr += dcache_line_size)
134 _inv(uint32_t adr, uint32_t siz)
140 siz += off;
145 if (siz < dcache_line_size)
148 siz -= dcache_line_size;
150 bnd = adr + siz;
155 if (siz < dcache_line_size)
157 siz -= off;
159 for (bnd = adr + siz; adr < bnd; adr += dcache_line_size)
    [all...]
  /src/sys/arch/prep/stand/boot/
io.c 105 _wbinv(uint32_t adr, uint32_t siz)
110 for (bnd = adr + siz; adr < bnd; adr += dcache_line_size)
116 _inv(uint32_t adr, uint32_t siz)
122 siz += off;
127 if (siz < dcache_line_size)
130 siz -= dcache_line_size;
132 bnd = adr + siz;
137 if (siz < dcache_line_size)
139 siz -= off;
141 for (bnd = adr + siz; adr < bnd; adr += dcache_line_size)
    [all...]
  /src/sys/fs/nfs/common/
nfsm_subs.h 62 nfsm_build(struct nfsrv_descript *nd, int siz)
67 if (siz > M_TRAILINGSPACE(nd->nd_mb)) {
69 if (siz > MLEN)
77 nd->nd_mb->m_len += siz;
78 nd->nd_bpos += siz;
85 nfsm_dissect(struct nfsrv_descript *nd, int siz)
91 if (tt1 >= siz) {
93 nd->nd_dpos += siz;
95 retp = nfsm_dissct(nd, siz, M_WAITOK);
101 nfsm_dissect_nonblock(struct nfsrv_descript *nd, int siz)
    [all...]
  /src/lib/libc/string/
wcslcpy.c 41 * Copy src to string dst of size siz. At most siz-1 characters
42 * will be copied. Always NUL terminates (unless siz == 0).
43 * Returns wcslen(src); if retval >= siz, truncation occurred.
46 wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz)
50 size_t n = siz;
65 if (siz != 0)
wcslcat.c 41 * Appends src to string dst of size siz (unlike wcsncat, siz is the
42 * full size of dst, not space left). At most siz-1 characters
43 * will be copied. Always NUL terminates (unless siz == 0).
44 * Returns wcslen(initial dst) + wcslen(src); if retval >= siz,
48 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz)
52 size_t n = siz;
62 n = siz - dlen;
  /src/lib/libc/citrus/
citrus_ctype_fallback.c 123 size_t cnt, siz; local in function:_citrus_ctype_mbsnrtowcs_fallback
141 psenc, &siz);
146 if (siz == (size_t)-2) {
150 switch (siz) {
164 s0 += siz;
186 size_t siz; local in function:_citrus_ctype_wcsnrtombs_fallback
197 err = _citrus_ctype_wcrtomb(cc, buf, *pwcs0, psenc, &siz);
198 if (siz == (size_t)-1) {
199 *nresult = siz;
204 if (n < siz) {
    [all...]
citrus_ctype_template.h 237 size_t siz; local in function:_FUNCNAME
256 psenc, &siz);
257 if (siz == (size_t)-2)
263 switch (siz) {
296 size_t cnt, siz; local in function:_FUNCNAME
315 psenc, &siz);
320 if (siz == (size_t)-2) {
324 switch (siz) {
357 size_t cnt, siz; local in function:_FUNCNAME
374 *pwcs0, psenc, &siz);
418 size_t siz; local in function:_FUNCNAME
    [all...]
  /src/common/lib/libc/string/
strlcat.c 49 * Appends src to string dst of size siz (unlike strncat, siz is the
50 * full size of dst, not space left). At most siz-1 characters
51 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
52 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
53 * If retval >= siz, truncation occurred.
56 strlcat(char *__restrict dst, const char *__restrict src, size_t siz)
61 size_t n = siz;
71 n = siz - dlen;
90 * Find length of string in dst (maxing out at siz)
    [all...]
strlcpy.c 49 * Copy src to string dst of size siz. At most siz-1 characters
50 * will be copied. Always NUL terminates (unless siz == 0).
51 * Returns strlen(src); if retval >= siz, truncation occurred.
54 strlcpy(char *__restrict dst, const char *__restrict src, size_t siz)
58 size_t n = siz;
73 if (siz != 0)
  /src/sys/arch/pmax/pmax/
memc_3min.c 66 size_t siz; local in function:kn02ba_errintr
70 siz = *(volatile uint32_t *)MIPS_PHYS_TO_KSEG1(KMIN_REG_MSR);
93 errintr_cnt, err, mer, siz, adr);
  /src/sys/ufs/ffs/
ffs_subr.c 149 int siz, pos; local in function:ffs_fragacct
153 for (siz = 1; siz < fs->fs_frag; siz++) {
154 if ((inblk & (1 << (siz + (fs->fs_frag & (NBBY - 1))))) == 0)
156 field = around[siz];
157 subfield = inside[siz];
158 for (pos = siz; pos <= fs->fs_frag; pos++) {
160 fraglist[siz] = ufs_rw32(
161 ufs_rw32(fraglist[siz], needswap) + cnt
    [all...]
  /src/tests/lib/libc/sys/
t_listen.c 51 static const size_t siz = sizeof(struct sockaddr_in); local in function:ATF_TC_BODY
76 ATF_REQUIRE(bind(fda, (struct sockaddr *)&sina, siz) == 0);
83 ATF_REQUIRE(connect(fdb, (struct sockaddr *)&sinb, siz) == 0);
90 (struct sockaddr *)&sinb, siz) == -1);
  /src/sys/nfs/
nfs_subs.c 614 int siz, grpsiz, authsiz; local in function:nfsm_rpchead
666 siz = auth_len;
667 while (siz > 0) {
672 if (siz >= MINCLSIZE)
679 i = uimin(siz, M_TRAILINGSPACE(mb));
684 siz -= i;
686 if ((siz = (nfsm_rndup(auth_len) - auth_len)) > 0) {
687 for (i = 0; i < siz; i++)
689 mb->m_len += siz;
701 siz = verf_len
    [all...]
  /src/sys/arch/sh3/sh3/
coff_exec.c 224 size_t siz, resid; local in function:coff_find_section
228 siz = sizeof(struct coff_scnhdr);
230 siz, pos, UIO_SYSSPACE, IO_NODELOCKED, l->l_cred,
236 siz -= resid;
237 if (siz != sizeof(struct coff_scnhdr)) {
240 resid, siz));
407 size_t siz, resid;
425 siz = sizeof(struct coff_filehdr);
426 error = vn_rdwr(UIO_READ, vp, (void *) fhp, siz, 0,
433 siz -= resid
    [all...]
  /src/sys/arch/mmeye/stand/bootcoff/
osloader.c 55 int i, pos, siz; local in function:coff_find_section
59 siz = sizeof(struct coff_scnhdr);
60 if (fread(sh, 1, siz, fd) != siz) {
  /src/sys/fs/nfs/client/
nfs_clkrpc.c 173 int siz; local in function:nfscbd_addsock
180 siz = sb_max_adj;
181 error = soreserve(so, siz, siz);
  /src/lib/libc/net/
sctp_sys_calls.c 252 unsigned int siz; local in function:sctp_getpaddrs
260 siz = sizeof(sctp_assoc_t);
262 &asoc, &siz) != 0) {
265 siz = (unsigned int)asoc;
266 siz += sizeof(struct sctp_getaddresses);
267 addrs = calloc((unsigned long)1, (unsigned long)siz);
272 memset(addrs, 0, (size_t)siz);
276 addrs, &siz) != 0) {
284 lim = (caddr_t)addrs + siz;
311 socklen_t siz; local in function:sctp_getladdrs
460 socklen_t siz; local in function:sctp_getassocid
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
tsan_sync_test.cc 26 EXPECT_EQ(mb->siz, 1 * sizeof(u64));
41 EXPECT_EQ(mb1->siz, 1 * sizeof(u64));
43 EXPECT_EQ(mb2->siz, 3 * sizeof(u64));
92 EXPECT_EQ(mb1->siz, 3 * sizeof(u64));
95 EXPECT_EQ(mb2->siz, 1 * sizeof(u64));
  /src/usr.bin/ktruss/
dump.c 156 xrealloc(void *p, size_t *siz, size_t req)
159 if (*siz < req) {
160 if (*siz == 0)
161 *siz = 1;
162 while (*siz < req)
163 *siz <<= 1;
164 p = realloc(p, *siz);
167 (u_long)*siz);
178 size_t siz, len; local in function:getrecord
180 siz = 0
    [all...]
  /src/sys/dev/raidframe/
raidframevar.h 489 rf_component_label_set_numblocks(RF_ComponentLabel_t *cl, RF_SectorCount_t siz)
492 cl->numBlocksHi = siz >> 32;
493 cl->__numBlocks = siz;
506 RF_SectorCount_t siz)
509 cl->partitionSizeHi = siz >> 32;
510 cl->__partitionSize = siz;
  /src/common/lib/libc/arch/sparc64/string/
strmacros.h 47 * local storage can be requested by setting the siz parameter,
51 #define ENABLE_FPU(siz) \
59 add %l0, -STKB-CC64FSZ-(siz), %sp; /* Set proper %sp */ \
  /src/usr.sbin/acpitools/aml/
aml_memman.h 149 #define MEMMAN_MEMBLOCK_DESC(siz, initial_storage) \
151 .size = siz, \
  /src/usr.sbin/fstyp/
hammer2.c 50 ssize_t siz; local in function:get_file_size
62 siz = ftell(fp);
63 if (siz == -1) {
68 return siz;
496 size_t siz = strlen(volpath) + strlen(target_label) + 2; local in function:__fsvtyp_hammer2
497 p = calloc(1, siz);
498 snprintf(p, siz, "%s@%s", volpath, target_label);
  /src/usr.sbin/isibootd/
isibootd.c 76 uint8_t siz[4]; member in struct:frame
124 uint32_t pos, siz; local in function:main
253 siz = be32dec(fp->siz);
255 nread = siz;
259 be32enc(fp->siz, 0); /* corrupted file */
261 TRACE(3, ("%u@%u\n", siz, pos));
  /src/lib/libc/citrus/modules/
citrus_utf7.c 280 size_t siz, nr; local in function:_citrus_UTF7_mbrtowc_priv
298 siz = 0;
308 siz = nr;
325 siz += nr;
334 *nresult = siz;
400 size_t siz, nr; local in function:_citrus_UTF7_wcrtomb_priv
420 siz = 0;
427 siz += nr;
429 *nresult = siz;

Completed in 38 milliseconds

1 2 3