Home
last modified time | relevance | path

Searched refs:blk (Results 1 – 25 of 120) sorted by relevance

12345

/titanic_51/usr/src/cmd/dc/
H A Ddc.h34 #define BLK sizeof (struct blk)
76 struct blk { struct
83 struct blk **rdw; argument
84 struct blk **wtw;
85 struct blk **begw;
86 struct blk **lastw;
88 struct blk *hfree;
89 struct blk *getwd(struct blk *);
90 struct blk *lookw
[all...]
H A Ddc.c99 struct blk *p, *q; in commnds()
102 struct blk **ptr, *s, *t; in commnds()
776 struct blk *
777 dcdiv(struct blk *ddivd, struct blk *ddivr) in dcdiv()
782 struct blk *ps, *px; in dcdiv()
783 struct blk *p, *divd, *divr; in dcdiv()
938 struct blk *dd, *dr, *r; in dscale()
977 struct blk *
978 removr(struct blk *
[all...]
/titanic_51/usr/src/cmd/sh/
H A Dblok.c46 struct blk *blokp; /* current search pointer */
47 struct blk *bloktop; /* top of arena (last blok) */
64 static void fill_pat(struct blk *, uint32_t);
65 static void chkbptr(struct blk *);
79 struct blk *p = blokp; in alloc()
80 struct blk *q; in alloc()
88 blokp = (struct blk *) in alloc()
92 p->word = (struct blk *) in alloc()
101 p = (struct blk *)(Rcheat(p->word) & ~BUSY); in alloc()
117 bloktop = (struct blk *)brkbegi in addblok()
[all...]
H A Dargs.c246 freeargs(blk) in freeargs() argument
247 struct dolnod *blk; in freeargs()
254 if (argblk = blk)
301 clean_args(blk) in clean_args() argument
302 struct dolnod *blk; in clean_args()
308 if (argblk = blk)
/titanic_51/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_uobj.c110 sol_ofs_uobj_blk_t *blk; in sol_ofs_uobj_tbl_fini() local
127 blk = uo_tbl->uobj_tbl_uo_root[i]; in sol_ofs_uobj_tbl_fini()
128 if (!blk) { in sol_ofs_uobj_tbl_fini()
132 if (blk->ofs_uoblk_blks[j]) { in sol_ofs_uobj_tbl_fini()
136 * (blk->ofs_uoblk_blks[j]); in sol_ofs_uobj_tbl_fini()
139 "UOBJ TBL FINI: blk %p, slot %d non null", in sol_ofs_uobj_tbl_fini()
140 blk, j); in sol_ofs_uobj_tbl_fini()
143 kmem_free(blk, sizeof (*blk)); in sol_ofs_uobj_tbl_fini()
287 sol_ofs_uobj_blk_t *blk; in sol_ofs_uobj_add() local
408 sol_ofs_uobj_blk_t *blk; sol_ofs_uobj_remove() local
504 sol_ofs_uobj_blk_t *blk; ofs_uobj_find() local
[all...]
/titanic_51/usr/src/lib/libmalloc/common/
H A Dmalloc.c311 struct header *blk; in malloc_unlocked() local
472 blk = freeptr; in malloc_unlocked()
474 blk = blk->nextfree; in malloc_unlocked()
476 next = blk->nextblk; in malloc_unlocked()
488 lastblk = blk; in malloc_unlocked()
489 blk->nextblk = next; in malloc_unlocked()
491 } while (((char *)(next) - (char *)blk) < nb); in malloc_unlocked()
496 if (blk == &(freeptr[1])) { in malloc_unlocked()
546 blk in malloc_unlocked()
690 struct header *blk; /* real start of block */ free_unlocked() local
739 struct header *blk; /* block ptr is contained in */ realloc_unlocked() local
968 struct header *blk, *next; /* ptr to ordinary blocks */ mallinfo() local
1099 struct header *blk, *prev, *next; /* ptr to ordinary blocks */ check_arena() local
[all...]
/titanic_51/usr/src/cmd/mandoc/
H A Dread.c321 mparse_buf_r(struct mparse *curp, struct buf blk, size_t i, int start) in mparse_buf_r() argument
340 while (i < blk.sz) { in mparse_buf_r()
341 if (0 == pos && '\0' == blk.buf[i]) in mparse_buf_r()
351 curp->filenc = preconv_cue(&blk, i); in mparse_buf_r()
354 while (i < blk.sz && (start || blk.buf[i] != '\0')) { in mparse_buf_r()
362 if ('\r' == blk.buf[i] && i + 1 < blk.sz && in mparse_buf_r()
363 '\n' == blk.buf[i + 1]) in mparse_buf_r()
365 if ('\n' == blk in mparse_buf_r()
711 mparse_parse_buffer(struct mparse * curp,struct buf blk,const char * file) mparse_parse_buffer() argument
754 struct buf blk; mparse_readmem() local
770 struct buf blk; mparse_readfd() local
[all...]
/titanic_51/usr/src/lib/libproject/common/
H A Dsetproject.c74 build_rctlblk(rctlblk_t *blk, int comp_num, char *component) in build_rctlblk() argument
78 uint_t act = rctlblk_get_local_action(blk, &sig); in build_rctlblk()
87 rctlblk_set_privilege(blk, RCPRIV_BASIC); in build_rctlblk()
93 rctlblk_set_privilege(blk, RCPRIV_PRIVILEGED); in build_rctlblk()
117 rctlblk_set_value(blk, (rctl_qty_t)val); in build_rctlblk()
126 rctlblk_set_local_action(blk, 0, 0); in build_rctlblk()
133 rctlblk_set_local_action(blk, act, sig); in build_rctlblk()
157 rctlblk_set_local_action(blk, act, sig); in build_rctlblk()
181 reinit_blk(rctlblk_t *blk, int local_action) in reinit_blk() argument
183 rctlblk_set_privilege(blk, RCPRIV_PRIVILEGE in reinit_blk()
197 rctlblk_t *blk; rctl_set() local
[all...]
/titanic_51/usr/src/lib/libbc/libc/gen/common/
H A Dmemalign.c62 register Dblk blk; /* For addressing fragment blocks */ local
93 blk = (Dblk)(p - ALIGNSIZ); /* back up to get length word */
94 blksize = blk->size;
107 frag_size = (uint)aligned_blk - (uint)blk;
120 blk->size = frag_size;
123 free(blk->data);
136 blk = nextblk(aligned_blk, nbytes);
137 blk->size = frag_size;
139 free(blk->data);
/titanic_51/usr/src/common/fs/
H A Dpcfs.c281 ulong_t off, blk; in bpcfs_read() local
295 blk = FI_STARTCLUST(fp); in bpcfs_read()
296 rd = blk == CLUSTER_ROOTDIR ? 1 : 0; in bpcfs_read()
300 blk = FI_STARTCLUST(fp); in bpcfs_read()
301 rd = (blk == CLUSTER_ROOTDIR) ? 1 : 0; in bpcfs_read()
307 blk = fat_map(blk, rd); in bpcfs_read()
310 if (!cluster_valid(blk, rd)) { in bpcfs_read()
312 blk, rd); in bpcfs_read()
318 sector = fat_ctodb(blk, r in bpcfs_read()
403 fat_ctodb(int blk,int r) fat_ctodb() argument
415 fat_map(int blk,int rootdir) fat_map() argument
[all...]
/titanic_51/usr/src/lib/libc/port/gen/
H A Dmemalign.c65 TREE *blk; /* For addressing fragment blocks */ in memalign() local
126 blk = BLOCK(p); /* back up to get length word */ in memalign()
127 blksize = SIZE(blk); in memalign()
143 frag_size = (size_t)aligned_blk - (size_t)blk; in memalign()
161 SIZE(blk) = frag_size | BIT0 | ISBIT1(SIZE(blk)); in memalign()
162 _free_unlocked(DATA(blk)); in memalign()
176 blk = NEXT(aligned_blk); in memalign()
179 SIZE(blk) = frag_size | BIT0; in memalign()
180 _free_unlocked(DATA(blk)); in memalign()
[all...]
/titanic_51/usr/src/psm/stand/bootblks/ufs/common/
H A Dufs.fth46 : blk>byte ( block# -- byte# ) /disk-block * ;
49 blk>byte dev-ih read-disk
84 : blkoff ( byte-off -- blk-off ) bsize mod ;
85 : fsbtodb ( fs-blk# -- dev-blk# ) fsbtodbc lshift ;
87 : read-fs-blocks ( adr len fs-blk# -- ) fsbtodb read-disk-blocks ;
120 dup temp-block bsize rot itod ( i# adr len blk# )
130 : #blk-addr/blk bsize /l / ;
131 : #sgl-addr #blk
[all...]
/titanic_51/usr/src/uts/sun4u/sys/
H A Dfpras_impl.h131 * blk (immediate): which block to copy
140 #define FPRAS_INTERVAL(operation, blk, doex, tmp1, tmp2, tmp3, tmp4, label) \ argument
153 prefetch [tmp2 + (FPRAS_BLK0 + blk * 64)], #one_read ;\
189 * blk (immediate): as above
212 #define FPRAS_REWRITE_TYPE1(blk, doex, fpq, tmp1, label) \ argument
216 add tmp1, FPRAS_BLK0 + blk * 64, tmp1 ;\
218 add doex, FPRAS_BLK0 + blk * 64, tmp1 ;\
235 #define FPRAS_REWRITE_TYPE2Q1(blk, doex, tmp1, tmp2, label1, label2) \ argument
241 ldd [tmp2 + (FPRAS_BLK0 + blk * 64)], %f4 ;\
242 ldd [tmp2 + (FPRAS_BLK0 + blk * 6
263 FPRAS_REWRITE_TYPE2Q2(blk,doex,tmp1,tmp2,label1,label2) global() argument
[all...]
/titanic_51/usr/src/cmd/svr4pkg/pkginstall/
H A Ddockspace.c195 fsblkcnt_t blk; in readmap() local
250 blk = nblk(ept->cinfo.size, in readmap()
254 blk = 0; in readmap()
255 fs_tab->bused += blk; in readmap()
313 blk = in readmap()
318 blk = nblk(ept->cinfo.size, in readmap()
322 blk = 0; in readmap()
326 blk = 0; in readmap()
341 blk = 0; in readmap()
343 blk in readmap()
[all...]
/titanic_51/usr/src/boot/sys/boot/common/
H A Dbcache.c191 write_strategy(void *devdata, int rw, daddr_t blk, size_t size, in write_strategy() argument
202 bcache_invalidate(bc, blk + i); in write_strategy()
206 return (dd->dv_strategy(dd->dv_devdata, rw, blk, size, buf, rsize)); in write_strategy()
215 read_strategy(void *devdata, int rw, daddr_t blk, size_t size, in read_strategy() argument
243 if (BCACHE_LOOKUP(bc, (daddr_t)(blk + i))) { in read_strategy()
257 bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)), buf, size); in read_strategy()
266 p_blk = blk + i; in read_strategy()
339 if (BCACHE_LOOKUP(bc, (daddr_t)(blk + i))) in read_strategy()
347 bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)), buf, size); in read_strategy()
368 bcache_strategy(void *devdata, int rw, daddr_t blk, size_ argument
[all...]
H A Dmd.c87 md_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, in md_strategy() argument
96 if (blk < 0 || blk >= (MD_IMAGE_SIZE / MD_BLOCK_SIZE)) in md_strategy()
102 ofs = blk * MD_BLOCK_SIZE; in md_strategy()
/titanic_51/usr/src/cmd/fs.d/udfs/fsck/
H A Dutilities.c315 getblk(struct bufarea *bp, daddr_t blk, long size) in getblk() argument
319 dblk = fsbtodb(blk); in getblk()
344 rwerror(char *mesg, daddr_t blk) in rwerror() argument
349 pfatal(gettext("CANNOT %s: BLK %ld"), mesg, blk); in rwerror()
380 bread(int fd, char *buf, daddr_t blk, long size) in bread() argument
384 offset_t offset = ldbtob(blk); in bread()
388 rwerror(gettext("SEEK"), blk); in bread()
391 rwerror(gettext("READ"), blk); in bread()
393 rwerror(gettext("SEEK"), blk); in bread()
398 addr = ldbtob(blk in bread()
410 bwrite(int fd,char * buf,daddr_t blk,long size) bwrite() argument
[all...]
/titanic_51/usr/src/cmd/bnu/
H A Dgio.c202 grdblk(blk, len) in grdblk() argument
203 char *blk; in grdblk()
208 ret = pkread(blk, len - i);
211 blk += ret;
220 gwrblk(blk, len) in gwrblk() argument
221 char *blk; in gwrblk()
223 return(pkwrite(blk, len));
/titanic_51/usr/src/common/crypto/sha1/
H A Dsha1.c500 SHA1_CTX *ctx, const uint8_t blk[64])
562 * blk = bcopy(ctx->buf_un.buf32, blk, sizeof (ctx->buf_un.buf32));
568 if ((uintptr_t)blk & 0x3) { /* not 4-byte aligned? */
569 bcopy(blk, ctx->buf_un.buf32, sizeof (ctx->buf_un.buf32));
588 w_15 = LOAD_BIG_32(blk + 60);
590 w_14 = LOAD_BIG_32(blk + 56);
592 w_13 = LOAD_BIG_32(blk + 52);
594 w_12 = LOAD_BIG_32(blk + 48);
596 w_11 = LOAD_BIG_32(blk
[all...]
/titanic_51/usr/src/uts/common/io/
H A Demul64_bsd.c445 "read g0 blk=%lld (0x%llx) nblks=%d\n", in bsd_scsi_io()
457 "write g0 blk=%lld (0x%llx) nblks=%d\n", in bsd_scsi_io()
469 "read g1 blk=%lld (0x%llx) nblks=%d\n", in bsd_scsi_io()
481 "write g1 blk=%lld (0x%llx) nblks=%d\n", in bsd_scsi_io()
495 "read g4 blk=%lld (0x%llx) nblks=%d\n", in bsd_scsi_io()
509 "write g4 blk=%lld (0x%llx) nblks=%d\n", in bsd_scsi_io()
1017 blklist_t *blk; in bsd_readblks() local
1023 "<%d,%d> blk %llu (0x%llx) nblks %d\n", in bsd_readblks()
1074 blk = bsd_findblk(tgt, blkno, NULL); in bsd_readblks()
1075 if (blk) { in bsd_readblks()
1098 blklist_t *blk; bsd_writeblks() local
1227 blklist_t *blk; bsd_freeblkrange() local
1250 blklist_t *blk; bsd_findblk() local
1267 blklist_t *blk; bsd_allocblk() local
1293 bsd_freeblk(emul64_tgt_t * tgt,blklist_t * blk) bsd_freeblk() argument
[all...]
/titanic_51/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c139 int blk; in label() local
206 blk = sblock.fs_spc * sblock.fs_cpc / NSPF(&sblock); in label()
207 for (i = 0; i < blk; i += sblock.fs_frag) in label()
210 blk = i / sblock.fs_frag; in label()
211 p = (char *)&(fs_rotbl(fsp)[blk]); in label()
284 bcopy((char *)&(fs_rotbl(fsp)[blk]), in label()
285 (char *)&(fs_rotbl(altfsp)[blk]), 14); in label()
299 p = (char *)&(fs_rotbl(fsp)[blk]); in label()
/titanic_51/usr/src/uts/common/syscall/
H A Drctlsys.c59 rctlsys_rblk_xfrm(rctl_opaque_t *blk, rctl_dict_entry_t *rde, in rctlsys_rblk_xfrm() argument
67 val->rcv_privilege = blk->rcq_privilege; in rctlsys_rblk_xfrm()
68 val->rcv_value = blk->rcq_value; in rctlsys_rblk_xfrm()
69 val->rcv_flagaction = blk->rcq_local_flagaction; in rctlsys_rblk_xfrm()
70 val->rcv_action_signal = blk->rcq_local_signal; in rctlsys_rblk_xfrm()
72 blk->rcq_local_recipient_pid; in rctlsys_rblk_xfrm()
75 rde->rcd_flagaction = blk->rcq_global_flagaction; in rctlsys_rblk_xfrm()
76 rde->rcd_syslog_level = blk->rcq_global_syslog_level; in rctlsys_rblk_xfrm()
85 switch (blk->rcq_global_syslog_level) { in rctlsys_rblk_xfrm()
108 bzero(blk, sizeo in rctlsys_rblk_xfrm()
[all...]
/titanic_51/usr/src/common/crypto/sha2/
H A Dsha2.c157 SHA256Transform(SHA2_CTX *ctx, const uint8_t *blk) in SHA256Transform() argument
199 if ((uintptr_t)blk & 0x3) { /* not 4-byte aligned? */ in SHA256Transform()
200 bcopy(blk, ctx->buf_un.buf32, sizeof (ctx->buf_un.buf32)); in SHA256Transform()
201 blk = (uint8_t *)ctx->buf_un.buf32; in SHA256Transform()
205 w0 = LOAD_BIG_32(blk + 4 * 0); in SHA256Transform()
208 w1 = LOAD_BIG_32(blk + 4 * 1); in SHA256Transform()
211 w2 = LOAD_BIG_32(blk + 4 * 2); in SHA256Transform()
214 w3 = LOAD_BIG_32(blk + 4 * 3); in SHA256Transform()
217 w4 = LOAD_BIG_32(blk + 4 * 4); in SHA256Transform()
220 w5 = LOAD_BIG_32(blk in SHA256Transform()
366 SHA512Transform(SHA2_CTX * ctx,const uint8_t * blk) SHA512Transform() argument
[all...]
/titanic_51/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_rsrc.c478 uint_t blk; in eib_rsrc_setup_txbufs() local
532 for (i = 0, blk = 0; blk < EIB_BLKS_PER_POOL; blk++) { in eib_rsrc_setup_txbufs()
594 ((blk & EIB_WQEBLK_MASK) << EIB_WQEBLK_SHIFT) | in eib_rsrc_setup_txbufs()
646 uint_t blk; in eib_rsrc_setup_rxbufs() local
701 for (i = 0, blk = 0; blk < EIB_BLKS_PER_POOL; blk++) { in eib_rsrc_setup_rxbufs()
730 ((blk in eib_rsrc_setup_rxbufs()
970 int blk; eib_rsrc_grab_wqes() local
1045 uint_t blk; eib_rsrc_return_wqes() local
[all...]
/titanic_51/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fdio.c182 uchar_t blk[DEV_BSIZE]; in fdio_bdev_read() local
196 if (pread64(fdp->fd_fd, blk, DEV_BSIZE, devoff) != DEV_BSIZE) in fdio_bdev_read()
199 bcopy(&blk[blkoff], buf, len); in fdio_bdev_read()
223 uchar_t blk[DEV_BSIZE]; in fdio_bdev_write() local
237 if (pread64(fdp->fd_fd, blk, DEV_BSIZE, devoff) != DEV_BSIZE) in fdio_bdev_write()
240 bcopy(buf, &blk[blkoff], len); in fdio_bdev_write()
242 if (pwrite64(fdp->fd_fd, blk, DEV_BSIZE, devoff) != DEV_BSIZE) in fdio_bdev_write()

12345