Searched refs:bufp (Results 101 - 125 of 273) sorted by relevance

1234567891011

/illumos-gate/usr/src/uts/common/sys/
H A Dfdbuffer.h156 extern void fdb_iodone(buf_t *bufp);
H A Dcmlb.h119 * bufp: pointer to allocated buffer for transfer
131 * length of buffer pointed to by bufp is at least equal to
143 int (*tg_rdwr)(dev_info_t *devi, uchar_t cmd, void *bufp,
/illumos-gate/usr/src/uts/sun4u/starcat/sys/
H A Diosramio.h129 uint32_t bufp; /* buffer pointer */ member in struct:iosram_io
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Diosram.c1757 caddr_t bufp; local
1765 DPRINTF(2, ("IOSRAM_RD(k:%x o:%x len:%x bufp:%p\n", req.key,
1766 req.off, req.len, (void *)(uintptr_t)req.bufp));
1769 bufp = kmem_alloc(len, KM_SLEEP);
1771 req.retval = iosram_rd(req.key, req.off, req.len, bufp);
1773 if (ddi_copyout(bufp, (void *)(uintptr_t)req.bufp, len, mode)) {
1775 (void *)bufp, (void *)(uintptr_t)req.bufp, len,
1784 kmem_free(bufp, le
1790 caddr_t bufp; local
1819 caddr_t bufp; local
3298 iosram_get_keys(iosram_toc_entry_t *bufp, uint32_t *len) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/
H A Dopl_ioboard.c228 char *bufp; local
236 (unsigned char **)&bufp) != -1) {
237 (void) strlcpy(model, bufp, MAXNAMELEN);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dsecure.c290 static uint_t nin, bufp; local
337 nin = bufp = msg_buf.length);
342 return ((nin == 0) ? EOF : ucbuf[bufp - nin--]);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_nvram.c49 char buf[64], *bufp; local
180 (void) ddi_strtol((const char *)ila_verp, &bufp, 16, &ila_version);
182 (void) ddi_strtol((const char *)fw_verp, &bufp, 16, &fw_version);
455 uint8_t *bufp, kv_len, *chksump, chksum = 0; local
544 bufp = (uint8_t *)&vpd_header->vpd_start_byte;
545 bufp += 3; /* Skip the start byte and length */
556 bcopy(bufp, tbuf, strid_length);
567 bufp += strid_length; /* Skip to VPD-R tag */
568 bufp += 3; /* Skip VPD-R tag and length of VPD-R data */
570 vkvp = (pmcs_vpd_kv_t *)bufp;
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Drecipient.c176 char *SM_NONVOLATILE bufp; local
207 bufp = buf;
211 bufp = sm_malloc_x(i);
212 endp = bufp + i;
216 (void) sm_strlcpy(bufp, denlstring(list, false, true), i);
219 for (p = bufp; *p != '\0'; )
307 if (bufp != buf)
308 sm_free(bufp);
346 char *SM_NONVOLATILE bufp; local
372 bufp
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dlist.c206 char *namelist[NMLSIZE], *bufp; local
212 bufp = buf;
216 tok = scan(&bufp);
242 tok = scan(&bufp);
290 tok = scan(&bufp);
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsmka_pathmanager.c2794 get_topology(caddr_t arg, char *bufp, int mode) argument
2797 rsmka_topology_t *tp = (rsmka_topology_t *)bufp;
2807 rsmka_topology32_t *tp32 = (rsmka_topology32_t *)bufp;
2825 /* fill topology header and adjust bufp */
2828 bufp = (char *)&tp->connections[0];
2833 /* make sure bufp is double-word aligned */
2834 bufp += (total_num_of_adapters + total_num_of_adapters%2) *
2837 bufp += total_num_of_adapters * sizeof (caddr_t);
2839 bufp += total_num_of_adapters * sizeof (caddr_t);
2850 ulong_t delta = (ulong_t)bufp
2907 char *bufp; local
[all...]
/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)) {
727 *bufp = NULL;
759 *bufp = buf;
877 i_hp_pack_branch(hp_node_t root, char **bufp, size_t *lenp) argument
886 *bufp = NULL;
921 *bufp = buf;
936 i_hp_pack_node(hp_node_t node, char **bufp, size_ argument
[all...]
/illumos-gate/usr/src/uts/common/disp/
H A Drt.c356 void *bufp)
371 rtpp = (rtproc_t *)bufp;
456 rt_fork(kthread_t *t, kthread_t *ct, void *bufp) argument
466 crtpp = (rtproc_t *)bufp;
1077 void *bufp; local
1078 bufp = kmem_alloc(sizeof (rtproc_t), flag);
1079 if (bufp == NULL) {
1082 *p = bufp;
1088 rt_free(void *bufp) argument
1090 if (bufp)
355 rt_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, void *bufp) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dac_test.c60 caddr_t bufp; /* pointer to buffer page */ member in struct:test_info
192 test->bufp = kmem_alloc(TEST_PAGESIZE, KM_SLEEP);
209 kmem_free(test->bufp, TEST_PAGESIZE);
282 kmem_free(test->bufp, TEST_PAGESIZE);
337 kmem_free(test->bufp, TEST_PAGESIZE);
426 dst_va = test->bufp + page_offset;
572 src_va = test->bufp + page_offset;
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsd/
H A Dnfsd.c832 char *bufp; local
914 bufp = NULL;
915 error = nvlist_pack(nvl, &bufp, &buflen, NV_ENCODE_XDR, 0);
939 free(bufp);
944 error = _nfssys(NFS4_DSS_SETPATHS, bufp);
948 free(bufp);
956 free(bufp);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c122 static struct bdesc *bufp; /* buffer descriptors */ variable in typeref:struct:bdesc
282 bufp = (struct bdesc *)(obuf + NBUF*writesize);
286 current = (struct bdesc **)&bufp[NBUF*ntrec];
300 bufp[i].b_data = &obuf[j];
367 for (i = 0, bp = bufp; i < NBUF * ntrec; i++, bp++)
377 (*current < &bufp[0] || *current > &bufp[NBUF*ntrec])) {
381 *current, &bufp[0], &bufp[NBUF*ntrec]);
385 *current = bufp;
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c1139 struct netbuf *bufp; local
1170 bufp = esi->esi_addr;
1171 bufp->len = svp->sv_addr.len;
1172 bufp->maxlen = svp->sv_addr.maxlen;
1173 bufp->buf = kmem_zalloc(bufp->len, KM_SLEEP);
1174 bcopy(svp->sv_addr.buf, bufp->buf, bufp->len);
1194 struct netbuf *bufp; local
1202 bufp
1704 struct netbuf *bufp; local
[all...]
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprcontrol.c228 long *bufp; local
239 bufp = buf;
247 *bufp++ = *tail++;
250 resid = sizeof (buf) - ((char *)bufp - (char *)buf);
253 if (error = uiomove((caddr_t)bufp, resid, UIO_WRITE, uiop))
255 resid += (char *)bufp - (char *)buf;
256 bufp = buf;
259 long cmd = bufp[0];
260 arg_t *argp = (arg_t *)&bufp[1];
279 bufp
644 int32_t *bufp; local
1980 void *bufp = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c859 uchar_t *bufp; local
979 bufp = (uchar_t *)(uintptr_t)swqe->qe_sgl.ds_va;
981 *(uint32_t *)((void *)bufp) = htonl(EIB_TX_ENCAP_HDR);
982 bufp += EIB_ENCAP_HDR_SZ;
986 bcopy(nmp->b_rptr + pending_hdr, bufp, blksize);
987 bufp += blksize;
996 bzero(bufp, (ETHERMIN + EIB_ENCAP_HDR_SZ) -
1024 bufp = (uchar_t *)(uintptr_t)sgl->ds_va;
1033 *(uint32_t *)((void *)bufp) = htonl(EIB_TX_ENCAP_HDR);
1034 bufp
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c426 uint64_t *bufp; local
439 bufsiz = ldom_get_core_md(lhp, &bufp);
441 bufsiz = ldom_get_local_md(lhp, &bufp);
449 if ((mdp = md_init_intern(bufp, mem_alloc, mem_free)) == NULL ||
451 mem_free(bufp, (size_t)bufsiz);
471 mem_free(bufp, (size_t)bufsiz);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c73 static char *bufp; /* pointer to read buffer */ variable
269 bufp = malloc(chunksize);
270 if (bufp == NULL)
278 retval = dlpi_recv(dh, NULL, NULL, bufp, &msglen, -1, NULL);
284 scan(bufp, msglen, filter, 0, 0, proc, 0, 0, flags);
287 free(bufp);
/illumos-gate/usr/src/cmd/awk/
H A Dlib.c81 getrec(uchar **bufp, size_t *bufsizep) argument
118 expand_buf(bufp, bufsizep, len);
119 buf = *bufp;
125 if (bufp == &record) {
150 readrec(uchar **bufp, size_t *sizep, FILE *inf) /* read one record into buf */ argument
183 *bufp = buf;
/illumos-gate/usr/src/cmd/fs.d/
H A Dfslib.c302 char *actual_opt_hold, *bufp; local
307 bufp = alloca(strlen(actual_opts) + 1);
346 actual_opt_hold = bufp;
/illumos-gate/usr/src/cmd/autopush/
H A Dautopush.c494 is_white_space(char *bufp) argument
496 while (*bufp) {
497 if (!isspace(*bufp))
499 bufp++;
/illumos-gate/usr/src/head/
H A Dnss_dbdefs.h648 #define NSS_XbyY_INIT(str, res, bufp, len, func) (\
650 (str)->buf.buffer = (bufp), \
660 #define NSS_XbyY_INIT_EXT(str, res, bufp, len, func, kfunc) (\
662 (str)->buf.buffer = (bufp), \
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid_replay.c308 * raid_rplybuf_t *bufp - pointer to the replay buffer structure
312 raid_pwhdr_read(mr_unit_t *un, int pw_slot, int column, raid_rplybuf_t *bufp) argument
316 /* set up pointers from raid_rplybuf_t *bufp */
317 bp = (buf_t *)bufp->rpl_buf;
320 bp->b_un.b_addr = bufp->rpl_data;
337 * raid_rplybuf_t *bufp - pointer to the replay buffer structure
341 raid_pw_read(mr_unit_t *un, int column, uint_t slot, raid_rplybuf_t *bufp) argument
352 /* set up pointers from raid_rplybuf_t *bufp */
353 bp = (buf_t *)bufp->rpl_buf;
356 bp->b_un.b_addr = bufp
381 raid_pw_write(mr_unit_t *un, int column, raid_pwhdr_t *pwhp, raid_rplybuf_t *bufp) argument
[all...]

Completed in 103 milliseconds

1234567891011