Home
last modified time | relevance | path

Searched refs:obp (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dt-qic.c58 char *obp, *bp; local
64 obp = quote_internal_chars(in, out, &outlen);
66 dequote_internal_chars(obp, line_back, sizeof(line_back));
80 bp = str2prt(obp);
84 return obp;
102 char line_in[1024], line[256], line_out[32], *obp; local
140 obp = quote_unquote(line_in, line_out, los, 0);
141 if (obp != line_out)
142 SM_FREE(obp);
156 obp = quote_unquote(line_in, line_in, los, 0);
[all …]
H A Dutil.c142 quote_internal_chars(ibp, obp, bsp) in quote_internal_chars() argument
144 char *obp;
151 buffer_same = ibp == obp;
167 obp = sm_malloc_x(olen);
184 bufused = sm_strlcpy(obp, ibp, *bsp);
187 return obp;
192 obp = sm_malloc_x(olen);
197 for (ip = ibp, op = obp, bufused = 0; *ip != '\0'; ip++)
208 return obp;
225 dequote_internal_chars(ibp, obp, obs) in dequote_internal_chars() argument
[all …]
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dses_safte.c770 safte_get_objstat(ses_softc_t *ssc, ses_objarg *obp, int slpflg) in safte_get_objstat() argument
772 int i = (int)obp->obj_id; in safte_get_objstat()
780 obp->cstat[0] = ssc->ses_objmap[i].encstat[0]; in safte_get_objstat()
781 obp->cstat[1] = ssc->ses_objmap[i].encstat[1]; in safte_get_objstat()
782 obp->cstat[2] = ssc->ses_objmap[i].encstat[2]; in safte_get_objstat()
783 obp->cstat[3] = ssc->ses_objmap[i].encstat[3]; in safte_get_objstat()
789 safte_set_objstat(ses_softc_t *ssc, ses_objarg *obp, int slp) in safte_set_objstat() argument
797 (int)obp->obj_id, obp->cstat[0], obp->cstat[1], obp->cstat[2], in safte_set_objstat()
798 obp->cstat[3]); in safte_set_objstat()
803 if ((obp->cstat[0] & SESCTL_CSEL) == 0) { in safte_set_objstat()
[all …]
H A Dses_sen.c306 sen_get_objstat(ses_softc_t *ssc, ses_objarg *obp, int slpflag) in sen_get_objstat() argument
308 int i = (int)obp->obj_id; in sen_get_objstat()
316 obp->cstat[0] = ssc->ses_objmap[i].encstat[0]; in sen_get_objstat()
317 obp->cstat[1] = ssc->ses_objmap[i].encstat[1]; in sen_get_objstat()
318 obp->cstat[2] = ssc->ses_objmap[i].encstat[2]; in sen_get_objstat()
319 obp->cstat[3] = ssc->ses_objmap[i].encstat[3]; in sen_get_objstat()
325 sen_set_objstat(ses_softc_t *ssc, ses_objarg *obp, int slpflag) in sen_set_objstat() argument
339 if ((obp->cstat[0] & SESCTL_CSEL) == 0) { in sen_set_objstat()
386 idx = (int)obp->obj_id; in sen_set_objstat()
392 } else if ((obp->cstat[3] & SESCTL_RQSFLT) != 0) { in sen_set_objstat()
[all …]
H A Dses_ses.c564 ses_get_objstat(ses_softc_t *ssc, ses_objarg *obp, int slpflag) in ses_get_objstat() argument
566 int i = (int)obp->obj_id; in ses_get_objstat()
581 obp->cstat[0] = ssc->ses_objmap[i].encstat[0]; in ses_get_objstat()
582 obp->cstat[1] = ssc->ses_objmap[i].encstat[1]; in ses_get_objstat()
583 obp->cstat[2] = ssc->ses_objmap[i].encstat[2]; in ses_get_objstat()
584 obp->cstat[3] = ssc->ses_objmap[i].encstat[3]; in ses_get_objstat()
589 ses_set_objstat(ses_softc_t *ssc, ses_objarg *obp, int slpflag) in ses_set_objstat() argument
596 if ((obp->cstat[0] & SESCTL_CSEL) == 0) { in ses_set_objstat()
599 s.comstatus = obp->cstat[0]; in ses_set_objstat()
600 s.comstat[0] = obp->cstat[1]; in ses_set_objstat()
[all …]
H A Dsd.c12809 struct buf *obp; /* ptr to the original buf */ local
12815 obp = (struct buf *)xp->xb_private;
12816 ASSERT(obp != NULL);
12818 obp->b_resid = obp->b_bcount - (bp->b_bcount - bp->b_resid);
12819 bioerror(obp, bp->b_error);
12828 bp = obp;
/titanic_41/usr/src/cmd/sendmail/src/
H A Dheaders.c1944 register char *obp; local
1952 obp = obuf + strlen(obuf);
1964 if (SPACELEFT(obuf, obp) - 1 < (size_t) l)
1965 l = SPACELEFT(obuf, obp) - 1;
1967 (void) sm_snprintf(obp, SPACELEFT(obuf, obp), "%.*s", l, v);
1971 obp = obuf;
1973 *obp++ = ' ';
1977 (void) sm_snprintf(obp, SPACELEFT(obuf, obp), "%.*s",
1978 (int) (SPACELEFT(obuf, obp) - 1), v);
2012 register char *obp; local
[all …]
H A Dreadcf.c766 translate_dollars(ibp, obp, bsp) in translate_dollars() argument
768 char *obp;
782 bp = quote_internal_chars(ibp, obp, bsp);
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dexport_sec_context.c44 krb5_octet *obuffer, *obp; local
75 obp = obuffer;
79 (krb5_pointer) ctx, &obp, &blen)))
/titanic_41/usr/src/cmd/csh/
H A Dsh.dol.c634 tchar *lbp, *obp, *mbp; in heredoc() local
650 ocnt = BUFSIZ; obp = obuf; in heredoc()
689 *obp++ = c; in heredoc()
692 obp = obuf; ocnt = BUFSIZ; in heredoc()
752 *obp++ = *mbp & TRIM; in heredoc()
755 obp = obuf; ocnt = BUFSIZ; in heredoc()
758 *obp++ = '\n'; in heredoc()
761 obp = obuf; ocnt = BUFSIZ; in heredoc()
/titanic_41/usr/src/cmd/vi/port/
H A Dex_put.c874 unsigned char *obp = obuf; variable
880 obp = obuf; in draino()
886 if (obp != obuf) { in flusho()
887 write(1, obuf, obp - obuf); in flusho()
890 fwrite(obuf, 1, obp-obuf, trace); in flusho()
892 obp = obuf; in flusho()
921 *obp++ = c; in putch()
922 if (obp >= &obuf[sizeof obuf]) in putch()
/titanic_41/usr/src/cmd/bnu/
H A Duudecode.c291 unsigned char outbuf[BUFSIZE], *obp, *optr; in decode() local
326 obp = (unsigned char *) &inbuf[0]; in decode()
329 if ((ch = outdec((unsigned char *)obp, in decode()
343 obp += 3; in decode()
/titanic_41/usr/src/uts/common/io/
H A Dldterm.c3390 mblk_t *obp; /* block we're filling in output message */ in ldterm_output_msg() local
3410 oobp = obp; \ in ldterm_output_msg()
3411 if ((obp = allocb(bsize, BPRI_MED)) == NULL) { \ in ldterm_output_msg()
3415 *contpp = obp; \ in ldterm_output_msg()
3416 contpp = &obp->b_cont; \ in ldterm_output_msg()
3417 bytes_left = obp->b_datap->db_lim - obp->b_wptr; \ in ldterm_output_msg()
3433 if ((obp = *omp) != NULL) { in ldterm_output_msg()
3434 while (obp->b_cont != NULL) in ldterm_output_msg()
3435 obp = obp->b_cont; in ldterm_output_msg()
3436 contpp = &obp->b_cont; in ldterm_output_msg()
[all …]
/titanic_41/usr/src/common/smbios/
H A Dsmb_info.c700 smbios_info_obdevs(smbios_hdl_t *shp, id_t id, int obc, smbios_obdev_t *obp) in smbios_info_obdevs() argument
716 for (i = 0; i < n; i++, op++, obp++) { in smbios_info_obdevs()
717 obp->smbd_name = smb_strptr(stp, op->smbob_name); in smbios_info_obdevs()
718 obp->smbd_type = op->smbob_type & ~SMB_OBT_ENABLED; in smbios_info_obdevs()
719 obp->smbd_enabled = (op->smbob_type & SMB_OBT_ENABLED) != 0; in smbios_info_obdevs()
/titanic_41/usr/src/lib/libc/port/print/
H A Ddoprnt.c2616 wchar_t *obp = bp; in insert_thousands_sep() local
2620 char *obp = bp; in insert_thousands_sep() local
2662 *obp++ = *bufptr--; in insert_thousands_sep()
/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_io.c300 idm_buf_t *ibp, *obp; in iscsi_task_cleanup() local
310 obp = icmdp->cmd_un.scsi.ibp_obuf; in iscsi_task_cleanup()
319 } else if (obp != NULL && !(bp->b_flags & B_READ)) { in iscsi_task_cleanup()
320 idm_buf_unbind_out(itp, obp); in iscsi_task_cleanup()
321 idm_buf_free(obp); in iscsi_task_cleanup()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Ddns_ho.c1032 char *obp = bp; in add_hostent() local
1065 return((bp + addrlen) - obp); in add_hostent()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzvol.c1016 blkptr_t *obp = dmu_buf_get_blkptr(db); in zvol_get_data() local
1017 if (obp) { in zvol_get_data()
1019 *bp = *obp; in zvol_get_data()
H A Ddbuf.c3070 blkptr_t *obp = &dr->dt.dl.dr_overridden_by; in dbuf_write_override_done() local
3073 if (!BP_EQUAL(zio->io_bp, obp)) { in dbuf_write_override_done()
3074 if (!BP_IS_HOLE(obp)) in dbuf_write_override_done()
3075 dsl_free(spa_get_dsl(zio->io_spa), zio->io_txg, obp); in dbuf_write_override_done()
H A Dzfs_vnops.c1156 blkptr_t *obp = dmu_buf_get_blkptr(db); in zfs_get_data() local
1157 if (obp) { in zfs_get_data()
1159 *bp = *obp; in zfs_get_data()
/titanic_41/usr/src/uts/sun4v/ml/
H A Dmach_locore.s279 ! save a pointer to obp's tba for later use by kmdb
/titanic_41/usr/src/uts/sun4u/ml/
H A Dmach_locore.s271 ! save a pointer to obp's tba for later use by kmdb
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c1890 blkptr_t *obp = dmu_buf_get_blkptr(db); in ztest_get_data() local
1891 if (obp) { in ztest_get_data()
1893 *bp = *obp; in ztest_get_data()