Searched refs:sz (Results 276 - 300 of 662) sorted by relevance

<<11121314151617181920>>

/freebsd-13-stable/contrib/ntp/sntp/libopts/
H A Dautoopts.h265 ao_malloc(size_t sz);
268 ao_realloc(void *p, size_t sz);
H A Drestore.c102 size_t sz = sizeof(*pOpts) local
104 p = AGALOC(sz, "saved option state");
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/
H A Dtsan_annotations.cpp98 WTFAnnotateBenignRaceSized(const char *f, int l, uptr mem, uptr sz, argument
107 AnnotateMemoryIsInitialized(const char *f, int l, uptr mem, uptr sz) {} argument
H A Dkmp_stub.cpp160 void *kmp_aligned_malloc(size_t sz, size_t a) { argument
165 res = _aligned_malloc(sz, a);
167 if ((err = posix_memalign(&res, a, sz))) {
/freebsd-13-stable/contrib/lua/src/
H A Dlobject.c425 ** Get a space of size 'sz' in the buffer. If buffer has not enough
426 ** space, empty it. 'sz' must fit in an empty buffer.
428 static char *getbuff (BuffFS *buff, int sz) { argument
429 lua_assert(buff->blen <= BUFVFS); lua_assert(sz <= BUFVFS);
430 if (sz > BUFVFS - buff->blen) /* not enough space? */
436 #define addsize(b,sz) ((b)->blen += (sz))
508 const int sz = 3 * sizeof(void*) + 8; /* enough space for '%p' */ local
509 char *bf = getbuff(&buff, sz);
511 int len = lua_pointer2str(bf, sz,
[all...]
/freebsd-13-stable/contrib/mandoc/
H A Dtbl_html.c40 html_tbl_len(size_t sz, void *arg) argument
42 return sz;
/freebsd-13-stable/sys/dev/xen/console/
H A Dxen_console.c418 int sz; local
421 while ((sz = cons->ops->read(cons, buf, sizeof(buf))) > 0) {
424 for (i = 0; i < sz; i++)
446 int sz; local
451 sz = cons->wp - cons->wc;
452 if (sz > (WBUF_SIZE - WBUF_MASK(cons->wc)))
453 sz = WBUF_SIZE - WBUF_MASK(cons->wc);
455 sz);
/freebsd-13-stable/sys/dev/scc/
H A Dscc_core.c110 rman_res_t base, size, start, sz; local
171 sz = (size != 0) ? size : rman_get_size(sc->sc_rres);
183 start + sz - 1, sz);
187 rman_get_bushandle(sc->sc_rres), start - base, sz, &bh); local
358 u_long size, sz; local
400 sz = (size != 0) ? size : rman_get_size(sc->sc_rres);
403 sc->sc_bas.range = sz;
/freebsd-13-stable/tools/bus_space/C/
H A Dlang.c97 bus_subregion(int rid, long ofs, long sz) argument
100 return (bs_subregion(rid, ofs, sz));
H A Dlibbus.h36 int bus_subregion(int rid, long ofs, long sz);
/freebsd-13-stable/contrib/libedit/
H A Dhist.h47 size_t sz; /* Size of history buffer */ member in struct:el_history_t
H A Dhist.c65 el->el_history.sz = EL_BUFSIZ;
109 el->el_history.sz);
239 el->el_history.sz = newsz;
/freebsd-13-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_port_buffer.c36 int sz = MLX5_ST_SZ_BYTES(pbmc_reg); local
43 out = kzalloc(sz, GFP_KERNEL);
90 int sz = MLX5_ST_SZ_BYTES(pbmc_reg); local
96 in = kzalloc(sz, GFP_KERNEL);
/freebsd-13-stable/sys/mips/nlm/
H A Dboard.h151 uint8_t *buf,int sz);
/freebsd-13-stable/sys/mips/include/
H A Dbus.h245 #define __bs_rs(sz, t, h, o) \
246 (*(t)->__bs_opname(r,sz))((t)->bs_cookie, h, o)
247 #define __bs_ws(sz, t, h, o, v) \
248 (*(t)->__bs_opname(w,sz))((t)->bs_cookie, h, o, v)
249 #define __bs_nonsingle(type, sz, t, h, o, a, c) \
250 (*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c)
251 #define __bs_set(type, sz, t, h, o, v, c) \
252 (*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c)
253 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \
254 (*(t)->__bs_opname(c,sz))((
[all...]
/freebsd-13-stable/crypto/openssl/crypto/bio/
H A Dbss_mem.c91 size_t sz; local
97 sz = (len < 0) ? strlen(buf) : (size_t)len;
104 b->length = sz;
105 b->max = sz;
/freebsd-13-stable/contrib/sendmail/libmilter/
H A Dcomm.c25 ** sz -- new limit.
32 smfi_setmaxdatasize(sz)
33 size_t sz;
38 Maxdatasize = sz;
/freebsd-13-stable/crypto/heimdal/lib/hdb/
H A Dprint.c212 size_t size, sz = 0; local
215 &ent->extensions->val[i], &sz, ret);
220 if(size != sz)
/freebsd-13-stable/crypto/openssl/crypto/
H A Dsparcv9cap.c140 extern unsigned int getisax(unsigned int vec[], unsigned int sz) __attribute__ ((weak));
143 extern unsigned int getisax(unsigned int vec[], unsigned int sz);
145 static unsigned int (*getisax) (unsigned int vec[], unsigned int sz) = NULL;
/freebsd-13-stable/contrib/libevent/
H A Dselect.c148 size_t sz = sop->event_fdsz; local
149 if (!(readset_out = mm_realloc(sop->event_readset_out, sz)))
152 if (!(writeset_out = mm_realloc(sop->event_writeset_out, sz))) {
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc136 SSIZE_T sz = Min(iovec[i].iov_len, maxlen);
137 POST_WRITE(iovec[i].iov_base, sz);
138 maxlen -= sz;
148 SSIZE_T sz = Min(iovec[i].iov_len, maxlen);
149 POST_READ(iovec[i].iov_base, sz);
150 maxlen -= sz;
845 PRE_SYSCALL(statfs64)(const void *path, long sz, void *buf) {
850 POST_SYSCALL(statfs64)(long res, const void *path, long sz, void *buf) {
864 PRE_SYSCALL(fstatfs64)(long fd, long sz, void *buf) {}
866 POST_SYSCALL(fstatfs64)(long res, long fd, long sz, voi
[all...]
/freebsd-13-stable/sys/contrib/openzfs/cmd/arcstat/
H A Darcstat.in238 def prettynum(sz, scale, num=0):
257 return "%*d" % (sz, num)
260 return "%*.1f%s" % (sz - 1, num, suffix[index])
262 return "%*d%s" % (sz - 1, num, suffix[index])
301 sz = struct.unpack('hh', data)
302 return sz[0]
/freebsd-13-stable/contrib/ntp/sntp/libevent/
H A Dselect.c148 size_t sz = sop->event_fdsz; local
149 if (!(readset_out = mm_realloc(sop->event_readset_out, sz)))
152 if (!(writeset_out = mm_realloc(sop->event_writeset_out, sz))) {
/freebsd-13-stable/sys/riscv/riscv/
H A Dbusdma_machdep.c122 bus_dma_lock_t *lockfunc, void *lockfuncarg, size_t sz, void **dmat)
127 KASSERT(sz >= sizeof(struct bus_dma_tag_common), ("sz"));
136 newtag = malloc(sz, M_DEVBUF, M_ZERO | M_NOWAIT);
118 common_bus_dma_tag_create(struct bus_dma_tag_common *parent, bus_size_t alignment, bus_addr_t boundary, bus_addr_t lowaddr, bus_addr_t highaddr, bus_dma_filter_t *filter, void *filterarg, bus_size_t maxsize, int nsegments, bus_size_t maxsegsz, int flags, bus_dma_lock_t *lockfunc, void *lockfuncarg, size_t sz, void **dmat) argument
/freebsd-13-stable/sys/tests/callout_test/
H A Dcallout_test.c188 size_t sz; local
211 sz = sizeof(struct callout) * rn->co_number_callouts;
212 rn->co_array = malloc(sz, M_CALLTMP, M_WAITOK);

Completed in 368 milliseconds

<<11121314151617181920>>