Searched defs:lenp (Results 26 - 50 of 110) sorted by relevance

12345

/illumos-gate/usr/src/uts/sun4u/excalibur/os/
H A Dexcalibur.c184 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp)
188 buf, buflen, lenp));
194 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) argument
199 *lenp = strlen(buf);
183 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/os/
H A Dplat_ecc_dimm.c60 plat_get_mem_sid(char *unum, char *buf, int buflen, int *lenp) argument
79 return (p2get_mem_sid(mcid, dimm, buf, buflen, lenp));
/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)
194 buf, buflen, lenp));
201 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) argument
206 *lenp = strlen(buf);
189 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/common/os/
H A Dvm_subr.c328 * Pages behind [uaddr..uaddr+*lenp] under address space "as" are locked
329 * (shared), and mapped into kernel address range [kaddr..kaddr+*lenp] if
331 * of pages that are mapped into [kaddr..kaddr+*lenp] already (from a
332 * previous call). Thus if same pages remain behind [uaddr..uaddr+*lenp],
343 * On exit "lenp" contains the number of bytes successfully locked and
353 struct anon **app, size_t *lenp, int cow)
361 size_t size, total = *lenp;
365 *lenp = 0;
399 *lenp += size;
352 cow_mapin(struct as *as, caddr_t uaddr, caddr_t kaddr, struct page **cached_ppp, struct anon **app, size_t *lenp, int cow) argument
H A Dgrow.c520 size_t lenp = len; local
528 !as_gap(as, len, &basep, &lenp, 0, *addrp)) {
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr_mblk.c301 xdrmblk_getmblk(XDR *xdrs, mblk_t **mm, uint_t *lenp) argument
311 *lenp = llen;
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbootparam.c337 u_int32_t *lenp; local
342 lenp = (u_int32_t*) *pkt;
343 *pkt += sizeof(*lenp);
344 *lenp = htonl(len);
359 u_int32_t *lenp; local
365 lenp = (u_int32_t*) *pkt;
366 *pkt += sizeof(*lenp);
367 slen = ntohl(*lenp);
H A Dprintf.c172 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument
182 if (lenp)
183 *lenp = p - nbuf;
/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c710 hp_pack(hp_node_t root, char **bufp, size_t *lenp) argument
718 i_hp_dprintf("hp_pack: root=%p, bufp=%p, lenp=%p\n", (void *)root,
719 (void *)bufp, (void *)lenp);
721 if ((root == NULL) || (bufp == NULL) || (lenp == NULL)) {
726 *lenp = 0;
758 *lenp = len;
877 i_hp_pack_branch(hp_node_t root, char **bufp, size_t *lenp) argument
885 *lenp = 0;
920 *lenp = len;
936 i_hp_pack_node(hp_node_t node, char **bufp, size_t *lenp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_bmap.c128 ud_bmap_read(struct ud_inode *ip, u_offset_t off, daddr_t *bnp, int32_t *lenp) argument
153 *lenp = length;
166 *lenp = dummy << l2b;
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslfilter.c350 size_t *lenp)
365 *lenp = 0;
402 *lenp += MBLKL(outmp);
405 *lenp += MBLKL(outmp);
440 *lenp += MBLKL(mp);
443 *lenp += MBLKL(mp);
464 cred_t *cr, size_t *lenp)
475 *lenp = 0;
483 *lenp = msgdsize(mp);
349 kssl_data_in_cb(sof_handle_t handle, void *cookie, mblk_t *mp, int flags, size_t *lenp) argument
463 kssl_data_in_proc_cb(sof_handle_t handle, void *cookie, mblk_t *mp, cred_t *cr, size_t *lenp) argument
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pvn.c97 size_t *lenp, /* return values */
152 *lenp = MIN(vp_len, PAGESIZE);
199 *lenp = deltab + deltaf;
213 if ((vp_off + vp_len) < (off + *lenp)) {
215 *lenp = vp_end - off;
229 * of pages included is returned in "*offp" and "*lenp".
239 size_t *lenp, /* return values */
259 *lenp = PAGESIZE;
297 *lenp = deltab + deltaf;
91 pvn_read_kluster( struct vnode *vp, u_offset_t off, struct seg *seg, caddr_t addr, u_offset_t *offp, size_t *lenp, u_offset_t vp_off, size_t vp_len, int isra) argument
235 pvn_write_kluster( struct vnode *vp, page_t *pp, u_offset_t *offp, size_t *lenp, u_offset_t vp_off, size_t vp_len, int flags) argument
H A Dvm_swap.c131 * Allocate a range of up to *lenp contiguous slots (page) from a physical
135 * Less slots than requested may be returned. *lenp allocated slots are
143 size_t *lenp,
181 for (len = PAGESIZE; len < *lenp; len += PAGESIZE) {
197 *lenp = len;
1654 * [*offp, *offp + *lenp), May back a subrange of this, but must
1656 * backed as [*offp, *offp + *lenp) and the physical offsets used to
1657 * back them from *pvpp in the range [*pstartp, *pstartp + *lenp).
1667 size_t *lenp,
1679 ASSERT(*offp <= offset && offset < *offp + *lenp);
140 swap_phys_alloc( struct vnode **vpp, u_offset_t *offp, size_t *lenp, uint_t flags) argument
1663 swap_newphysname( struct vnode *vp, u_offset_t offset, u_offset_t *offp, size_t *lenp, struct vnode **pvpp, u_offset_t *poffp) argument
[all...]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx.c1091 size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp)
1154 if (lenp)
1155 *lenp = mp->dmai_size;
1190 enum ddi_dma_ctlops cmd, off_t *offp, size_t *lenp, caddr_t *objp,
1220 return (px_dvma_ctl(dip, rdip, mp, cmd, offp, lenp, objp,
1224 return (px_dma_ctl(dip, rdip, mp, cmd, offp, lenp, objp,
1089 px_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
1189 px_dma_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, enum ddi_dma_ctlops cmd, off_t *offp, size_t *lenp, caddr_t *objp, uint_t cache_flags) argument
/illumos-gate/usr/src/uts/sun4u/boston/os/
H A Dboston.c253 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp)
257 buf, buflen, lenp));
291 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) argument
296 *lenp = strlen(buf);
252 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/seattle/os/
H A Dseattle.c256 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp)
260 buf, buflen, lenp));
293 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) argument
298 *lenp = strlen(buf);
255 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/cmd/pcidr/
H A Dpcidr.c288 * returned through <lenp>; array entries will be in order of the occurrence;
297 parse_macros(char *const str, int *lenp) argument
320 *lenp = i;
323 for (beg = str, i = 0; i < *lenp; i++) {
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_engine.c510 void **respp, size_t *lenp)
515 if (lenp != NULL) {
517 *lenp = ap->sa_response_engine_len;
519 *lenp = ap->sa_response_alloc_len;
509 smp_action_get_response_frame(const smp_action_t *ap, void **respp, size_t *lenp) argument
/illumos-gate/usr/src/lib/efcode/engine/
H A Dinteractive.c44 parse_a_string(fcode_env_t *env, int *lenp) argument
47 return (pop_a_string(env, lenp));
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_subr.c287 fab_hc_path(fmd_hdl_t *hdl, nvlist_t *detector, char **hcpath, size_t *lenp) argument
316 *lenp = buf_size;
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_bmap.c94 static int findextent(struct fs *fs, daddr32_t *sbp, int n, int *lenp,
112 #define DOEXTENT(fs, lbn, boff, bnp, lenp, size, tblp, n, chkfrag, maxtrans) {\
121 len = findextent(fs, dp, (int)(n), lenp, maxtrans) << \
135 *(lenp) = len; \
205 bmap_read(struct inode *ip, u_offset_t off, daddr_t *bnp, int *lenp) argument
227 DOEXTENT(fs, lbn, boff, bnp, lenp,
287 DOEXTENT(fs, lbn, boff, bnp, lenp, ip->i_size, &bap[i],
990 findextent(struct fs *fs, daddr32_t *sbp, int n, int *lenp, int maxtransfer) argument
1004 if (*lenp) {
1005 n = MIN(n, lblkno(fs, *lenp));
[all...]
/illumos-gate/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, argument
706 lenhi = (uint16_t)(*lenp >> 16);
707 lenlo = (uint16_t)*lenp;
768 *lenp = rlen;
772 if (rlen > *lenp) {
774 rlen, *lenp);
790 smb_smb_writex(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument
863 smb_smb_read(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument
942 smb_smb_write(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Doutput.c669 make_ctf_data(tdata_t *td, Elf *elf, const char *file, size_t *lenp, int flags) argument
676 data = ctf_gen(iiburst, lenp, flags & CTF_COMPRESS);
/illumos-gate/usr/src/uts/sun4u/cherrystone/os/
H A Dcherrystone.c547 int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp)
551 buf, buflen, lenp));
574 plat_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) argument
581 *lenp = strlen(buf);
546 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/cpu/
H A Dmach_cpu_module.c118 cpu_get_mem_sid(char *unum, char *buf, int buflen, int *lenp) argument
136 int buflen, int *lenp)
142 char *buf, int buflen, int *lenp)
147 cpu_get_cpu_unum(int cpuid, char *buf, int buflen, int *lenp) argument
153 char *buf, int buflen, int *lenp)
134 cpu_get_mem_unum(int synd_stat, ushort_t synd, uint64_t afsr, uint64_t afar, int cpuid, int flt_in_memory, ushort_t flt_status, char *buf, int buflen, int *lenp) argument
141 cpu_get_mem_unum_aflt(int synd_stat, struct async_flt *aflt, char *buf, int buflen, int *lenp) argument
152 cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, char *buf, int buflen, int *lenp) argument

Completed in 103 milliseconds

12345