/freebsd-current/lib/libc/gen/ |
H A D | sysctlnametomib.c | 42 sysctlnametomib(const char *name, int *mibp, size_t *sizep) argument 50 *sizep *= sizeof(int); 51 error = sysctl(oid, 2, mibp, sizep, name, strlen(name)); 52 *sizep /= sizeof(int);
|
/freebsd-current/sbin/hastd/ |
H A D | hast_compression.c | 72 hast_hole_compress(const unsigned char *data, size_t *sizep) argument 77 if (!allzeros(data, *sizep)) 83 (size_t)*sizep); 86 size = htole32((uint32_t)*sizep); 88 *sizep = sizeof(size); 94 hast_hole_decompress(const unsigned char *data, size_t *sizep) argument 99 if (*sizep != sizeof(size)) { 101 *sizep); 115 *sizep = size; 124 hast_lzf_compress(const unsigned char *data, size_t *sizep) argument 156 hast_lzf_decompress(const unsigned char *data, size_t *sizep) argument 203 compression_send(const struct hast_resource *res, struct nv *nv, void **datap, size_t *sizep, bool *freedatap) argument 251 compression_recv(const struct hast_resource *res __unused, struct nv *nv, void **datap, size_t *sizep, bool *freedatap) argument [all...] |
H A D | hast_compression.h | 40 void **datap, size_t *sizep, bool *freedatap); 42 void **datap, size_t *sizep, bool *freedatap);
|
H A D | hast_checksum.h | 40 void **datap, size_t *sizep, bool *freedatap); 42 void **datap, size_t *sizep, bool *freedatap);
|
H A D | hast_checksum.c | 87 size_t *sizep, bool *freedatap __unused) 96 hast_crc32_checksum(*datap, *sizep, hash, &hsize); 99 hast_sha256_checksum(*datap, *sizep, hash, &hsize); 115 void **datap, size_t *sizep, bool *freedatap __unused) 131 hast_crc32_checksum(*datap, *sizep, chash, &chsize); 133 hast_sha256_checksum(*datap, *sizep, chash, &chsize); 86 checksum_send(const struct hast_resource *res, struct nv *nv, void **datap, size_t *sizep, bool *freedatap __unused) argument 114 checksum_recv(const struct hast_resource *res __unused, struct nv *nv, void **datap, size_t *sizep, bool *freedatap __unused) argument
|
H A D | nv.h | 110 const int8_t *nv_get_int8_array(struct nv *nv, size_t *sizep, 112 const uint8_t *nv_get_uint8_array(struct nv *nv, size_t *sizep, 114 const int16_t *nv_get_int16_array(struct nv *nv, size_t *sizep, 116 const uint16_t *nv_get_uint16_array(struct nv *nv, size_t *sizep, 118 const int32_t *nv_get_int32_array(struct nv *nv, size_t *sizep, 120 const uint32_t *nv_get_uint32_array(struct nv *nv, size_t *sizep, 122 const int64_t *nv_get_int64_array(struct nv *nv, size_t *sizep, 124 const uint64_t *nv_get_uint64_array(struct nv *nv, size_t *sizep,
|
H A D | ebuf.h | 48 void *ebuf_data(struct ebuf *eb, size_t *sizep);
|
/freebsd-current/sys/contrib/libnv/ |
H A D | dnvlist.c | 78 dnvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep, 84 value = nvlist_get_binary(nvl, name, sizep); 86 if (sizep != NULL) 87 *sizep = defsize; 115 dnvlist_take_binary(nvlist_t *nvl, const char *name, size_t *sizep, 121 value = nvlist_take_binary(nvl, name, sizep); 123 if (sizep != NULL) 124 *sizep = defsize;
|
H A D | cnvlist.c | 117 cnvlist_get_binary(const void *cookie, size_t *sizep) 122 return (nvpair_get_binary(cookie, sizep)); 182 cnvlist_take_binary(void *cookie, size_t *sizep) 190 value = (void *)(intptr_t)nvpair_get_binary(cookie, sizep);
|
/freebsd-current/lib/libgeom/ |
H A D | geom_getxml.c | 65 size_t sizep; local 68 sizep = sizeof(mib) / sizeof(*mib); 69 if (sysctlnametomib("kern.geom.confxml", mib, &sizep) != 0) 71 if (sysctl(mib, sizep, NULL, &l, NULL, 0) != 0) 79 if (sysctl(mib, sizep, p, &l, NULL, 0) == 0)
|
/freebsd-current/sys/arm/arm/ |
H A D | ptrace_machdep.c | 39 get_arm_vfp(struct regset *rs, struct thread *td, void *buf, size_t *sizep) argument 42 KASSERT(*sizep == sizeof(mcontext_vfp_t), 46 *sizep = sizeof(mcontext_vfp_t); 70 size_t *sizep) 73 KASSERT(*sizep == sizeof(td->td_pcb->pcb_regs.sf_tpidrurw), 78 *sizep = sizeof(td->td_pcb->pcb_regs.sf_tpidrurw); 69 get_arm_tls(struct regset *rs, struct thread *td, void *buf, size_t *sizep) argument
|
/freebsd-current/sys/arm64/arm64/ |
H A D | ptrace_machdep.c | 82 get_arm_vfp(struct regset *rs, struct thread *td, void *buf, size_t *sizep) argument 85 KASSERT(*sizep == sizeof(mcontext32_vfp_t), 89 *sizep = sizeof(mcontext32_vfp_t); 114 size_t *sizep) 117 KASSERT(*sizep == sizeof(td->td_pcb->pcb_tpidr_el0), 122 *sizep = sizeof(td->td_pcb->pcb_tpidr_el0); 137 size_t *sizep) 142 KASSERT(*sizep == sizeof(uint32_t), 147 *sizep = sizeof(uint32_t); 113 get_arm64_tls(struct regset *rs, struct thread *td, void *buf, size_t *sizep) argument 136 get_arm_tls(struct regset *rs, struct thread *td, void *buf, size_t *sizep) argument
|
/freebsd-current/lib/libc/xdr/ |
H A D | xdr_array.c | 56 * *addrp is a pointer to the array, *sizep is the number of elements. 57 * If addrp is NULL (*sizep * elsize) bytes are allocated. 62 xdr_array(XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc) argument 66 * u_int *sizep; // number of elements 79 if (!xdr_u_int(xdrs, sizep)) { 82 c = *sizep;
|
/freebsd-current/sys/dev/usb/ |
H A D | usb_hid.c | 113 void **descp, uint16_t *sizep, 129 *sizep = UGETW(hid->descrs[0].wDescriptorLength); 130 if (*sizep == 0) { 136 *descp = malloc(*sizep, mem, M_ZERO | M_WAITOK); 145 (udev, mtx, *descp, *sizep, iface_index); 112 usbd_req_get_hid_desc(struct usb_device *udev, struct mtx *mtx, void **descp, uint16_t *sizep, struct malloc_type *mem, uint8_t iface_index) argument
|
/freebsd-current/lib/libc/stdio/ |
H A D | open_memstream.c | 48 size_t *sizep; member in struct:memstream 85 *ms->sizep = ms->len < ms->offset ? ms->len : ms->offset; 173 open_memstream(char **bufp, size_t *sizep) argument 179 if (bufp == NULL || sizep == NULL) { 195 ms->sizep = sizep;
|
H A D | open_wmemstream.c | 48 size_t *sizep; member in struct:wmemstream 86 *ms->sizep = ms->len < ms->offset ? ms->len : ms->offset; 234 open_wmemstream(wchar_t **bufp, size_t *sizep) argument 240 if (bufp == NULL || sizep == NULL) { 256 ms->sizep = sizep;
|
/freebsd-current/lib/libcasper/services/cap_sysctl/ |
H A D | cap_sysctl.h | 56 size_t *sizep); 86 size_t *sizep) 89 return (sysctlnametomib(name, mibp, sizep));
|
/freebsd-current/sys/xdr/ |
H A D | xdr_array.c | 52 * *addrp is a pointer to the array, *sizep is the number of elements. 53 * If addrp is NULL (*sizep * elsize) bytes are allocated. 60 u_int *sizep, /* number of elements */ 72 if (!xdr_u_int(xdrs, sizep)) { 75 c = *sizep; 58 xdr_array(XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc) argument
|
/freebsd-current/usr.bin/mkimg/ |
H A D | image.h | 34 int image_copyin(lba_t blk, int fd, uint64_t *sizep);
|
/freebsd-current/usr.bin/gcore/ |
H A D | elfcore.c | 121 static void *procstat_sysctl(void *, int, size_t, size_t *sizep); 335 elf_putnotes(pid_t pid, struct sbuf *sb, size_t *sizep) argument 397 *sizep = size; 630 elf_note_prpsinfo(void *arg, size_t *sizep) argument 672 *sizep = sizeof(*psinfo); 678 elf_note_x86_xstate(void *arg, size_t *sizep) argument 693 *sizep = 0; 699 *sizep = info.xsave_len; 706 elf_note_powerpc_vmx(void *arg, size_t *sizep) argument 720 *sizep 730 elf_note_powerpc_vsx(void *arg, size_t *sizep) argument 755 procstat_sysctl(void *arg, int what, size_t structsz, size_t *sizep) argument 784 elf_note_procstat_proc(void *arg, size_t *sizep) argument 792 elf_note_procstat_files(void *arg, size_t *sizep) argument 800 elf_note_procstat_vmmap(void *arg, size_t *sizep) argument 808 elf_note_procstat_groups(void *arg, size_t *sizep) argument 815 elf_note_procstat_umask(void *arg, size_t *sizep) argument 822 elf_note_procstat_osrel(void *arg, size_t *sizep) argument 829 elf_note_procstat_psstrings(void *arg, size_t *sizep) argument 837 elf_note_procstat_auxv(void *arg, size_t *sizep) argument 845 elf_note_procstat_rlimit(void *arg, size_t *sizep) argument [all...] |
/freebsd-current/sys/sys/ |
H A D | dnv.h | 66 const void *dnvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep, const void *defval, size_t defsize); 81 void *dnvlist_take_binary(nvlist_t *nvl, const char *name, size_t *sizep, void *defval, size_t defsize);
|
H A D | cnv.h | 67 const void *cnvlist_get_binary(const void *cookie, size_t *sizep); 87 void *cnvlist_take_binary(void *cookie, size_t *sizep);
|
/freebsd-current/sys/compat/linux/ |
H A D | linux_elf.c | 105 size_t *sizep) 139 *sizep = size; 152 __linuxN(note_prpsinfo)(void *arg, struct sbuf *sb, size_t *sizep) argument 163 KASSERT(*sizep == sizeof(*psinfo), ("invalid size")); 212 *sizep = sizeof(*psinfo); 216 __linuxN(note_prstatus)(void *arg, struct sbuf *sb, size_t *sizep) argument 228 KASSERT(*sizep == sizeof(*status), ("invalid size")); 246 *sizep = sizeof(*status); 250 __linuxN(note_fpregset)(void *arg, struct sbuf *sb, size_t *sizep) argument 257 KASSERT(*sizep 104 prepare_notes(struct thread *td, struct note_info_list *list, size_t *sizep) argument 275 note_threadmd(void *arg, struct sbuf *sb, size_t *sizep) argument 297 note_nt_auxv(void *arg, struct sbuf *sb, size_t *sizep) argument [all...] |
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-xdr.c | 368 xdr_enc_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep, const uint_t maxsize, argument 374 if (*sizep > maxsize || *sizep > UINT_MAX / elsize) 377 if (!xdrmem_enc_uint(xdrs, sizep)) 380 for (i = 0; i < *sizep; i++) { 390 xdr_dec_array(XDR *xdrs, caddr_t *arrp, uint_t *sizep, const uint_t maxsize, argument 397 if (!xdrmem_dec_uint(xdrs, sizep)) 400 size = *sizep;
|
/freebsd-current/sys/amd64/amd64/ |
H A D | ptrace_machdep.c | 56 size_t *sizep) 62 KASSERT(*sizep == sizeof(*reg), ("%s: invalid size", __func__)); 71 *sizep = sizeof(*reg); 106 size_t *sizep) 112 KASSERT(*sizep == sizeof(*reg), ("%s: invalid size", __func__)); 121 *sizep = sizeof(*reg); 55 get_segbases(struct regset *rs, struct thread *td, void *buf, size_t *sizep) argument 105 get_segbases32(struct regset *rs, struct thread *td, void *buf, size_t *sizep) argument
|