/freebsd-12-stable/sys/kern/ |
H A D | subr_compressor.c | 86 gz_alloc(void *arg __unused, u_int n, u_int sz) argument 94 return (malloc(n * sz, M_COMPRESS, M_WAITOK | M_ZERO | M_NODUMP));
|
/freebsd-12-stable/sys/kgssapi/krb5/ |
H A D | krb5_mech.c | 160 size_t sz = get_uint32(pp, lenp); local 162 dp->kd_length = sz; 163 dp->kd_data = malloc(sz, M_GSSAPI, M_WAITOK); 165 if (*lenp < sz) 166 sz = *lenp; 167 bcopy(*pp, dp->kd_data, sz); 168 (*pp) += sz; 169 (*lenp) -= sz;
|
/freebsd-12-stable/sys/vm/ |
H A D | vm_glue.c | 281 vm_sync_icache(vm_map_t map, vm_offset_t va, vm_offset_t sz) argument 284 pmap_sync_icache(map->pmap, va, sz);
|
/freebsd-12-stable/sys/amd64/include/ |
H A D | pmap.h | 420 #define pmap_unmapbios(va, sz) pmap_unmapdev((va), (sz))
|
/freebsd-12-stable/usr.bin/gzip/ |
H A D | gzip.c | 240 #define gz_compress(if, of, sz, fn, tm) gz_compress(if, of, sz) 2322 read_retry(int fd, void *buf, size_t sz) argument 2325 size_t left = MIN(sz, (size_t) SSIZE_MAX); 2340 return sz - left; 2344 write_retry(int fd, const void *buf, size_t sz) argument 2347 size_t left = MIN(sz, (size_t) SSIZE_MAX); 2362 return sz - left;
|
/freebsd-12-stable/usr.bin/mail/ |
H A D | lex.c | 474 setmsize(int sz) argument 479 msgvec = calloc((unsigned)(sz + 1), sizeof(*msgvec));
|
/freebsd-12-stable/usr.bin/mkimg/ |
H A D | gpt.c | 117 crc32(const void *buf, size_t sz) argument 122 while (sz--)
|
/freebsd-12-stable/usr.bin/tip/tip/ |
H A D | tip.c | 347 prompt(char *s, char *p, size_t sz) argument 359 while ((c = getchar()) != EOF && (*p = c) != '\n' && --sz > 0)
|
/freebsd-12-stable/usr.sbin/pkg/ |
H A D | config.c | 148 pkg_get_myabi(char *dest, size_t sz) argument 169 snprintf(dest, sz, "%s:%d:%s", uts.sysname, __FreeBSD_version/100000,
|
/freebsd-12-stable/sys/dev/md/ |
H A D | md.c | 506 int error, i, ma_offs1, sz, first_read; local 519 for (n = sectorsize; n != 0; n -= sz) { 520 sz = imin(PAGE_SIZE - *ma_offs, n); 535 bzero(p, sz); 538 memset(p, fill, sz); 541 bcopy(ptr, p, sz); 542 cpu_flush_dcache(p, sz); 545 bcopy(p, ptr, sz); 548 for (i = 0; i < sz; i++, p++) { 565 *ma_offs += sz; [all...] |
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_interface_internal.h | 106 void __hwasan_tag_memory(uptr p, u8 tag, uptr sz);
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl.cpp | 529 const int sz = thr->shadow_stack_end - thr->shadow_stack; local 530 const int newsz = 2 * sz; 533 internal_memcpy(newstack, thr->shadow_stack, sz * sizeof(uptr)); 536 thr->shadow_stack_pos = newstack + sz;
|
/freebsd-12-stable/contrib/gcclibs/libcpp/ |
H A D | lex.c | 455 size_t sz; local 457 sz = cpp_spell_token (pfile, token, buf, false) - buf; 460 "`%.*s' is not in NFKC", (int) sz, buf); 463 "`%.*s' is not in NFC", (int) sz, buf);
|
/freebsd-12-stable/contrib/elftoolchain/ar/ |
H A D | write.c | 574 size_t sz; local 585 sz = 2 * sizeof(long) + (bsdar->s_cnt * 2 * sizeof(long)) + 594 sz = sizeof(uint32_t) + bsdar->s_cnt * sizeof(uint32_t) + 598 return (sz);
|
/freebsd-12-stable/contrib/elftoolchain/elfcopy/ |
H A D | binary.c | 217 shtab->sz += gelf_fsize(ecp->eout, ELF_T_SHDR, 2, EV_CURRENT);
|
H A D | elfcopy.h | 126 uint64_t sz; /* section size */ member in struct:section
|
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_pid.c | 129 ulong_t sz; local 143 sz = sizeof (fasttrap_probe_spec_t) + (isdash ? 4 : 146 if ((ftp = dt_alloc(dtp, sz)) == NULL) { 147 dt_dprintf("proc_per_sym: dt_alloc(%lu) failed\n", sz);
|
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lgc.h | 148 LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz,
|
/freebsd-12-stable/sys/dev/mlx5/ |
H A D | vport.h | 159 u8 port_num, void *out, size_t sz);
|
/freebsd-12-stable/sys/dev/sound/pci/ |
H A D | als4000.c | 281 int32_t pos, sz; local 286 sz = sndbuf_getsize(ch->buffer); 287 return (2 * sz - pos - 1) % sz;
|
H A D | cs4281.c | 419 int sz; local 421 sz = sndbuf_getsize(ch->buffer); 424 ptr = (dca - dba + sz) % sz;
|
/freebsd-12-stable/sys/net/ |
H A D | if_ethersubr.c | 1394 int i, sz; local 1402 sz = asprintf(&buf, M_TEMP, "%s-%s-%s", uuid, if_name(ifp), 1404 if (sz < 0) { 1412 SHA1Update(&ctx, buf, sz);
|
/freebsd-12-stable/sys/dev/cfi/ |
H A D | cfi_core.c | 182 cfi_fmtsize(uint32_t sz) argument 189 while (sfxidx < 3 && sz > 1023) { 190 sz /= 1024; 194 sprintf(buf, "%u%sB", sz, sfx[sfxidx]);
|
/freebsd-12-stable/usr.bin/sort/ |
H A D | bwstring.c | 189 bwsalloc(size_t sz) argument 194 ret = sort_malloc(sizeof(struct bwstring) + 1 + sz); 197 SIZEOF_WCHAR_STRING(sz + 1)); 198 ret->len = sz;
|
H A D | sort.c | 919 size_t sz = 0; local 929 rsd[sz++] = (char) cr; 931 if (sz >= MAX_DEFAULT_RANDOM_SEED_DATA_SIZE) 938 MD5Update(&ctx, rsd, sz);
|