Home
last modified time | relevance | path

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

1234567

/titanic_44/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 == 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()
/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_smb.c85 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo);
87 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo);
90 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo);
92 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo);
695 smb_smb_readx(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, in smb_smb_readx() argument
706 lenhi = (uint16_t)(*lenp >> 16); in smb_smb_readx()
707 lenlo = (uint16_t)*lenp; in smb_smb_readx()
768 *lenp = rlen; in smb_smb_readx()
772 if (rlen > *lenp) { in smb_smb_readx()
774 rlen, *lenp); in smb_smb_readx()
[all …]
/titanic_44/usr/src/lib/libipmp/common/
H A Dipmp_mpathd.c121 ipmp_readtlv(int fd, ipmp_infotype_t *typep, size_t *lenp, void **valuep, in ipmp_readtlv() argument
131 retval = ipmp_read(fd, lenp, sizeof (*lenp), endtp); in ipmp_readtlv()
135 value = malloc(*lenp); in ipmp_readtlv()
142 value = alloca(*lenp); in ipmp_readtlv()
143 (void) ipmp_read(fd, value, *lenp, endtp); in ipmp_readtlv()
147 retval = ipmp_read(fd, value, *lenp, endtp); in ipmp_readtlv()
/titanic_44/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()
/titanic_44/usr/src/uts/sun4u/littleneck/os/
H A Dlittleneck.c148 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
152 buf, buflen, lenp)); in plat_get_mem_unum()
158 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
163 *lenp = strlen(buf); in plat_get_cpu_unum()
/titanic_44/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()
/titanic_44/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
/titanic_44/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()
/titanic_44/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);
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dssh-dss.c45 ssh_dss_sign(Key *key, u_char **sigp, u_int *lenp, in ssh_dss_sign() argument
84 if (lenp != NULL) in ssh_dss_sign()
85 *lenp = SIGBLOB_LEN; in ssh_dss_sign()
96 if (lenp != NULL) in ssh_dss_sign()
97 *lenp = len; in ssh_dss_sign()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/uts/sun4u/excalibur/os/
H A Dexcalibur.c184 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
188 buf, buflen, lenp)); in plat_get_mem_unum()
194 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
199 *lenp = strlen(buf); in plat_get_cpu_unum()
/titanic_44/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()
/titanic_44/usr/src/lib/libresolv2/common/nameser/
H A Dns_sign.c95 u_char *lenp; in ns_sign2() local
130 lenp = cp; in ns_sign2()
244 PUTSHORT(cp - lenp - INT16SZ, lenp); in ns_sign2()
282 u_char *cp, *eob, *lenp; in ns_sign_tcp2() local
329 lenp = cp; in ns_sign_tcp2()
380 PUTSHORT(cp - lenp - INT16SZ, lenp); in ns_sign_tcp2()
/titanic_44/usr/src/uts/common/inet/kssl/
H A Dksslfilter.c350 size_t *lenp) in kssl_data_in_cb() argument
365 *lenp = 0; in kssl_data_in_cb()
402 *lenp += MBLKL(outmp); in kssl_data_in_cb()
405 *lenp += MBLKL(outmp); in kssl_data_in_cb()
440 *lenp += MBLKL(mp); in kssl_data_in_cb()
443 *lenp += MBLKL(mp); in kssl_data_in_cb()
464 cred_t *cr, size_t *lenp) in kssl_data_in_proc_cb() argument
475 *lenp = 0; in kssl_data_in_proc_cb()
483 *lenp = msgdsize(mp); in kssl_data_in_proc_cb()
/titanic_44/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()
/titanic_44/usr/src/uts/sun4u/chicago/os/
H A Dchicago.c160 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) in plat_get_mem_unum() argument
164 buf, buflen, lenp)); in plat_get_mem_unum()
171 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) in plat_get_cpu_unum() argument
176 *lenp = strlen(buf); in plat_get_cpu_unum()
/titanic_44/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()
/titanic_44/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);
/titanic_44/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 …]
/titanic_44/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 …]
H A Dsg_unum.c75 int *lenp) in sg_get_ecacheunum() argument
97 *lenp = snprintf(buf, buflen, "/N%d/SB%d/P%d/E%d J%d", in sg_get_ecacheunum()
/titanic_44/usr/src/cmd/ssh/include/
H A Dg11n.h85 extern char *g11n_convert_from_utf8(const char *str, uint_t *lenp,
88 extern char *g11n_convert_to_utf8(const char *str, uint_t *lenp, int native,
/titanic_44/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