Home
last modified time | relevance | path

Searched refs:lenp (Results 1 – 25 of 152) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dinfo.c138 "optname: %d lenp: %llx datap: %llx", optname, arg.lenp, arg.datap); in rdsv3_info_ioctl()
140 if (arg.lenp == (uintptr_t)NULL) { in rdsv3_info_ioctl()
145 if (ddi_copyin((void *)(uintptr_t)arg.lenp, &ulen, in rdsv3_info_ioctl()
148 "ddi_copyin for address, lenp: 0x%p failed", arg.lenp); in rdsv3_info_ioctl()
173 if (ddi_copyout(&klen, (void *)(uintptr_t)arg.lenp, in rdsv3_info_ioctl()
176 "ddi_copyout(%p %p) failed", &klen, arg.lenp); in rdsv3_info_ioctl()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinet6_opt.c213 socklen_t *lenp, void **databufp) in inet6_opt_next() argument
254 if (lenp) { in inet6_opt_next()
255 *lenp = *(p + 1); in inet6_opt_next()
261 return ((p - (uint8_t *)extbuf) + 2 + *lenp); in inet6_opt_next()
274 socklen_t *lenp, void **databufp) in inet6_opt_find() argument
279 offset = inet6_opt_next(extbuf, extlen, offset, &newtype, lenp, in inet6_opt_find()
/illumos-gate/usr/src/boot/libsa/
H A Dbootparam.c326 uint32_t *lenp; in xdr_string_encode() local
331 lenp = (uint32_t *) *pkt; in xdr_string_encode()
332 *pkt += sizeof(*lenp); in xdr_string_encode()
333 *lenp = htonl(len); in xdr_string_encode()
345 uint32_t *lenp; in xdr_string_decode() local
351 lenp = (uint32_t *) *pkt; in xdr_string_decode()
352 *pkt += sizeof(*lenp); in xdr_string_decode()
353 slen = ntohl(*lenp); in xdr_string_decode()
/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp_mpathd.c124 ipmp_readtlv(int fd, ipmp_infotype_t *typep, size_t *lenp, void **valuep, in ipmp_readtlv() argument
139 *lenp = tlen; in ipmp_readtlv()
141 value = malloc(*lenp); in ipmp_readtlv()
148 value = alloca(*lenp); in ipmp_readtlv()
149 (void) ipmp_read(fd, value, *lenp, endtp); in ipmp_readtlv()
153 retval = ipmp_read(fd, value, *lenp, endtp); in ipmp_readtlv()
/illumos-gate/usr/src/uts/sun4u/littleneck/os/
H A Dlittleneck.c146 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
150 buf, buflen, lenp)); in plat_get_mem_unum()
156 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
161 *lenp = strlen(buf); in plat_get_cpu_unum()
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dmach_cpu_module.c118 cpu_get_mem_sid(char *unum, char *buf, int buflen, int *lenp) in cpu_get_mem_sid() argument
136 int buflen, int *lenp) in cpu_get_mem_unum() argument
142 char *buf, int buflen, int *lenp) in cpu_get_mem_unum_aflt() argument
147 cpu_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in cpu_get_cpu_unum() argument
153 char *buf, int buflen, int *lenp) in cpu_get_mem_name() argument
/illumos-gate/usr/src/uts/sun4u/taco/os/
H A Dtaco.c209 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
213 buf, buflen, lenp)); in plat_get_mem_unum()
220 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
225 *lenp = strlen(buf); in plat_get_cpu_unum()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dnfssys.c58 nfs_getfh(char *path, int vers, int *lenp, char *fhp) in nfs_getfh() argument
64 nga.lenp = lenp; in nfs_getfh()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfpu_subr.c236 fpu_auxv_info(int *typep, size_t *lenp) in fpu_auxv_info() argument
241 *lenp = sizeof (struct fxsave_state); in fpu_auxv_info()
244 *lenp = cpuid_get_xsave_size(); in fpu_auxv_info()
247 *lenp = 0; in fpu_auxv_info()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dcpu_module.h143 int cpu_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp);
147 char *buf, int buflen, int *lenp);
166 ushort_t flt_status, char *buf, int buflen, int *lenp);
168 char *buf, int buflen, int *lenp);
169 extern int cpu_get_mem_sid(char *unum, char *buf, int buflen, int *lenp);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnsglue.c180 const unsigned char **pp, int *lenp) in krb5int_dns_nextans() argument
186 *lenp = 0; in krb5int_dns_nextans()
195 *lenp = ns_rr_rdlen(rr); in krb5int_dns_nextans()
293 const unsigned char **pp, int *lenp) in krb5int_dns_nextans() argument
303 *lenp = 0; in krb5int_dns_nextans()
330 *lenp = rdlen; in krb5int_dns_nextans()
/illumos-gate/usr/src/lib/efcode/engine/
H A Dinterface.c83 pop_a_string(fcode_env_t *env, int *lenp) in pop_a_string() argument
94 if (lenp) in pop_a_string()
95 *lenp = len; in pop_a_string()
103 pop_a_duped_string(fcode_env_t *env, int *lenp) in pop_a_duped_string() argument
107 str = pop_a_string(env, lenp); in pop_a_duped_string()
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_sign.c89 u_char *lenp; in ns_sign2() local
124 lenp = cp; in ns_sign2()
238 PUTSHORT(cp - lenp - INT16SZ, lenp); in ns_sign2()
276 u_char *cp, *eob, *lenp; in ns_sign_tcp2() local
323 lenp = cp; in ns_sign_tcp2()
374 PUTSHORT(cp - lenp - INT16SZ, lenp); in ns_sign_tcp2()
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetgrent.c72 getmembers_UID(char **bufpp, int *lenp, ns_ldap_attr_t *members);
74 getmembers_DN(char **bufpp, int *lenp, ns_ldap_attr_t *members);
181 getmembers_UID(char **bufpp, int *lenp, ns_ldap_attr_t *members) in getmembers_UID() argument
191 buflen = *lenp; in getmembers_UID()
222 *lenp = buflen; in getmembers_UID()
236 getmembers_DN(char **bufpp, int *lenp, ns_ldap_attr_t *members) in getmembers_DN() argument
247 buflen = *lenp; in getmembers_DN()
296 *lenp = buflen; in getmembers_DN()
/illumos-gate/usr/src/uts/sun4u/excalibur/os/
H A Dexcalibur.c182 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
186 buf, buflen, lenp)); in plat_get_mem_unum()
192 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
197 *lenp = strlen(buf); in plat_get_cpu_unum()
/illumos-gate/usr/src/uts/sun4u/schumacher/os/
H A Dschumacher.c190 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
194 buf, buflen, lenp)); in plat_get_mem_unum()
201 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
206 *lenp = strlen(buf); in plat_get_cpu_unum()
/illumos-gate/usr/src/uts/sun4u/enchilada/os/
H A Denchilada.c207 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
211 buf, buflen, lenp)); in plat_get_mem_unum()
218 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
223 *lenp = strlen(buf); in plat_get_cpu_unum()
/illumos-gate/usr/src/uts/sun4u/chicago/os/
H A Dchicago.c158 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
162 buf, buflen, lenp)); in plat_get_mem_unum()
169 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
174 *lenp = strlen(buf); in plat_get_cpu_unum()
/illumos-gate/usr/src/uts/sun4u/lw8/os/
H A Dlw8_platmod.c922 int *lenp) in sg_prom_get_unum() argument
925 buf, buflen, lenp)) != 0) in sg_prom_get_unum()
927 else if (*lenp <= 1) in sg_prom_get_unum()
936 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
943 int buflen, int *lenp) = p2get_mem_unum; in plat_get_mem_unum()
960 P2ALIGN(flt_addr, 8), buf, buflen, lenp)); in plat_get_mem_unum()
963 buf, buflen, lenp)); in plat_get_mem_unum()
978 P2ALIGN(flt_addr, 8), buf, buflen, lenp) != 0) { in plat_get_mem_unum()
983 buf, buflen, lenp)); in plat_get_mem_unum()
1035 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
[all …]
/illumos-gate/usr/src/uts/sun4u/serengeti/os/
H A Dserengeti.c912 int *lenp) in sg_prom_get_unum() argument
915 buf, buflen, lenp)) != 0) in sg_prom_get_unum()
917 else if (*lenp <= 1) in sg_prom_get_unum()
926 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
933 int buflen, int *lenp) = p2get_mem_unum; in plat_get_mem_unum()
950 P2ALIGN(flt_addr, 8), buf, buflen, lenp)); in plat_get_mem_unum()
953 buf, buflen, lenp)); in plat_get_mem_unum()
968 P2ALIGN(flt_addr, 8), buf, buflen, lenp) != 0) { in plat_get_mem_unum()
973 buf, buflen, lenp)); in plat_get_mem_unum()
1025 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
[all …]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcanonusr.c96 unsigned *lenp; local
103 lenp = &(oparams->alen);
106 lenp = &(oparams->ulen);
126 user_buf, CANON_BUF_SIZE, lenp);
133 ulen = *lenp;
184 CANON_BUF_SIZE, lenp);
192 CANON_BUF_SIZE, lenp);
/illumos-gate/usr/src/lib/libdscp/
H A Dlibdscp.c244 dscpAddr(int domain_id, int which, struct sockaddr *saddr, int *lenp) in dscpAddr() argument
253 if (((saddr == NULL) || (lenp == NULL)) || in dscpAddr()
311 *lenp = sizeof (struct sockaddr_in); in dscpAddr()
506 convert_ipv4(struct sockaddr_in *addr, struct sockaddr_in6 *addr6, int *lenp) in convert_ipv4() argument
539 *lenp = sizeof (struct sockaddr_in6); in convert_ipv4()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_subr.h150 const char *src, int len, int caseopt, int *lenp);
210 int smb_smb_readx(smb_fh_t *fhp, uint32_t *lenp,
212 int smb_smb_writex(smb_fh_t *fhp, uint32_t *lenp,
241 int smb2_smb_read(smb_fh_t *fhp, uint32_t *lenp,
243 int smb2_smb_write(smb_fh_t *fhp, uint32_t *lenp,
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dquota_ufs.c127 char **uerrp, size_t *lenp) in chkdq() argument
392 *lenp = strlen(errmsg) + 20 + 20 + in chkdq()
394 *uerrp = (char *)kmem_alloc(*lenp, KM_NOSLEEP); in chkdq()
421 int force, struct cred *cr, char **uerrp, size_t *lenp) in chkiq() argument
571 *lenp = strlen(errmsg) + 20 + 20 + in chkiq()
573 *uerrp = (char *)kmem_alloc(*lenp, KM_NOSLEEP); in chkiq()
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_getpropdata.c35 uint8_t **datap, int *lenp) in md_get_prop_data() argument
58 *lenp = (int)MDE_PROP_DATA_LEN(mdep); in md_get_prop_data()

1234567