Searched refs:sz (Results 126 - 150 of 662) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_port.c73 int sz = MLX5_ST_SZ_BYTES(qcam_reg); local
78 return mlx5_core_access_reg(mdev, in, sz, qcam, sz, MLX5_REG_QCAM, 0, 0);
86 int sz = MLX5_ST_SZ_BYTES(pcam_reg); local
91 return mlx5_core_access_reg(dev, in, sz, pcam, sz, MLX5_REG_PCAM, 0, 0);
98 int sz = MLX5_ST_SZ_BYTES(mcam_reg); local
103 return mlx5_core_access_reg(dev, in, sz, mcam, sz, MLX5_REG_MCAM, 0, 0);
523 int sz local
551 int sz = MLX5_ST_SZ_BYTES(ptys_reg); local
638 int sz = MLX5_ST_SZ_BYTES(pmtu_reg); local
1112 int sz = MLX5_ST_SZ_BYTES(qpdpm_reg); local
1149 int sz = MLX5_ST_SZ_BYTES(qpdpm_reg); local
1253 int sz = MLX5_ST_SZ_BYTES(mfrl_reg); local
1267 int sz = MLX5_ST_SZ_BYTES(mfrl_reg); local
1386 int sz = MLX5_ST_SZ_BYTES(pbmc_reg); local
1403 int sz = MLX5_ST_SZ_BYTES(pbmc_reg); local
1421 int sz = MLX5_ST_SZ_BYTES(pptb_reg); local
1453 int sz = MLX5_ST_SZ_BYTES(pptb_reg); local
[all...]
H A Dmlx5_fwdump.c46 unsigned sz; local
48 for (sz = 0, r = rege; r->cnt != 0; r++)
49 sz += r->cnt;
50 return (sz);
67 unsigned i, sz; local
95 for (sz = 1, addr = 0;;) {
111 sz++;
114 if (sz == 1) {
121 * terminate the read loop in mlx5_fwdump(), so allocate sz + 1.
123 mdev->dump_rege = malloc((sz
[all...]
/freebsd-13-stable/contrib/mandoc/
H A Dread.c73 buf->sz = buf->sz > initial/2 ? 2 * buf->sz : initial;
74 buf->buf = mandoc_realloc(buf->buf, buf->sz);
104 ep = cp + curp->primary->sz;
157 ln.sz = 256;
158 ln.buf = mandoc_malloc(ln.sz);
166 while (i < blk.sz && (blk.buf[i] != '\0' || pos != 0)) {
177 while (i < blk.sz && (start || blk.buf[i] != '\0')) {
185 if ('\r' == blk.buf[i] && i + 1 < blk.sz
[all...]
H A Dchars.c453 mchars_spec2cp(const char *p, size_t sz) argument
458 end = p + sz;
464 mchars_num2char(const char *p, size_t sz) argument
468 i = mandoc_strntoi(p, sz, 10);
473 mchars_num2uc(const char *p, size_t sz) argument
477 i = mandoc_strntoi(p, sz, 16);
483 mchars_spec2str(const char *p, size_t sz, size_t *rsz) argument
488 end = p + sz;
H A Dtbl_layout.c68 size_t sz; local
133 sz = 0;
136 while (p[*pos + sz] != '\0' && p[*pos + sz] != ')')
137 sz++;
139 while (isdigit((unsigned char)p[*pos + sz]))
140 sz++;
141 if (sz) {
143 cp->wstr = mandoc_strndup(p + *pos, sz);
144 *pos += sz;
[all...]
H A Dterm.c530 int sz, uc; local
570 esc = mandoc_escape(&word, &seq, &sz);
573 uc = mchars_num2uc(seq + 1, sz - 1);
576 uc = mchars_num2char(seq, sz);
582 cp = mchars_spec2str(seq, sz, &ssz);
586 uc = mchars_spec2cp(seq, sz);
670 esc = mandoc_escape(&seq, &cp, &sz);
673 uc = mchars_num2uc(cp + 1, sz - 1);
676 uc = mchars_num2char(cp, sz);
679 uc = mchars_spec2cp(cp, sz);
755 adjbuf(struct termp_col *c, size_t sz) argument
830 encode(struct termp *p, const char *word, size_t sz) argument
899 term_len(const struct termp *p, size_t sz) argument
919 size_t sz, rsz, i; local
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DIOStreamMacros.h27 #define HEX_SIZE(x, sz) HEXBASE << std::setw((sz)) << (x)
/freebsd-13-stable/contrib/unbound/util/
H A Dtimehist.c228 timehist_export(struct timehist* hist, long long* array, size_t sz) argument
232 if(sz > hist->num)
233 sz = hist->num;
234 for(i=0; i<sz; i++)
239 timehist_import(struct timehist* hist, long long* array, size_t sz) argument
243 if(sz > hist->num)
244 sz = hist->num;
245 for(i=0; i<sz; i++)
/freebsd-13-stable/contrib/jemalloc/src/
H A Dsz.c2 #include "jemalloc/internal/sz.h"
49 size_t sz = (ZU(1) << sc->lg_base) local
51 size_t max_ind = ((sz + (ZU(1) << SC_LG_TINY_MIN) - 1)
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_persistent_allocator.h65 inline void *PersistentAlloc(uptr sz) { argument
66 return thePersistentAllocator.alloc(sz);
/freebsd-13-stable/contrib/ofed/infiniband-diags/src/
H A Dibping.c58 static void get_host_and_domain(char *data, int sz) argument
63 if (gethostname(s, sz) < 0)
64 snprintf(s, sz, "?hostname?");
66 s[sz - 1] = 0;
67 if ((n = strlen(s)) >= sz)
71 sz -= n + 1;
73 if (getdomainname(s, sz) < 0)
74 snprintf(s, sz, "?domainname?");
/freebsd-13-stable/contrib/netbsd-tests/net/bpf/
H A Dt_bpf.c111 size_t iovlen, sz; local
129 sz = round_page((total + (iov_max - 1)) / iov_max);
131 iov[0].iov_len = sz;
132 iov[0].iov_base = mmap(NULL, sz, PROT_READ, MAP_ANON, -1, 0);
136 while (sz + iov[0].iov_len <= total)
140 sz += iov[0].iov_len;
144 if (sz < total)
146 iov[iovlen].iov_len = total - sz;
/freebsd-13-stable/contrib/ntp/lib/isc/include/isc/
H A Devent.h62 #define ISC_EVENT_INIT(event, sz, at, ta, ty, ac, ar, sn, df, da) \
64 (event)->ev_size = (sz); \
/freebsd-13-stable/sys/gdb/
H A Dgdb_int.h105 gdb_tx_hex(uintmax_t n, int sz) argument
107 gdb_txp += sprintf(gdb_txp, "%0*jx", sz, n);
/freebsd-13-stable/bin/dd/
H A Dposition.c61 size_t sz; local
64 sz = io->dbsz;
75 if ((io->flags & ISCHR) == 0 && (n < 0 || n > OFF_MAX / (ssize_t)sz))
78 else if ((io->flags & ISCHR) != 0 && (uint64_t)n > UINT64_MAX / sz)
82 return ((off_t)( (uint64_t)n * sz ));
/freebsd-13-stable/sys/dev/fb/
H A Dsplash.c66 size_t sz; local
76 sz = preload_fetch_size(image_module);
77 if (ptr == NULL || sz == 0)
81 printf("splash: image@%p, size:%zu\n", ptr, sz);
84 decoder->data_size = sz;
/freebsd-13-stable/contrib/openbsm/bsm/
H A Dlibbsm.h1303 int audit_get_car(char *path, size_t sz);
1304 int audit_get_class(au_evclass_map_t *evc_map, size_t sz);
1305 int audit_set_class(au_evclass_map_t *evc_map, size_t sz);
1306 int audit_get_event(au_evname_map_t *evn_map, size_t sz);
1307 int audit_set_event(au_evname_map_t *evn_map, size_t sz);
1310 int audit_get_cwd(char *path, size_t sz);
1311 int audit_get_fsize(au_fstat_t *fstat, size_t sz);
1312 int audit_set_fsize(au_fstat_t *fstat, size_t sz);
1313 int audit_get_kmask(au_mask_t *kmask, size_t sz);
1314 int audit_set_kmask(au_mask_t *kmask, size_t sz);
[all...]
/freebsd-13-stable/sys/powerpc/powerpc/
H A Dminidump_machdep.c55 static void dump_total(const char *id, size_t sz);
149 blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz) argument
158 if ((sz % PAGE_SIZE) != 0) {
179 while (sz) {
181 if (len > sz)
182 len = sz;
210 sz -= len;
391 dump_total(const char *id, size_t sz) argument
393 total += sz;
395 id, sz, tota
[all...]
/freebsd-13-stable/sbin/ipfw/
H A Dnat64clat.c274 size_t sz; local
284 sz = sizeof(buf);
287 if (do_get3(IP_FW_NAT64CLAT_CONFIG, &oh->opheader, &sz) != 0)
372 size_t sz; local
374 sz = sizeof(*oh) + sizeof(*oc) + sizeof(*stats);
375 oh = calloc(1, sz);
377 if (do_get3(IP_FW_NAT64CLAT_STATS, &oh->opheader, &sz) == 0) {
506 size_t sz; local
511 sz = sizeof(*olh) + 16 * sizeof(*cfg);
513 if ((olh = calloc(1, sz))
[all...]
H A Dnat64stl.c309 size_t sz; local
317 sz = sizeof(buf);
320 if (do_get3(IP_FW_NAT64STL_CONFIG, &oh->opheader, &sz) != 0)
388 size_t sz; local
390 sz = sizeof(*oh) + sizeof(*oc) + sizeof(*stats);
391 oh = calloc(1, sz);
393 if (do_get3(IP_FW_NAT64STL_STATS, &oh->opheader, &sz) == 0) {
522 size_t sz; local
527 sz = sizeof(*olh) + 16 * sizeof(*cfg);
529 if ((olh = calloc(1, sz))
[all...]
H A Dtables.c703 size_t sz; local
705 sz = sizeof(tbuf);
710 if (do_get3(IP_FW_TABLE_XINFO, &oh->opheader, &sz) != 0)
713 if (sz < sizeof(tbuf))
904 size_t sz; local
906 sz = sizeof(*ctlv) + sizeof(*tent) * count;
911 if ((pbuf = calloc(1, sizeof(*oh) + sz)) == NULL)
921 ctlv->head.length = sz;
933 sz += sizeof(*oh);
934 error = do_get3(cmd, &oh->opheader, &sz);
1126 size_t sz; local
1686 size_t sz; local
1735 size_t sz; local
1793 size_t sz; local
1944 size_t sz; local
[all...]
/freebsd-13-stable/sys/contrib/openzfs/include/sys/lua/
H A Dlauxlib.h48 LUALIB_API void (luaL_checkstack) (lua_State *L, int sz, const char *msg);
70 LUALIB_API int (luaL_loadbufferx) (lua_State *L, const char *buff, size_t sz,
122 #define luaL_loadbuffer(L,s,sz,n) luaL_loadbufferx(L,s,sz,n,NULL)
147 LUALIB_API char *(luaL_prepbuffsize) (luaL_Buffer *B, size_t sz);
152 LUALIB_API void (luaL_pushresultsize) (luaL_Buffer *B, size_t sz);
153 LUALIB_API char *(luaL_buffinitsize) (lua_State *L, luaL_Buffer *B, size_t sz);
/freebsd-13-stable/contrib/ntp/sntp/libopts/
H A Dautoopts.c63 ao_malloc(size_t sz) argument
65 void * res = malloc(sz);
67 fprintf(stderr, zalloc_fail, (int)sz);
76 ao_realloc(void *p, size_t sz) argument
78 void * res = (p == NULL) ? malloc(sz) : realloc(p, sz);
80 fprintf(stderr, zrealloc_fail, (int)sz, p);
/freebsd-13-stable/sys/dev/random/fenestrasX/
H A Dfx_rng.c173 const void *src, size_t sz, ...)
192 fxrng_hash_update(&mix, src, sz);
194 va_start(ap, sz);
199 sz = va_arg(ap, size_t);
200 fxrng_hash_update(&mix, src, sz);
246 size_t sz)
248 fxrng_rng_reseed_internal(rng, seeded, entr, sz, NULL);
172 fxrng_rng_reseed_internal(struct fxrng_basic_rng *rng, bool seeded, const void *src, size_t sz, ...) argument
245 fxrng_rng_reseed(struct fxrng_basic_rng *rng, bool seeded, const void *entr, size_t sz) argument
/freebsd-13-stable/usr.sbin/dumpcis/
H A Dreadcis.c97 xmalloc(int sz) argument
101 sz = (sz + 7) & ~7;
102 p = malloc(sz);
105 bzero(p, sz);
143 parse_num(int sz, u_char *p, u_char **q, int ofs) argument
147 switch (sz) {

Completed in 242 milliseconds

1234567891011>>