Searched defs:lenp (Results 1 - 25 of 110) sorted by relevance

12345

/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_getpropdata.c35 uint8_t **datap, int *lenp)
58 *lenp = (int)MDE_PROP_DATA_LEN(mdep);
34 md_get_prop_data(md_t *ptr, mde_cookie_t node, char *namep, uint8_t **datap, int *lenp) argument
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dnfssys.c58 nfs_getfh(char *path, int vers, int *lenp, char *fhp) argument
64 nga.lenp = lenp;
/illumos-gate/usr/src/uts/sun4u/serengeti/os/
H A Dsg_unum.c69 * lenp.
75 int *lenp)
97 *lenp = snprintf(buf, buflen, "/N%d/SB%d/P%d/E%d J%d",
74 sg_get_ecacheunum(int cpuid, uint64_t physaddr, char *buf, uint_t buflen, int *lenp) argument
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinet6_opt.c213 socklen_t *lenp, void **databufp)
254 if (lenp) {
255 *lenp = *(p + 1);
261 return ((p - (uint8_t *)extbuf) + 2 + *lenp);
274 socklen_t *lenp, void **databufp)
279 offset = inet6_opt_next(extbuf, extlen, offset, &newtype, lenp,
212 inet6_opt_next(void *extbuf, socklen_t extlen, int offset, uint8_t *typep, socklen_t *lenp, void **databufp) argument
273 inet6_opt_find(void *extbuf, socklen_t extlen, int offset, uint8_t type, socklen_t *lenp, void **databufp) argument
/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp_mpathd.c116 * value in `*typep', `*lenp', and `*valuep' respectively, before the current
121 ipmp_readtlv(int fd, ipmp_infotype_t *typep, size_t *lenp, void **valuep, argument
131 retval = ipmp_read(fd, lenp, sizeof (*lenp), endtp);
135 value = malloc(*lenp);
142 value = alloca(*lenp);
143 (void) ipmp_read(fd, value, *lenp, endtp);
147 retval = ipmp_read(fd, value, *lenp, endtp);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dadopt.c273 uint_t *lenp)
377 if (lenp != NULL) {
378 *lenp = len;
272 get_prom_prop(const char *nodename, const char *propname, uchar_t **propvaluep, uint_t *lenp) argument
/illumos-gate/usr/src/lib/efcode/engine/
H A Dinterface.c83 pop_a_string(fcode_env_t *env, int *lenp) argument
94 if (lenp)
95 *lenp = len;
103 pop_a_duped_string(fcode_env_t *env, int *lenp) argument
107 str = pop_a_string(env, lenp);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnsglue.c180 const unsigned char **pp, int *lenp)
186 *lenp = 0;
195 *lenp = ns_rr_rdlen(rr);
293 const unsigned char **pp, int *lenp)
303 *lenp = 0;
330 *lenp = rdlen;
179 krb5int_dns_nextans(struct krb5int_dns_state *ds, const unsigned char **pp, int *lenp) argument
292 krb5int_dns_nextans(struct krb5int_dns_state *ds, const unsigned char **pp, int *lenp) argument
H A Dforeachaddr.c138 get_lifconf (int af, int s, size_t *lenp, char *buf) argument
139 /*@modifies *buf,*lenp@*/
146 lifc.lifc_len = *lenp;
148 memset(buf, 0, *lenp);
154 *lenp = lifc.lifc_len;
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_sign.c95 u_char *lenp; local
130 lenp = cp;
244 PUTSHORT(cp - lenp - INT16SZ, lenp);
282 u_char *cp, *eob, *lenp; local
329 lenp = cp;
380 PUTSHORT(cp - lenp - INT16SZ, lenp);
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c169 prom_getprop(char *prop, int *lenp) argument
175 *lenp = opp->oprom_size;
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dref_subr.c85 utf8_to_str(utf8string *str, uint_t *lenp, char *s) argument
121 *lenp = len + 1;
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dquota_ufs.c126 char **uerrp, size_t *lenp)
391 *lenp = strlen(errmsg) + 20 + 20 +
393 *uerrp = (char *)kmem_alloc(*lenp, KM_NOSLEEP);
420 int force, struct cred *cr, char **uerrp, size_t *lenp)
570 *lenp = strlen(errmsg) + 20 + 20 +
572 *uerrp = (char *)kmem_alloc(*lenp, KM_NOSLEEP);
125 chkdq(struct inode *ip, long change, int force, struct cred *cr, char **uerrp, size_t *lenp) argument
419 chkiq(struct ufsvfs *ufsvfsp, int change, struct inode *ip, uid_t uid, int force, struct cred *cr, char **uerrp, size_t *lenp) 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)
213 buf, buflen, lenp));
220 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) argument
225 *lenp = strlen(buf);
208 plat_get_mem_unum(int synd_code, uint64_t flt_addr, int flt_bus_id, int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) argument
/illumos-gate/usr/src/uts/sun4u/littleneck/os/
H A Dlittleneck.c148 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp)
152 buf, buflen, lenp));
158 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) argument
163 *lenp = strlen(buf);
147 plat_get_mem_unum(int synd_code, uint64_t flt_addr, int flt_bus_id, int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) argument
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_plugin.c129 ses_node_t *np, size_t *lenp)
143 lenp));
145 *lenp = pp->ssp_len;
128 ses_plugin_page_lookup(ses_plugin_t *sp, ses_snap_t *snap, int pagenum, ses_node_t *np, size_t *lenp) argument
/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);
204 /* Set the appropriate oparams (lengths have already been set by lenp) */
/illumos-gate/usr/src/lib/libdscp/
H A Dlibdscp.c244 dscpAddr(int domain_id, int which, struct sockaddr *saddr, int *lenp) argument
253 if (((saddr == NULL) || (lenp == NULL)) ||
311 *lenp = sizeof (struct sockaddr_in);
502 * Returns: 0 upon success, with 'addr6' and 'lenp' updated.
503 * -1 upon failure, with 'addr6' and 'lenp' undefined.
506 convert_ipv4(struct sockaddr_in *addr, struct sockaddr_in6 *addr6, int *lenp) argument
539 *lenp = sizeof (struct sockaddr_in6);
/illumos-gate/usr/src/lib/libwanboot/common/
H A Dbootinfo_aux.c201 get_prop(const char *nodename, const char *propname, size_t *lenp) argument
240 if (lenp != NULL) {
241 *lenp = len;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcharset.c83 ldap_translate_from_t61( LDAP *ld, char **bufp, unsigned long *lenp, argument
86 ber_len_t length = (ber_len_t)*lenp;
97 ldap_translate_to_t61( LDAP *ld, char **bufp, unsigned long *lenp, argument
100 ber_len_t length = (ber_len_t)*lenp;
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_subrs.c1009 int size, int caseopt, int *lenp)
1028 if (!error && lenp)
1029 *lenp += size;
1057 if (!error && lenp)
1058 *lenp += outlen;
1008 smb_put_dmem(struct mbchain *mbp, struct smb_vc *vcp, const char *src, int size, int caseopt, int *lenp) argument
H A Dsmb_trantcp.c289 nbssn_peekhdr(struct nbpcb *nbp, size_t *lenp, uint8_t *rpcodep) argument
335 *lenp = len;
350 nbssn_recv(struct nbpcb *nbp, mblk_t **mpp, int *lenp, argument
477 *lenp = (int)len;
/illumos-gate/usr/src/uts/common/fs/swapfs/
H A Dswap_vnops.c75 size_t *lenp, int flags, struct cred *cr);
603 size_t *lenp,
747 if (lenp)
748 *lenp = PAGESIZE;
599 swap_putapage( struct vnode *vp, page_t *pp, u_offset_t *offp, size_t *lenp, int flags, struct cred *cr) argument
/illumos-gate/usr/src/uts/sun4u/chicago/os/
H A Dchicago.c160 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp)
164 buf, buflen, lenp));
171 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) argument
176 *lenp = strlen(buf);
159 plat_get_mem_unum(int synd_code, uint64_t flt_addr, int flt_bus_id, int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) argument
/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)
211 buf, buflen, lenp));
218 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) argument
223 *lenp = strlen(buf);
206 plat_get_mem_unum(int synd_code, uint64_t flt_addr, int flt_bus_id, int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) argument

Completed in 91 milliseconds

12345