Searched defs:bp (Results 1 - 25 of 632) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libwrap/
H A Dpercent_m.c27 char *bp = obuf; local
30 while (*bp = *cp)
32 strcpy(bp, strerror(errno));
33 bp += strlen(bp);
36 bp++, cp++;
H A Dpercent_x.c46 char *bp = result; local
85 if (bp + expansion_len >= end) {
90 memcpy(bp, expansion, expansion_len);
91 bp += expansion_len;
93 *bp = 0;
/illumos-gate/usr/src/ucblib/libcurses/
H A Dfullname.c30 fullname(char *bp, char *def) argument
36 while (*bp && *bp != ':') {
38 while (*bp && *bp != ':' && *bp != '|') {
39 *cp++ = *bp++; /* copy name over */
42 if (*bp == '|') {
43 bp++; /* skip over '|' if that is case */
H A Dlongname.c29 longname(char *bp, char *def) argument
33 while (*bp && *bp != ':' && *bp != '|')
34 bp++;
35 if (*bp == '|') {
36 bp++;
38 while (*bp && *bp != ':' && *bp !
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/mks/
H A Dm_crcpos.c116 m_crcposix(unsigned int *crcp, const unsigned char *bp, size_t n) argument
118 m_crcposix(unsigned long *crcp, const unsigned char *bp, size_t n)
122 *crcp = (*crcp << 8) ^ crctab[(unsigned char)((*crcp>>24)^*bp++)];
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dsetjmp.c43 register o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local
58 bp->sjs_flags = 0;
59 bp->sjs_sp = *((int *)sp+14);
60 bp->sjs_pc = *((int *)sp+15) + 0x8;
61 bp->sjs_stack = uc.uc_stack;
64 bp->sjs_flags |= JB_SAVEMASK;
65 memcpy(bp->sjs_sigmask, &(uc.uc_sigmask), 3 * sizeof (int));
77 o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local
81 sp->sjs_flags = bp->sjs_flags;
82 sp->sjs_sp = bp
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dsetjmp.c43 register o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local
58 bp->sjs_flags = 0;
59 bp->sjs_sp = *((int *)sp+14);
60 bp->sjs_pc = *((int *)sp+15) + 0x8;
61 bp->sjs_sigmask[0] = 0;
62 bp->sjs_sigmask[1] = 0;
63 bp->sjs_sigmask[2] = 0;
64 bp->sjs_stack = uc.uc_stack;
75 o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local
79 sp->sjs_flags = bp
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dblkptr.c43 * buf must be at least BPE_GET_PSIZE(bp) bytes long (which will never be
47 decode_embedded_bp_compressed(const blkptr_t *bp, void *buf) argument
52 const uint64_t *bp64 = (const uint64_t *)bp;
54 ASSERT(BP_IS_EMBEDDED(bp));
56 psize = BPE_GET_PSIZE(bp);
65 ASSERT3P(bp64, <, bp + 1);
68 if (!BPE_IS_PAYLOADWORD(bp, bp64))
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsigsetjmp.c44 register o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local
59 bp->sjs_flags = 0;
60 bp->sjs_sp = *((int *)sp+14);
61 bp->sjs_pc = *((int *)sp+15) + 0x8;
62 bp->sjs_stack = uc.uc_stack;
66 bp->sjs_flags |= JB_SAVEMASK;
67 memcpy(bp->sjs_sigmask, &(uc.uc_sigmask), 3 * sizeof (int));
69 memset(bp->sjs_sigmask, 0, 3 * sizeof (int));
81 o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local
85 sp->sjs_flags = bp
104 register o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local
136 o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_builtin.c44 const fmd_builtin_t *bp; local
46 for (bp = _fmd_builtins; bp->bltin_name != NULL; bp++) {
47 if (strcmp(mp->mod_name, bp->bltin_name) == 0)
51 if (bp == NULL)
54 if (bp->bltin_init == NULL)
57 mp->mod_data = (void *)bp;
64 if (fmd_module_enter(mp, bp->bltin_init) != 0 && mp->mod_info != NULL)
79 fmd_builtin_t *bp local
106 const fmd_builtin_t *bp; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dmisc.c35 u_char *s, *bp = (u_char *)buf; local
54 BCOPY(s, bp, clen);
56 bp += clen;
66 u_char *s, *bp = (u_char *)buf; local
87 BCOPY(bp, s, clen);
89 bp += clen;
98 BCOPY(bp, mp->b_wptr, mlen);
99 bp += mlen;
114 BCOPY(bp, m->b_wptr, len);
/illumos-gate/usr/src/uts/common/os/
H A Dcopyops.c34 physio(int (*strat)(struct buf *), struct buf *bp, dev_t dev, argument
37 return (default_physio(strat, bp, dev, rw, mincnt, uio));
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfpeek.c35 extern ssize_t sfpeek(reg Sfio_t* f, Void_t** bp, reg size_t size) argument
37 extern ssize_t sfpeek(f,bp,size)
39 Void_t** bp; /* start of data area */
46 if((sz = size) == 0 || !bp)
56 if(!bp)
59 { *bp = (Void_t*)f->next;
70 *bp = sfreserve(f, sz <= 0 ? 0 : sz > f->size ? f->size : sz, 0);
72 if(*bp && sz >= 0)
76 { *bp = (Void_t*)f->next;
/illumos-gate/usr/src/lib/libast/common/stdio/
H A D_stdfun.c56 static void* bp; local
68 bp = dlopen("/usr/bin/stdio.dll", 0);
70 if (bp && (vp->vec[1] = (Fun_f)dlsym(bp, vp->name)))
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_physio.c67 struct buf *bp = *bpp; local
69 bp = getrbuf(KM_SLEEP);
70 bp->b_iodone = NULL;
71 bp->b_resid = 0;
72 *bpp = bp;
78 ASSERT(SEMA_HELD(&bp->b_sem));
80 bp->b_error = 0;
81 bp->b_proc = procp;
83 bp->b_flags = B_BUSY | B_PHYS | B_READ;
84 bp
119 struct buf *bp = *bpp; local
[all...]
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dsiglongjmp.c50 volatile sigjmp_struct_t *bp = (sigjmp_struct_t *)env; local
51 greg_t fp = bp->sjs_fp;
52 greg_t i7 = bp->sjs_i7;
65 uc.uc_stack = bp->sjs_stack;
66 uc.uc_link = bp->sjs_uclink;
67 reg[REG_PC] = bp->sjs_pc;
69 reg[REG_SP] = bp->sjs_sp;
71 if (bp->sjs_flags & JB_SAVEMASK) {
73 uc.uc_sigmask = bp->sjs_sigmask;
92 if (bp
[all...]
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dsiglongjmp.c47 volatile sigjmp_struct_t *bp = (sigjmp_struct_t *)env; local
48 greg_t fp = bp->sjs_fp;
49 greg_t i7 = bp->sjs_i7;
62 uc.uc_stack = bp->sjs_stack;
63 uc.uc_link = bp->sjs_uclink;
64 reg[REG_PC] = bp->sjs_pc;
66 reg[REG_SP] = bp->sjs_sp;
67 reg[REG_ASI] = bp->sjs_asi;
68 reg[REG_FPRS] = bp->sjs_fprs;
70 if (bp
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Deqn_term.c44 term_eqn(struct termp *p, const struct eqn_box *bp) argument
47 eqn_box(p, bp);
52 eqn_box(struct termp *p, const struct eqn_box *bp) argument
60 if ((bp->type == EQN_LIST && bp->expectargs > 1) ||
61 (bp->type == EQN_PILE && (bp->prev || bp->next)) ||
62 (bp->parent != NULL && (bp
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/mem2reg/
H A Dglobal-pointer.c5 int b, *bp = &b; local
9 *bp = c;
11 *bp = d;
13 a = *bp;
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_builtin.c61 const topo_builtin_t *bp; local
63 for (bp = _topo_builtins; bp->bltin_name != NULL; bp++) {
64 if (strcmp(mp->tm_name, bp->bltin_name) == 0)
68 mp->tm_data = (void *)bp;
70 if ((*bp->bltin_init)(mp, version) != 0 || mp->tm_info == NULL) {
75 bp->bltin_name, topo_mod_errmsg(mp));
85 topo_builtin_t *bp = mp->tm_data; local
88 (*bp
104 const topo_builtin_t *bp; local
[all...]
/illumos-gate/usr/src/lib/libinetutil/common/
H A Difspec.c46 getlun(const char *bp, int bpsize, uint_t *lun) argument
48 char *ep = (char *)&bp[bpsize - 1];
49 char *sp = strchr(bp, ':'), *tp;
52 if (isdigit(*bp) || !isdigit(*ep) || sp == NULL ||
80 getppa(const char *bp, int bpsize, uint_t *ppa) argument
82 char *ep = (char *)&bp[bpsize - 1];
90 for (tp = ep; tp >= bp && isdigit(*tp); tp--)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetpw.c51 char *bp; local
74 bp = buf;
80 *bp++ = (char)c;
82 *bp = '\0';
83 bp = buf;
86 while ((c = *bp++) != ':')
91 while ((c = *bp++) != ':')
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_auto.c40 u_int8_t *bp; local
58 bp = logrec.data;
59 memcpy(bp, &rectype, sizeof(rectype));
60 bp += sizeof(rectype);
61 memcpy(bp, &txn_num, sizeof(txn_num));
62 bp += sizeof(txn_num);
63 memcpy(bp, lsnp, sizeof(DB_LSN));
64 bp += sizeof(DB_LSN);
65 memcpy(bp, &opcode, sizeof(opcode));
66 bp
169 u_int8_t *bp; local
[all...]
/illumos-gate/usr/src/cmd/tip/
H A Dremote.c38 char *bp = buf; local
72 **q = rgetstr(*p, &bp);
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprusrio.c49 void *bp; local
57 bp = buffer;
60 bp = kmem_alloc(PAGESIZE, KM_SLEEP);
76 if ((error = uread(p, bp, len, addr)) != 0 ||
77 (error = uiomove(bp, len, UIO_READ, uiop)) != 0)
100 if ((error = uiomove(bp, len, UIO_WRITE, uiop)) != 0)
102 if ((error = uwrite(p, bp, len, addr)) != 0) {
127 kmem_free(bp, PAGESIZE);

Completed in 218 milliseconds

1234567891011>>