/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | info.c | 138 "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 D | inet6_opt.c | 211 socklen_t *lenp, void **databufp) in inet6_opt_next() argument 252 if (lenp) { in inet6_opt_next() 253 *lenp = *(p + 1); in inet6_opt_next() 259 return ((p - (uint8_t *)extbuf) + 2 + *lenp); in inet6_opt_next() 272 socklen_t *lenp, void **databufp) in inet6_opt_find() argument 277 offset = inet6_opt_next(extbuf, extlen, offset, &newtype, lenp, in inet6_opt_find()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | bootparam.c | 326 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 D | ipmp_mpathd.c | 124 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 D | littleneck.c | 146 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 D | mach_cpu_module.c | 118 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 D | taco.c | 209 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 D | nfssys.c | 56 nfs_getfh(char *path, int vers, int *lenp, char *fhp) in nfs_getfh() argument 62 nga.lenp = lenp; in nfs_getfh()
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | cpu_module.h | 143 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 D | dnsglue.c | 180 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()
|
H A D | foreachaddr.c | 138 get_lifconf (int af, int s, size_t *lenp, char *buf) in get_lifconf() argument 146 lifc.lifc_len = *lenp; in get_lifconf() 148 memset(buf, 0, *lenp); in get_lifconf() 154 *lenp = lifc.lifc_len; in get_lifconf()
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getgrent.c | 72 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/lib/libresolv2/common/nameser/ |
H A D | ns_sign.c | 89 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/uts/sun4u/excalibur/os/ |
H A D | excalibur.c | 182 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 D | schumacher.c | 190 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 D | enchilada.c | 207 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/lw8/os/ |
H A D | lw8_platmod.c | 922 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 D | serengeti.c | 912 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/uts/sun4u/chicago/os/ |
H A D | chicago.c | 158 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/lib/libsasl/lib/ |
H A D | canonusr.c | 95 unsigned *lenp; local 102 lenp = &(oparams->alen); 105 lenp = &(oparams->ulen); 125 user_buf, CANON_BUF_SIZE, lenp); 132 ulen = *lenp; 183 CANON_BUF_SIZE, lenp); 191 CANON_BUF_SIZE, lenp);
|
/illumos-gate/usr/src/lib/libdscp/ |
H A D | libdscp.c | 242 dscpAddr(int domain_id, int which, struct sockaddr *saddr, int *lenp) in dscpAddr() argument 251 if (((saddr == NULL) || (lenp == NULL)) || in dscpAddr() 309 *lenp = sizeof (struct sockaddr_in); in dscpAddr() 504 convert_ipv4(struct sockaddr_in *addr, struct sockaddr_in6 *addr6, int *lenp) in convert_ipv4() argument 537 *lenp = sizeof (struct sockaddr_in6); in convert_ipv4()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_subr.h | 151 const char *src, int len, int caseopt, int *lenp); 218 int smb_smb_readx(smb_fh_t *fhp, uint32_t *lenp, 220 int smb_smb_writex(smb_fh_t *fhp, uint32_t *lenp, 249 int smb2_smb_read(smb_fh_t *fhp, uint32_t *lenp, 251 int smb2_smb_write(smb_fh_t *fhp, uint32_t *lenp,
|
H A D | smb_smb.c | 1123 smb_smb_readx(smb_fh_t *fhp, uint32_t *lenp, in smb_smb_readx() argument 1135 lenhi = (uint16_t)(*lenp >> 16); in smb_smb_readx() 1136 lenlo = (uint16_t)*lenp; in smb_smb_readx() 1197 *lenp = rlen; in smb_smb_readx() 1201 if (rlen > *lenp) { in smb_smb_readx() 1203 rlen, *lenp); in smb_smb_readx() 1204 rlen = *lenp; in smb_smb_readx() 1211 *lenp = rlen; in smb_smb_readx() 1219 smb_smb_writex(smb_fh_t *fhp, uint32_t *lenp, in smb_smb_writex() argument 1231 lenhi = (uint16_t)(*lenp >> 16); in smb_smb_writex() [all …]
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | quota_ufs.c | 124 char **uerrp, size_t *lenp) in chkdq() argument 389 *lenp = strlen(errmsg) + 20 + 20 + in chkdq() 391 *uerrp = (char *)kmem_alloc(*lenp, KM_NOSLEEP); in chkdq() 418 int force, struct cred *cr, char **uerrp, size_t *lenp) in chkiq() argument 568 *lenp = strlen(errmsg) + 20 + 20 + in chkiq() 570 *uerrp = (char *)kmem_alloc(*lenp, KM_NOSLEEP); in chkiq()
|
/illumos-gate/usr/src/common/mdesc/ |
H A D | mdesc_getpropdata.c | 33 uint8_t **datap, int *lenp) in md_get_prop_data() argument 56 *lenp = (int)MDE_PROP_DATA_LEN(mdep); in md_get_prop_data()
|