Searched refs:bufp (Results 126 - 150 of 273) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c106 char *bufp; local
114 bufp = srr;
126 srp = (struct ip_sourceroute *)bufp;
137 bufp += srp->ipsr_len;
148 tsp = (struct ip_timestamp *)bufp;
180 bufp += tsp->ipt_len;
195 srp = (struct ip_sourceroute *)bufp;
201 bufp += srp->ipsr_len;
203 optsize = bufp - srr;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlocaltime.c1428 char *bufp; local
1472 * It would be nice to use alloca() to allocate bufp but,
1477 cp = bufp = lmalloc(flen);
1478 if (bufp == NULL) {
1483 if ((cnt = read(fid, bufp, flen)) != flen) {
1484 lfree(bufp, flen);
1490 lfree(bufp, flen);
1515 lfree(bufp, flen);
1519 if (cnt - (cp - bufp) < (long)(sp->timecnt * 4 + /* ats */
1526 lfree(bufp, fle
[all...]
/illumos-gate/usr/src/uts/common/disp/
H A Dfx.c442 void *bufp)
449 fxpp = (fxproc_t *)bufp;
605 fx_fork(kthread_t *t, kthread_t *ct, void *bufp) argument
612 cfxpp = (fxproc_t *)bufp;
1630 void *bufp; local
1632 bufp = kmem_alloc(sizeof (fxproc_t), flag);
1633 if (bufp == NULL) {
1636 *p = bufp;
1642 fx_free(void *bufp) argument
1644 if (bufp)
441 fx_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, void *bufp) argument
[all...]
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Dgethostent.c393 _nss_get_dns_hosts_name(dns_backend_ptr_t *be, void **bufp, size_t *sizep) argument
395 return (_nss_dns_gethost_withttl(*bufp, *sizep, 0));
/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.c87 static int vldc_read(int fd, uint8_t *bufp, int size);
88 static int vldc_write(int fd, uint8_t *bufp, int size);
1377 vldc_write(int fd, uint8_t *bufp, int size) argument
1395 if ((res = write(fd, bufp, left)) <= 0) {
1400 bufp += res;
1415 vldc_read(int fd, uint8_t *bufp, int size) argument
1431 res = read(fd, bufp, left);
1446 bufp += res;
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dopl_cfg.h234 #define opl_prop_get_string(dip, name, bufp, lenp) \
236 DDI_PROP_DONTPASS, name, (caddr_t)bufp, lenp)
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dacpidev.h530 * 1) ACPI buffer passed in if bufp isn't NULL.
534 extern ACPI_STATUS acpidev_walk_apic(ACPI_BUFFER *bufp, ACPI_HANDLE hdl,
542 * bufp and len: optional third parameter for _OST.
545 uint32_t status, char *bufp, size_t len);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelVerify.c407 digest_buf_t *bufp = session_p->verify.context; local
414 if (bufp == NULL || bufp->buf == NULL) {
419 rv = C_Verify(hSession, bufp->buf, bufp->indata_len,
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ho.c327 char *bufp, *ndbuf, *dbuf = NULL; local
339 bufp = pvt->hostbuf;
343 if (!(p = fgets(bufp + offset, bufsiz - offset, pvt->fp))) {
354 strcpy(ndbuf, bufp);
359 bufp = dbuf;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dldap-int.h664 int ldap_next_line_tokens( char **bufp, long *blenp, char ***toksp );
849 int ldap_translate_from_t61( LDAP *ld, char **bufp,
851 int ldap_translate_to_t61( LDAP *ld, char **bufp,
856 int ldap_t61_to_8859( char **bufp, unsigned long *buflenp,
858 int ldap_8859_to_t61( char **bufp, unsigned long *buflenp,
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_debug.c336 caddr_t bufp; local
342 bufp = kmem_alloc(me->me_nb, KM_SLEEP);
346 if (ldl_read(ul, bufp, me->me_mof, me->me_nb, me) == 0) {
347 ASSERT(bcmp(bufp, va + (me->me_mof - vamof), me->me_nb) == 0);
350 kmem_free(bufp, me->me_nb);
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_memerr_arch.c553 uint64_t *bufp; local
564 if ((bufsiz = ldom_get_core_md(cpumem_diagnosis_lhp, &bufp)) <= 0) {
567 if ((mdp = md_init_intern(bufp, cpumem_alloc, cpumem_free)) == NULL ||
569 cpumem_free(bufp, (size_t)bufsiz);
588 cpumem_free(bufp, (size_t)bufsiz);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c1469 char *bufp; local
1472 bufp = alloca(len);
1474 len = snprintf(bufp, len, "\01rlogind: %s.\r\n", msg);
1475 (void) write(fd, bufp, len);
1484 char *bufp; local
1491 bufp = alloca(len);
1492 (void) snprintf(bufp, len, "%s: %s", msg, errstr);
1498 bufp = alloca(len);
1499 (void) snprintf(bufp, len, fmt, msg, save_errno);
1501 fatal(fd, bufp);
[all...]
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_util.c228 acpidev_walk_apic(ACPI_BUFFER *bufp, ACPI_HANDLE hdl, char *method, argument
248 /* A walk buffer was passed in if bufp isn't NULL. */
249 if (bufp != NULL) {
250 ap = (ACPI_SUBTABLE_HEADER *)(bufp->Pointer);
251 len = bufp->Length;
847 char *bufp, size_t len)
858 args[2].Buffer.Pointer = (UINT8 *)bufp;
860 if (bufp == NULL || len == 0) {
846 acpidev_eval_ost(ACPI_HANDLE hdl, uint32_t code, uint32_t status, char *bufp, size_t len) argument
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvlds.c800 char *bufp; local
818 bufp = DS_MALLOC(buflen);
819 DS_DBG_VLDS(CE_NOTE, "%s: SEND_MSG (hdl: %lx, bufp: %p, "
823 if (ddi_copyin(ARGTOPTR(vlds_arg.vlds_bufp), bufp, buflen,
828 DS_FREE(bufp, buflen);
832 if ((rv = ds_cap_send(hdl, bufp, buflen)) != 0) {
833 DS_FREE(bufp, buflen);
838 DS_DBG_VLDS(CE_NOTE, "%s: SEND_MSG hdl: %lx, bufp: %p, "
839 "buflen: %ld succeeded", __func__, hdl, (void *)bufp,
841 DS_DUMP_MSG(DS_DBG_FLAG_VLDS, bufp, bufle
[all...]
H A Dvdc.c128 static void vdc_min(struct buf *bufp);
178 buf_t *bufp, vio_desc_direction_t dir, int flags);
182 buf_t *bufp, vio_desc_direction_t dir, int flags);
187 int slice, diskaddr_t offset, struct buf *bufp,
1555 vdc_min(struct buf *bufp) argument
1558 int instance = VDCUNIT(bufp->b_edev);
1563 if (bufp->b_bcount > (vdc->max_xfer_sz * vdc->vdisk_bsize)) {
1564 bufp->b_bcount = vdc->max_xfer_sz * vdc->vdisk_bsize;
2922 * bufp - buf of operation
2931 size_t nbytes, int slice, diskaddr_t offset, buf_t *bufp,
2930 vdc_send_request(vdc_t *vdcp, int operation, caddr_t addr, size_t nbytes, int slice, diskaddr_t offset, buf_t *bufp, vio_desc_direction_t dir, int flags) argument
3064 vdc_populate_descriptor(vdc_t *vdcp, int operation, caddr_t addr, size_t nbytes, int slice, diskaddr_t offset, buf_t *bufp, vio_desc_direction_t dir, int flags) argument
3237 vdc_do_op(vdc_t *vdc, int op, caddr_t addr, size_t nbytes, int slice, diskaddr_t offset, struct buf *bufp, vio_desc_direction_t dir, int flags) argument
4033 struct buf *bufp; local
5033 struct buf *bufp; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c195 caddr_t bufp; local
197 bufp = malloc((size_t)sblock.fs_bsize);
198 if (bufp == NULL)
201 cgblk.b_un.b_buf = bufp;
214 bufp = malloc((size_t)sblock.fs_bsize);
215 if (bufp == NULL) {
222 bp->b_un.b_buf = bufp;
1812 caddr_t bufp; local
1814 bufp = malloc((unsigned int)sblock.fs_bsize);
1815 if (bufp
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c2388 xnf_buf_t *bufp; local
2398 bufp = kmem_cache_alloc(xnfp->xnf_buf_cache, flags);
2399 if (bufp == NULL) {
2404 ASSERT(bufp->grant_ref == INVALID_GRANT_REF);
2406 bufp->grant_ref = gref;
2408 if (bufp->gen != xnfp->xnf_gen)
2409 xnf_buf_refresh(bufp);
2411 gnttab_grant_foreign_access_ref(bufp->grant_ref,
2412 xvdi_get_oeid(bufp->xnfp->xnf_devinfo),
2413 bufp
2421 xnf_buf_put(xnf_t *xnfp, xnf_buf_t *bufp, boolean_t readonly) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dprofile.h57 (profile_t profile, char **bufp);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_int.h245 (prf_data_t data, char **bufp);
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c861 char buf[1024], *bufp = buf; /* stack buffer */ local
873 uargs.packednvl.name = (uint64_t)(uintptr_t)bufp;
895 bufp = buf2 = malloc(sz);
910 nvlist_unpack(bufp, uargs.packednvl.len, nvlp, 0) != 0)
/illumos-gate/usr/src/cmd/addbadsec/
H A Dix_altsctr.c96 static int absdsk_io(int fd, uint_t srtsec, char *bufp, uint_t len,
847 absdsk_io(int fd, uint_t srtsec, char *bufp, uint_t len, int ioflag) argument
856 rc = read (fd, bufp, len);
859 rc = write (fd, bufp, len);
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Dprofv.c466 process_pcsamples(ProfBuffer *bufp) argument
470 size_t nelem = bufp->bufsize;
484 (void) memcpy(pc_samples, (caddr_t)bufp + bufp->buffer,
/illumos-gate/usr/src/cmd/listen/
H A Dnlps_serv.c807 l_rcv(bufp, bytes, flagp)
808 char *bufp;
814 register char *bp = bufp;
836 return(bp - bufp);
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_common.c685 char *bufp; local
749 "class", &bufp) == DDI_PROP_SUCCESS) ||
751 "class_prop", &bufp) == DDI_PROP_SUCCESS)) {
752 if (strcmp(bufp, "dada") == 0)
754 else if (strcmp(bufp, "scsi") == 0)
758 bufp));
759 ddi_prop_free(bufp);
762 ddi_prop_free(bufp);
3475 char *bufp, *cp; local
3480 flags, name, &bufp);
3785 char *bufp; local
[all...]

Completed in 349 milliseconds

1234567891011