Home
last modified time | relevance | path

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

123456

/openbsd-src/sys/dev/pci/drm/amd/display/dc/dce/
H A Ddce_mem_input.h158 #define MI_GFX6_TILE_MASK_SH_LIST(mask_sh, blk)\ argument
159 SFB(blk, GRPH_CONTROL, GRPH_NUM_BANKS, mask_sh),\
160 SFB(blk, GRPH_CONTROL, GRPH_BANK_WIDTH, mask_sh),\
161 SFB(blk, GRPH_CONTROL, GRPH_BANK_HEIGHT, mask_sh),\
162 SFB(blk, GRPH_CONTROL, GRPH_MACRO_TILE_ASPECT, mask_sh),\
163 SFB(blk, GRPH_CONTROL, GRPH_TILE_SPLIT, mask_sh),\
164 SFB(blk, GRPH_CONTROL, GRPH_PIPE_CONFIG, mask_sh),\
165 SFB(blk, GRPH_CONTROL, GRPH_ARRAY_MODE, mask_sh),\
166 SFB(blk, GRPH_CONTROL, GRPH_COLOR_EXPANSION_MODE, mask_sh)
169 #define MI_GFX8_TILE_MASK_SH_LIST(mask_sh, blk)\ argument
[all …]
H A Ddce_hwseq.h61 #define HSWEQ_DCN_PIXEL_RATE_REG_LIST(blk, inst) \ argument
62 SRII(PIXEL_RATE_CNTL, blk, inst), \
63 SRII(PHYPLL_PIXEL_RATE_CNTL, blk, inst)
65 #define HWSEQ_PIXEL_RATE_REG_LIST(blk) \ argument
66 SRII(PIXEL_RATE_CNTL, blk, 0), \
67 SRII(PIXEL_RATE_CNTL, blk, 1), \
68 SRII(PIXEL_RATE_CNTL, blk, 2), \
69 SRII(PIXEL_RATE_CNTL, blk, 3), \
70 SRII(PIXEL_RATE_CNTL, blk, 4), \
71 SRII(PIXEL_RATE_CNTL, blk, 5)
[all …]
/openbsd-src/gnu/usr.bin/perl/lib/unicore/
H A DPropValueAliases.txt151 # Block (blk)
153 blk; Adlam ; Adlam
154 blk; Aegean_Numbers ; Aegean_Numbers
155 blk; Ahom ; Ahom
156 blk; Alchemical ; Alchemical_Symbols
157 blk; Alphabetic_PF ; Alphabetic_Presentation_Forms
158 blk; Anatolian_Hieroglyphs ; Anatolian_Hieroglyphs
159 blk; Ancient_Greek_Music ; Ancient_Greek_Musical_Notation
160 blk; Ancient_Greek_Numbers ; Ancient_Greek_Numbers
161 blk; Ancient_Symbols ; Ancient_Symbols
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A D20030225-1.c28 static short *blk; in idct_int32() local
34 blk = block + i; in idct_int32()
36 if (! ((X1 = (blk[8 * 4] << 8)) | (X2 = blk[8 * 6]) in idct_int32()
37 | (X3 = blk[8 * 2]) | (X4 = blk[8 * 1]) | (X5 = blk[8 * 7]) in idct_int32()
38 | (X6 = blk[8 * 5]) | (X7 = blk[8 * 3]))) in idct_int32()
40 blk[8 * 0] = blk[8 * 1] = blk[8 * 2] = in idct_int32()
41 blk[8 * 3] = blk[8 * 4] = in idct_int32()
42 blk[8 * 5] = blk[8 * 6] = blk[8 * 7] = in idct_int32()
43 iclp[(blk[8 * 0] + 32) >> 6]; in idct_int32()
46 X0 = (blk[8 * 0] << 8) + 8192; in idct_int32()
[all …]
/openbsd-src/sys/kern/
H A Dsubr_blist.c139 swblk_t blk, swblk_t count);
141 swblk_t blk, swblk_t count,
146 swblk_t blk);
147 static swblk_t blst_leaf_fill(blmeta_t *scan, swblk_t blk, swblk_t count);
150 swblk_t blk);
151 static void blst_copy(blmeta_t *scan, swblk_t blk, swblk_t radix,
155 static int blst_radix_gapfind(blmeta_t *scan, swblk_t blk, swblk_t radix, swblk_t skip,
159 static void blst_radix_print(blmeta_t *scan, swblk_t blk,
244 swblk_t blk = SWAPBLK_NONE; in blist_alloc() local
248 blk = blst_leaf_alloc(bl->bl_root, 0, 0, count); in blist_alloc()
[all …]
/openbsd-src/gnu/usr.sbin/mkhybrid/src/
H A Ddesktop.c52 unsigned char *blk; /* user data */ in make_desktop() local
63 blk = hce->hfs_ce + hce->hfs_ce_size*HFS_BLOCKSZ; in make_desktop()
67 memset(blk, 0, clps); in make_desktop()
75 d_putw(blk+8, 0x100); in make_desktop()
76 d_putw(blk+10, 0x3); in make_desktop()
78 d_putw(blk+32, 0x200); in make_desktop()
79 d_putw(blk+34, 0x25); in make_desktop()
81 d_putl(blk+36, blks); in make_desktop()
82 d_putl(blk+40, blks - 1); in make_desktop()
84 d_putw(blk+48, clps); in make_desktop()
[all …]
/openbsd-src/regress/sys/crypto/chachapoly/
H A Dchachapoly_test.c290 uint8_t blk[CHACHA20_BLOCK_LEN]; in dochacha() local
306 blk[i] = plain[i]; in dochacha()
308 blk[i] = 0; in dochacha()
309 chacha20_crypt((caddr_t)&ctx, blk); in dochacha()
310 memcpy(plain, blk, plen); in dochacha()
321 uint8_t blk[CHACHA20_BLOCK_LEN]; in dopoly() local
332 memset(blk, 0, POLY1305_BLOCK_LEN); in dopoly()
333 memcpy(blk, aad + i, MINIMUM(aadlen - i, POLY1305_BLOCK_LEN)); in dopoly()
334 Chacha20_Poly1305_Update(&ctx, blk, POLY1305_BLOCK_LEN); in dopoly()
342 bzero(blk, sizeof blk); in dopoly()
[all …]
/openbsd-src/sbin/scan_ffs/
H A Dscan_ffs.c78 daddr_t blk, lastblk; in ufsscan() local
84 for (blk = beg; blk <= ((end<0)?blk:end); blk += (SBCOUNT*SBSIZE/512)){ in ufsscan()
86 if (lseek(fd, (off_t)blk * 512, SEEK_SET) == -1) in ufsscan()
96 (long long)(blk + (n/512)), in ufsscan()
100 if (((blk+(n/512)) - lastblk) == (SBSIZE/512)) { in ufsscan()
102 (long long)(blk + (n/512) - in ufsscan()
111 blk += (size/512 - in ufsscan()
119 lastblk = blk + (n/512); in ufsscan()
/openbsd-src/usr.bin/rsync/
H A Dblocks.c34 const struct blk *blk; member
113 p->blks[i].blk = &bset->blks[i]; in blkhash_set()
139 * Returns the blk or NULL if no matching block was found. in blk_find()
141 static const struct blk * in blk_find()
202 if (fhash != ent->blk->chksum_short || in blk_find()
203 (size_t)osz != ent->blk->len) in blk_find()
208 path, (intmax_t)st->offs, ent->blk->idx, in blk_find()
209 (intmax_t)ent->blk->offs, ent->blk in blk_find()
249 const struct blk *blk; blk_match() local
[all...]
H A Duploader.c149 init_blk(struct blk *p, const struct blkset *set, off_t offs, in init_blk()
870 struct blkset blk; in rsync_uploader() local
985 memset(&blk, 0, sizeof(struct blkset)); in rsync_uploader()
986 blk.csum = u->csumlen; in rsync_uploader()
989 init_blkset(&blk, filesize); in rsync_uploader()
990 assert(blk.blksz); in rsync_uploader()
992 blk.blks = calloc(blk.blksz, sizeof(struct blk)); in rsync_uploader()
993 if (blk.blks == NULL) { in rsync_uploader()
1000 if ((mbuf = malloc(blk.len)) == NULL) { in rsync_uploader()
1004 free(blk.blks); in rsync_uploader()
[all …]
/openbsd-src/sys/crypto/
H A Dxform.c312 des3_encrypt(caddr_t key, u_int8_t *blk) in des3_encrypt() argument
314 des_ecb3_encrypt(blk, blk, key, key + 128, key + 256, 1); in des3_encrypt()
318 des3_decrypt(caddr_t key, u_int8_t *blk) in des3_decrypt() argument
320 des_ecb3_encrypt(blk, blk, key + 256, key + 128, key, 0); in des3_decrypt()
334 blf_encrypt(caddr_t key, u_int8_t *blk) in blf_encrypt() argument
336 blf_ecb_encrypt((blf_ctx *) key, blk, 8); in blf_encrypt()
340 blf_decrypt(caddr_t key, u_int8_t *blk) in blf_decrypt() argument
342 blf_ecb_decrypt((blf_ctx *) key, blk, 8); in blf_decrypt()
360 null_encrypt(caddr_t key, u_int8_t *blk) in null_encrypt() argument
365 null_decrypt(caddr_t key, u_int8_t *blk) in null_decrypt() argument
[all …]
H A Dcryptosoft.c102 unsigned char iv[EALG_MAX_BLOCK_LEN], blk[EALG_MAX_BLOCK_LEN], *idat; in swcr_encdec() local
167 m_copydata(m, k, blks, blk); in swcr_encdec()
173 blk); in swcr_encdec()
176 blk); in swcr_encdec()
181 blk[j] ^= ivp[j]; in swcr_encdec()
183 exf->encrypt(sw->sw_kschedule, blk); in swcr_encdec()
189 bcopy(blk, iv, blks); in swcr_encdec()
197 bcopy(blk, nivp, blks); in swcr_encdec()
199 exf->decrypt(sw->sw_kschedule, blk); in swcr_encdec()
203 blk[j] ^= ivp[j]; in swcr_encdec()
[all …]
/openbsd-src/usr.bin/mandoc/
H A Dread.c149 mparse_buf_r(struct mparse *curp, struct buf blk, size_t i, int start) in mparse_buf_r() argument
172 while (i < blk.sz && (blk.buf[i] != '\0' || pos != 0)) { in mparse_buf_r()
180 curp->filenc = preconv_cue(&blk, i); in mparse_buf_r()
184 while (i < blk.sz && (start || blk.buf[i] != '\0')) { in mparse_buf_r()
192 if ('\r' == blk.buf[i] && i + 1 < blk.sz && in mparse_buf_r()
193 '\n' == blk.buf[i + 1]) in mparse_buf_r()
195 if ('\n' == blk.buf[i]) { in mparse_buf_r()
213 c = blk.buf[i]; in mparse_buf_r()
216 &blk, &i, &ln, &pos, &curp->filenc))) { in mparse_buf_r()
240 ln.buf[pos++] = blk.buf[i++]; in mparse_buf_r()
[all …]
/openbsd-src/sys/arch/hppa/stand/libsa/
H A Dpdc.c125 iodcstrategy(devdata, rw, blk, size, buf, rsize) in iodcstrategy() argument
128 daddr_t blk;
140 rw==F_READ? "READ" : "WRITE", blk, size, buf, rsize);
146 blk += dp->fsoff;
147 blk *= DEV_BSIZE;
150 if (blk < dp->last_blk) {
173 for (; (dp->last_blk + dp->last_read) <= blk;
203 dp->last_blk <= blk && (dp->last_blk + dp->last_read) > blk) {
205 offset = blk - dp->last_blk;
208 blk += xfer;
[all …]
/openbsd-src/sys/arch/alpha/stand/
H A Dinstallboot.c309 devread(int fd, void *buf, daddr_t blk, size_t size, char *msg) in devread() argument
311 if (pread(fd, buf, size, dbtob((off_t)blk)) != (ssize_t)size) in devread()
326 daddr_t blk, *ap2; in loadblocknums() local
350 blk = (isofsblk + i) * (bbinfop->bsize / DEV_BSIZE); in loadblocknums()
351 bbinfop->blocks[i] = blk; in loadblocknums()
353 (void)printf("%d ", blk); in loadblocknums()
385 blk = fsbtodb(fs, ino_to_fsba(fs, statbuf.st_ino)); in loadblocknums()
386 devread(devfd, buf, blk + partoffset, fs->fs_bsize, "inode"); in loadblocknums()
417 blk = fsbtodb(fs, *ap1); in loadblocknums()
418 bbinfop->blocks[i] = blk + partoffset; in loadblocknums()
[all …]
/openbsd-src/regress/sys/crypto/gmac/
H A Dgmac_test.c643 uint8_t blk[GMAC_BLOCK_LEN]; in dogmac() local
654 memset(blk, 0, GMAC_BLOCK_LEN); in dogmac()
655 memcpy(blk, aad + i, MINIMUM(aadlen - i, GMAC_BLOCK_LEN)); in dogmac()
656 AES_GMAC_Update(&ctx, blk, GMAC_BLOCK_LEN); in dogmac()
664 bzero(blk, sizeof blk); in dogmac()
665 p = (uint32_t *)blk + 1; in dogmac()
667 p = (uint32_t *)blk + 3; in dogmac()
669 AES_GMAC_Update(&ctx, blk, 16); in dogmac()
/openbsd-src/lib/libpcap/
H A Dgrammar.y89 } blk; member
93 %type <blk> expr id nid pid term rterm qid
94 %type <blk> head
98 %type <blk> and or paren not null prog
145 and: AND { $$ = $<blk>0; }
147 or: OR { $$ = $<blk>0; }
151 $$.q = $<blk>0.q); }
154 nid: ID { $$.b = gen_scode($1, $$.q = $<blk>0.q); }
156 $$.q = $<blk>0.q); }
158 $$.q = $<blk>0.q); }
[all …]
/openbsd-src/sbin/fsck_ext2fs/
H A Dutilities.c181 getblk(struct bufarea *bp, daddr32_t blk, long size) in getblk() argument
185 dblk = fsbtodb(&sblock, blk); in getblk()
220 rwerror(char *mesg, daddr32_t blk) in rwerror() argument
225 pfatal("CANNOT %s: BLK %d", mesg, blk); in rwerror()
282 bread(int fd, char *buf, daddr32_t blk, long size) in bread() argument
288 offset = blk; in bread()
292 rwerror("READ", blk); in bread()
301 (long long)blk + i / DEV_BSIZE); in bread()
303 printf(" %lld,", (long long)blk + in bread()
313 bwrite(int fd, char *buf, daddr32_t blk, long size) in bwrite() argument
[all …]
H A Dinode.c286 chkrange(daddr32_t blk, int cnt) in chkrange() argument
290 if ((unsigned)(blk + cnt) > maxfsblock) in chkrange()
292 c = dtog(&sblock, blk); in chkrange()
294 if (blk < sblock.e2fs.e2fs_bpg * c + overh + in chkrange()
296 if ((blk + cnt) > sblock.e2fs.e2fs_bpg * c + overh + in chkrange()
300 blk, sblock.e2fs.e2fs_bpg * c + overh + in chkrange()
303 blk + cnt, sblock.e2fs.e2fs_bpg * c + in chkrange()
309 if ((blk + cnt) > sblock.e2fs.e2fs_bpg * (c + 1) + overh + in chkrange()
313 blk, sblock.e2fs.e2fs_bpg * c + overh + in chkrange()
316 blk+cnt, sblock.e2fs.e2fs_bpg * (c + 1) + in chkrange()
[all …]
/openbsd-src/gnu/gcc/gcc/
H A Dgcov.c1074 block_t *blk; in solve_flow_graph() local
1102 for (ix = 0, blk = fn->blocks; ix != fn->num_blocks; ix++, blk++) in solve_flow_graph()
1108 for (arc = blk->succ; arc; arc = arc->succ_next) in solve_flow_graph()
1118 blk->num_succ--; in solve_flow_graph()
1129 for (arc = blk->succ; arc; arc = arc->succ_next) in solve_flow_graph()
1139 if (blk->is_call_site && arc->fall_through in solve_flow_graph()
1151 arc_t *start = blk->succ; in solve_flow_graph()
1179 blk->succ = start; in solve_flow_graph()
1184 blk->invalid_chain = 1; in solve_flow_graph()
1185 blk->chain = invalid_blocks; in solve_flow_graph()
[all …]
/openbsd-src/sys/arch/luna88k/stand/boot/
H A Dsd.c309 daddr32_t blk; in sdstrategy() local
317 blk = dblk + (lp->d_partitions[sc->sc_part].p_offset >> sc->sc_bshift); in sdstrategy()
324 cdb->cdb[2] = (blk & 0xff000000) >> 24; in sdstrategy()
325 cdb->cdb[3] = (blk & 0x00ff0000) >> 16; in sdstrategy()
326 cdb->cdb[4] = (blk & 0x0000ff00) >> 8; in sdstrategy()
327 cdb->cdb[5] = (blk & 0x000000ff); in sdstrategy()
334 sc->sc_ctlr, sc->sc_tgt, (u_long)blk, (long)blk, nblk, nblk); in sdstrategy()
/openbsd-src/sbin/fsck_ffs/
H A Dinode.c235 chkrange(daddr_t blk, int cnt) in chkrange() argument
239 if (cnt <= 0 || blk <= 0 || blk > maxfsblock || in chkrange()
240 cnt - 1 > maxfsblock - blk) in chkrange()
243 fragnum(&sblock, blk) + cnt > sblock.fs_frag) { in chkrange()
246 (long long)blk, (long long)fragnum(&sblock, blk), in chkrange()
250 c = dtog(&sblock, blk); in chkrange()
251 if (blk < cgdmin(&sblock, c)) { in chkrange()
252 if ((blk + cnt) > cgsblock(&sblock, c)) { in chkrange()
255 (long long)blk, in chkrange()
258 (long long)(blk + cnt), in chkrange()
[all …]
H A Dutilities.c243 getblk(struct bufarea *bp, daddr_t blk, long size) in getblk() argument
247 dblk = fsbtodb(&sblock, blk); in getblk()
282 rwerror(char *mesg, daddr_t blk) in rwerror() argument
287 pfatal("CANNOT %s: BLK %lld", mesg, (long long)blk); in rwerror()
377 bread(int fd, char *buf, daddr_t blk, long size) in bread() argument
383 offset = blk; in bread()
387 rwerror("READ", blk); in bread()
396 (long long)blk + i / DEV_BSIZE); in bread()
398 printf(" %lld,", (long long)blk + in bread()
408 bwrite(int fd, char *buf, daddr_t blk, long size) in bwrite() argument
[all …]
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Ddwarf2.c63 struct dwarf_block *blk; member
543 struct dwarf_block *blk; in read_attribute_value() local
558 blk = bfd_alloc (abfd, amt); in read_attribute_value()
559 blk->size = read_2_bytes (abfd, info_ptr); in read_attribute_value()
561 blk->data = read_n_bytes (abfd, info_ptr, blk->size); in read_attribute_value()
562 info_ptr += blk->size; in read_attribute_value()
563 attr->u.blk = blk; in read_attribute_value()
567 blk = bfd_alloc (abfd, amt); in read_attribute_value()
568 blk->size = read_4_bytes (abfd, info_ptr); in read_attribute_value()
570 blk->data = read_n_bytes (abfd, info_ptr, blk->size); in read_attribute_value()
[all …]
/openbsd-src/regress/sys/uvm/blist/
H A Dtest-6.out4 blist_meta_alloc blkat 0 blk 0 count 64 radix 2048
7 blist_meta_alloc blkat 0 blk 0 count 32 radix 2048
10 blist_meta_alloc blkat 0 blk 0 count 64 radix 2048

123456