Searched refs:sizep (Results 1 - 25 of 57) sorted by relevance

123

/freebsd-9.3-release/lib/libc/gen/
H A Dsysctlnametomib.c43 sysctlnametomib(const char *name, int *mibp, size_t *sizep) argument
51 *sizep *= sizeof(int);
52 error = sysctl(oid, 2, mibp, sizep, name, strlen(name));
53 *sizep /= sizeof(int);
/freebsd-9.3-release/lib/libgeom/
H A Dgeom_getxml.c44 size_t sizep; local
46 sizep = sizeof(mib) / sizeof(*mib);
47 if (sysctlnametomib("kern.geom.confxml", mib, &sizep) != 0)
49 if (sysctl(mib, sizep, NULL, &l, NULL, 0) != 0)
55 if (sysctl(mib, sizep, p, &l, NULL, 0) != 0) {
/freebsd-9.3-release/sbin/hastd/
H A Dhast_checksum.h40 void **datap, size_t *sizep, bool *freedatap);
42 void **datap, size_t *sizep, bool *freedatap);
H A Dhast_compression.h40 void **datap, size_t *sizep, bool *freedatap);
42 void **datap, size_t *sizep, bool *freedatap);
H A Dhast_compression.c72 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 Dhast_checksum.c94 size_t *sizep, bool *freedatap __unused)
103 hast_crc32_checksum(*datap, *sizep, hash, &hsize);
107 hast_sha256_checksum(*datap, *sizep, hash, &hsize);
124 void **datap, size_t *sizep, bool *freedatap __unused)
140 hast_crc32_checksum(*datap, *sizep, chash, &chsize);
143 hast_sha256_checksum(*datap, *sizep, chash, &chsize);
93 checksum_send(const struct hast_resource *res, struct nv *nv, void **datap, size_t *sizep, bool *freedatap __unused) argument
123 checksum_recv(const struct hast_resource *res __unused, struct nv *nv, void **datap, size_t *sizep, bool *freedatap __unused) argument
H A Dnv.h110 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 Debuf.h48 void *ebuf_data(struct ebuf *eb, size_t *sizep);
H A Dactivemap.h57 const unsigned char *activemap_bitmap(struct activemap *amp, size_t *sizep);
H A Debuf.c187 ebuf_data(struct ebuf *eb, size_t *sizep) argument
192 if (sizep != NULL)
193 *sizep = eb->eb_size;
/freebsd-9.3-release/lib/libc/xdr/
H A Dxdr_array.c61 * *addrp is a pointer to the array, *sizep is the number of elements.
62 * If addrp is NULL (*sizep * elsize) bytes are allocated.
67 xdr_array(xdrs, addrp, sizep, maxsize, elsize, elproc)
70 u_int *sizep; /* number of elements */
82 if (!xdr_u_int(xdrs, sizep)) {
85 c = *sizep;
/freebsd-9.3-release/usr.bin/gcore/
H A Delfcore.c102 static void *procstat_sysctl(void *, int, size_t, size_t *sizep);
286 elf_putnotes(pid_t pid, struct sbuf *sb, size_t *sizep) argument
329 *sizep = size;
491 elf_note_prpsinfo(void *arg, size_t *sizep) argument
518 *sizep = sizeof(*psinfo);
523 elf_note_prstatus(void *arg, size_t *sizep) argument
540 *sizep = sizeof(*status);
545 elf_note_fpregset(void *arg, size_t *sizep) argument
556 *sizep = sizeof(*fpregset);
561 elf_note_thrmisc(void *arg, size_t *sizep) argument
581 procstat_sysctl(void *arg, int what, size_t structsz, size_t *sizep) argument
610 elf_note_procstat_proc(void *arg, size_t *sizep) argument
618 elf_note_procstat_files(void *arg, size_t *sizep) argument
626 elf_note_procstat_vmmap(void *arg, size_t *sizep) argument
634 elf_note_procstat_groups(void *arg, size_t *sizep) argument
641 elf_note_procstat_umask(void *arg, size_t *sizep) argument
648 elf_note_procstat_osrel(void *arg, size_t *sizep) argument
655 elf_note_procstat_psstrings(void *arg, size_t *sizep) argument
663 elf_note_procstat_auxv(void *arg, size_t *sizep) argument
671 elf_note_procstat_rlimit(void *arg, size_t *sizep) argument
[all...]
/freebsd-9.3-release/contrib/groff/src/libs/libgroff/
H A Dstring.cpp26 static char *salloc(int len, int *sizep);
28 static char *sfree_alloc(char *ptr, int size, int len, int *sizep);
29 static char *srealloc(char *ptr, int size, int oldlen, int newlen, int *sizep);
31 static char *salloc(int len, int *sizep) argument
34 *sizep = 0;
38 return new char[*sizep = len*2];
46 static char *sfree_alloc(char *ptr, int oldsz, int len, int *sizep) argument
49 *sizep = oldsz;
54 *sizep = 0;
58 return new char[*sizep
61 srealloc(char *ptr, int oldsz, int oldlen, int newlen, int *sizep) argument
[all...]
/freebsd-9.3-release/lib/libc/stdio/
H A Dopen_memstream.c46 size_t *sizep; member in struct:memstream
83 *ms->sizep = ms->len < ms->offset ? ms->len : ms->offset;
171 open_memstream(char **bufp, size_t *sizep) argument
177 if (bufp == NULL || sizep == NULL) {
193 ms->sizep = sizep;
H A Dopen_wmemstream.c46 size_t *sizep; member in struct:wmemstream
84 *ms->sizep = ms->len < ms->offset ? ms->len : ms->offset;
232 open_wmemstream(wchar_t **bufp, size_t *sizep) argument
238 if (bufp == NULL || sizep == NULL) {
254 ms->sizep = sizep;
/freebsd-9.3-release/sys/xdr/
H A Dxdr_array.c58 * *addrp is a pointer to the array, *sizep is the number of elements.
59 * If addrp is NULL (*sizep * elsize) bytes are allocated.
66 u_int *sizep, /* number of elements */
78 if (!xdr_u_int(xdrs, sizep)) {
81 c = *sizep;
64 xdr_array(XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc) argument
/freebsd-9.3-release/sys/kern/
H A Dimgact_elf.c1170 size_t *sizep; local
1172 sizep = (size_t *)arg;
1173 *sizep += len;
1447 size_t *sizep)
1500 *sizep = size;
1642 __elfN(note_prpsinfo)(void *arg, struct sbuf *sb, size_t *sizep) argument
1649 KASSERT(*sizep == sizeof(*psinfo), ("invalid size"));
1664 *sizep = sizeof(*psinfo);
1668 __elfN(note_prstatus)(void *arg, struct sbuf *sb, size_t *sizep) argument
1675 KASSERT(*sizep
1446 prepare_notes(struct thread *td, struct note_info_list *list, size_t *sizep) argument
1696 note_fpregset(void *arg, struct sbuf *sb, size_t *sizep) argument
1717 note_thrmisc(void *arg, struct sbuf *sb, size_t *sizep) argument
1737 note_threadmd(void *arg, struct sbuf *sb, size_t *sizep) argument
1763 note_procstat_proc(void *arg, struct sbuf *sb, size_t *sizep) argument
1788 note_procstat_files(void *arg, struct sbuf *sb, size_t *sizep) argument
1818 note_procstat_vmmap(void *arg, struct sbuf *sb, size_t *sizep) argument
1844 note_procstat_groups(void *arg, struct sbuf *sb, size_t *sizep) argument
1863 note_procstat_umask(void *arg, struct sbuf *sb, size_t *sizep) argument
1881 note_procstat_rlimit(void *arg, struct sbuf *sb, size_t *sizep) argument
1904 note_procstat_osrel(void *arg, struct sbuf *sb, size_t *sizep) argument
1922 note_procstat_psstrings(void *arg, struct sbuf *sb, size_t *sizep) argument
1946 note_procstat_auxv(void *arg, struct sbuf *sb, size_t *sizep) argument
[all...]
H A Dvfs_extattr.c338 size_t size, *sizep; local
350 sizep = NULL;
369 sizep = &size;
378 error = VOP_GETEXTATTR(vp, attrnamespace, attrname, auiop, sizep,
658 size_t size, *sizep; local
667 sizep = NULL;
686 sizep = &size;
694 error = VOP_LISTEXTATTR(vp, attrnamespace, auiop, sizep,
/freebsd-9.3-release/bin/ed/
H A Dio.c215 get_extended_line(int *sizep, int nonl) argument
226 *sizep = l;
229 *sizep = -1;
251 *sizep = l;
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddmu_send.h46 uint64_t *sizep);
/freebsd-9.3-release/sys/dev/sfxge/common/
H A Dsiena_impl.h111 __out size_t *sizep);
152 __out size_t *sizep);
170 __out size_t *sizep);
228 __out size_t *sizep);
H A Dsiena_vpd.c43 __deref_out_bcount_opt(*sizep) caddr_t *svpdp,
44 __out size_t *sizep)
128 *sizep = vpd_length;
202 __out size_t *sizep)
222 if ((rc = siena_nvram_partn_size(enp, partn, sizep)) != 0)
40 siena_vpd_get_static( __in efx_nic_t *enp, __in unsigned int partn, __deref_out_bcount_opt(*sizep) caddr_t *svpdp, __out size_t *sizep) argument
200 siena_vpd_size( __in efx_nic_t *enp, __out size_t *sizep) argument
H A Defx_nvram.c143 __out size_t *sizep)
153 if ((rc = envop->envo_size(enp, type, sizep)) != 0)
140 efx_nvram_size( __in efx_nic_t *enp, __in efx_nvram_type_t type, __out size_t *sizep) argument
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c264 addr_to_sym(uintptr_t addr, uintptr_t *offset, size_t *sizep) argument
281 *sizep = sep->size;
/freebsd-9.3-release/sys/dev/usb/
H A Dusb_hid.c807 void **descp, uint16_t *sizep,
823 *sizep = UGETW(hid->descrs[0].wDescriptorLength);
824 if (*sizep == 0) {
830 *descp = malloc(*sizep, mem, M_ZERO | M_WAITOK);
839 (udev, mtx, *descp, *sizep, iface_index);
806 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

Completed in 146 milliseconds

123