HomeSort by: relevance | last modified time | path
    Searched refs:blk (Results 1 - 25 of 164) sorted by relevancy

1 2 3 4 5 6 7

  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/
dce_mem_input.h 131 #define MI_GFX8_TILE_MASK_SH_LIST(mask_sh, blk)\
132 SFB(blk, GRPH_CONTROL, GRPH_NUM_BANKS, mask_sh),\
133 SFB(blk, GRPH_CONTROL, GRPH_BANK_WIDTH, mask_sh),\
134 SFB(blk, GRPH_CONTROL, GRPH_BANK_HEIGHT, mask_sh),\
135 SFB(blk, GRPH_CONTROL, GRPH_MACRO_TILE_ASPECT, mask_sh),\
136 SFB(blk, GRPH_CONTROL, GRPH_TILE_SPLIT, mask_sh),\
137 SFB(blk, GRPH_CONTROL, GRPH_MICRO_TILE_MODE, mask_sh),\
138 SFB(blk, GRPH_CONTROL, GRPH_PIPE_CONFIG, mask_sh),\
139 SFB(blk, GRPH_CONTROL, GRPH_ARRAY_MODE, mask_sh),\
140 SFB(blk, GRPH_CONTROL, GRPH_COLOR_EXPANSION_MODE, mask_sh
    [all...]
  /src/sbin/fsck_v7fs/
freeblock.c 51 v7fs_daddr_t blk; member in struct:freeblock_arg
56 v7fs_daddr_t blk __unused)
58 ((struct freeblock_arg *)ctx)->blk++;
65 freeblock_subr_j(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk)
69 if (!datablock_number_sanity(fs, blk)) {
70 pwarn("invalid block#%d in freeblock", blk);
80 if (arg->blk == blk) {
81 pwarn("freeblock duplicate %d %d blk=%d", arg->i, arg->j, blk);
139 v7fs_daddr_t blk; local in function:freeblock_dup_remove
214 v7fs_daddr_t blk; local in function:v7fs_freeblock_foreach
266 v7fs_daddr_t blk; local in function:freeblock_check
    [all...]
datablock.c 55 v7fs_daddr_t blk; member in struct:loop_context
67 if (arg->blk == freeblk) {
80 datablock_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk,
86 arg->blk = blk;
122 { .i = 0, .blk = 0 })) == V7FS_ITERATOR_ERROR)
133 datablock_i_j(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, size_t sz
139 if (blk == arg->blk) {
143 arg->j, filename(fs, arg->j), blk);
304 v7fs_daddr_t blk; local in function:dupfind_loop2
325 v7fs_daddr_t blk, blk2; local in function:do_replace
    [all...]
  /src/sys/arch/ews4800mips/stand/common/
ustarfs.c 130 __block_read_n(uint8_t *buf, int blk, int count)
135 vol = __block2volume(blk);
141 cnt = __next_block(vol) - blk;
145 if (!sector_read_n(0, buf, __volume_offset(blk), cnt))
148 blk += cnt;
156 __block_read(uint8_t *buf, int blk)
160 vol = __block2volume(blk);
167 return sector_read(0, buf, __volume_offset(blk));
197 __block2volume(int blk)
200 if (blk < __volume.max_block
    [all...]
  /src/sys/arch/amiga/amiga/
dkbad.c 55 register long blk, bblk; local in function:isbad
57 blk = ((long)cyl << 16) + (trk << 8) + sec;
60 if (blk == bblk)
62 if (blk < bblk || bblk < 0)
  /src/sys/arch/atari/atari/
dkbad.c 54 register long blk, bblk; local in function:isbad
56 blk = ((long)cyl << 16) + (trk << 8) + sec;
59 if (blk == bblk)
61 if (blk < bblk || bblk < 0)
  /src/sys/arch/hp300/hp300/
dkbad.c 52 long blk, bblk; local in function:isbad
54 blk = ((long)cyl << 16) + (trk << 8) + sec;
57 if (blk == bblk)
59 if (blk < bblk || bblk < 0)
  /src/sys/arch/vax/vax/
dkbad.c 50 long blk, bblk; local in function:isbad
52 blk = ((long)cyl << 16) + (trk << 8) + sec;
56 if (blk == bblk)
58 if (blk < bblk || bblk < 0)
  /src/usr.sbin/sysinst/arch/mac68k/
menus.md.de 58 map.blk = (struct apple_part_map_entry *)calloc(map.size,
61 memcpy (&map.blk[i], &new_map[i],
85 msg_fmt_display(MSG_split_part, "%s", map.blk[j].pmPartBlkCnt);
88 if (size > 0 && size < map.blk[j].pmPartBlkCnt) {
91 memcpy (&map.blk[k], &map.blk[j],
93 free_size = map.blk[j].pmPartBlkCnt - size;
94 strcpy (map.blk[j].pmPartType, "Apple_Scratch");
95 map.blk[j].pmPartBlkCnt = size;
96 map.blk[j].pmDataCnt = size
    [all...]
menus.md.en 58 map.blk = (struct apple_part_map_entry *)calloc(map.size,
61 memcpy (&map.blk[i], &new_map[i],
85 msg_fmt_display(MSG_split_part, "%d", map.blk[j].pmPartBlkCnt);
88 if (size > 0 && size < (int)map.blk[j].pmPartBlkCnt) {
91 memcpy (&map.blk[k], &map.blk[j],
93 free_size = map.blk[j].pmPartBlkCnt - size;
94 strcpy ((char *)map.blk[j].pmPartType, "Apple_Scratch");
95 map.blk[j].pmPartBlkCnt = size;
96 map.blk[j].pmDataCnt = size
    [all...]
menus.md.es 58 map.blk = (struct apple_part_map_entry *)calloc(map.size,
61 memcpy (&map.blk[i], &new_map[i],
85 msg_fmt_display(MSG_split_part, "%d", map.blk[j].pmPartBlkCnt);
88 if (size > 0 && size < map.blk[j].pmPartBlkCnt) {
91 memcpy (&map.blk[k], &map.blk[j],
93 free_size = map.blk[j].pmPartBlkCnt - size;
94 strcpy (map.blk[j].pmPartType, "Apple_Scratch");
95 map.blk[j].pmPartBlkCnt = size;
96 map.blk[j].pmDataCnt = size
    [all...]
md.c 232 map.blk = (struct apple_part_map_entry *)malloc(map.size * blk_size);
237 read(fd, map.blk, map.size * blk_size);
285 bzb = (EBZB *)&map.blk[j].pmBootArgs[0];
289 switch (whichType(&map.blk[j])) {
311 info.start = map.blk[j].pmPyPartStart;
312 info.size = map.blk[j].pmPartBlkCnt;
389 if (map.blk[0].pmSigPad == 0xa5a5) {
403 map.blk[0].pmSigPad = 0;
411 if (write (fd, map.blk, map.size * blk_size) != (map.size * blk_size)) {
800 bzb = (EBZB *)&map.blk[i].pmBootArgs[0]
    [all...]
  /src/sys/arch/sgimips/stand/common/
iris_scsictl.c 61 scsi_read(uint8_t *buf, size_t olen, daddr_t blk, u_int nblk)
71 cdb.lbah = blk >> 24;
72 cdb.lbahm = blk >> 16;
73 cdb.lbalm = blk >> 8;
74 cdb.lbal = blk;
86 scsi_write(uint8_t *buf, size_t olen, daddr_t blk, u_int nblk)
97 cdb.lbah = blk >> 24;
98 cdb.lbahm = blk >> 16;
99 cdb.lbalm = blk >> 8;
100 cdb.lbal = blk;
    [all...]
  /src/sbin/efi/
devpath.c 87 devpath_blk_t *blk, *next; local in function:collapse_list
91 SIMPLEQ_FOREACH_SAFE(blk, head, entry, next) {
92 if (blk->path.cp == NULL) {
97 else if (*blk->path.cp == '\0') {
99 next = SIMPLEQ_NEXT(blk, entry);
102 bp = stpcpy(bp, blk->path.cp);
106 free(blk->path.cp);
110 SIMPLEQ_FOREACH_SAFE(blk, head, entry, next) {
111 bp = stpcpy(bp, blk->dbg.cp);
112 free(blk->dbg.cp)
137 devpath_blk_t *blk; local in function:devpath_parse
    [all...]
  /src/sys/fs/v7fs/
v7fs_datablock.c 83 datablock_number_sanity(const struct v7fs_self *fs, v7fs_daddr_t blk)
86 bool ok = (blk >= sb->datablock_start_sector) &&
87 (blk < sb->volume_size);
91 DPRINTF("Bad data block #%d\n", blk);
102 v7fs_daddr_t blk; local in function:v7fs_datablock_allocate
115 blk = sb->freeblock[--sb->nfreeblock];
121 if ((error = v7fs_freeblock_update(fs, blk))) {
129 } while (!datablock_number_sanity(fs, blk)); /* skip bogus block. */
132 DPRINTF("Get freeblock %d\n", blk);
135 if (!(buf = scratch_read(fs, blk)))
257 v7fs_daddr_t blk, blk2; local in function:v7fs_datablock_foreach
321 v7fs_daddr_t blk; local in function:v7fs_loop2
340 v7fs_daddr_t blk; local in function:v7fs_loop1
364 v7fs_daddr_t blk = 0; local in function:v7fs_datablock_last
399 v7fs_daddr_t blk, idxblk; local in function:v7fs_datablock_expand
503 v7fs_daddr_t blk; local in function:v7fs_link
553 v7fs_daddr_t blk, idxblk; local in function:v7fs_datablock_contract
655 v7fs_daddr_t blk; local in function:v7fs_unlink
    [all...]
v7fs_io.c 64 scratch_read(struct v7fs_self *fs, daddr_t blk)
82 if (!fs->io.read(fs->io.cookie, fs->scratch[i], blk)) {
83 DPRINTF("*** I/O error block %ld\n", (long)blk);
97 if (!fs->io.read(fs->io.cookie, buf, blk)) {
98 DPRINTF("*** I/O error block %ld\n",(long)blk);
v7fs_inode.c 73 v7fs_inode_block_sanity(const struct v7fs_superblock *sb, v7fs_daddr_t blk)
76 if ((blk < V7FS_ILIST_SECTOR) || (blk >= sb->datablock_start_sector)) {
77 DPRINTF("invalid inode block#%d (%d-%d)\n", blk,
223 v7fs_daddr_t blk, ofs; local in function:v7fs_inode_load
227 if (v7fs_inode_inquire_disk_location(fs, n, &blk, &ofs) != 0)
231 if (!(buf = scratch_read(fs, blk))) {
253 v7fs_daddr_t blk; local in function:v7fs_inode_writeback
258 if (v7fs_inode_inquire_disk_location(fs, ino, &blk, &ofs) != 0)
264 if (!(buf = scratch_read(fs, blk))) {
284 v7fs_daddr_t ofs, blk; local in function:v7fs_inode_inquire_disk_location
    [all...]
  /src/sys/arch/luna68k/stand/boot/
scsi.c 197 scsi_read_raw(u_int target, u_int blk, u_int nblk, uint8_t *buff, u_int len)
203 cdb->cdb[2] = (blk & 0xff000000) >> 24;
204 cdb->cdb[3] = (blk & 0x00ff0000) >> 16;
205 cdb->cdb[4] = (blk & 0x0000ff00) >> 8;
206 cdb->cdb[5] = (blk & 0x000000ff);
218 scsi_read(u_int blk, uint8_t *buff, u_int len)
222 return scsi_read_raw(scsi_device, blk, nblk, buff, len);
226 scsi_write(u_int blk, uint8_t *buff, u_int len)
232 cdb->cdb[2] = (blk & 0xff000000) >> 24;
233 cdb->cdb[3] = (blk & 0x00ff0000) >> 16
    [all...]
  /src/sbin/fsdb/
fsdb.h 32 extern void rwerror(char *mesg, daddr_t blk);
  /src/common/dist/zlib/examples/
fitblk.c 132 unsigned char *blk; /* intermediate and final stream */ local in function:main
147 blk = malloc(size + EXCESS);
152 if (ret != Z_OK || blk == NULL)
157 def.next_out = blk;
166 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
172 free(blk);
194 inf.next_in = blk;
211 def.next_out = blk;
219 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
228 free(blk);
    [all...]
  /src/sys/kern/
subr_blist.c 152 static blist_blkno_t blst_leaf_alloc(blmeta_t *scan, blist_blkno_t blk,
154 static blist_blkno_t blst_meta_alloc(blmeta_t *scan, blist_blkno_t blk,
159 blist_blkno_t blk);
160 static void blst_copy(blmeta_t *scan, blist_blkno_t blk, blist_blkno_t radix,
162 static int blst_leaf_fill(blmeta_t *scan, blist_blkno_t blk, int count);
165 blist_blkno_t blk);
169 static void blst_radix_print(blmeta_t *scan, blist_blkno_t blk,
244 blist_blkno_t blk = BLIST_NONE; local in function:blist_alloc
248 blk = blst_leaf_alloc(bl->bl_root, 0, count);
250 blk = blst_meta_alloc(bl->bl_root, 0, count, bl->bl_radix, bl->bl_skip)
1085 blist_blkno_t blk = blist_alloc(bl, count); local in function:main
    [all...]
  /src/usr.sbin/installboot/
ffs.c 90 ffs_read_disk_block(ib_params *params, uint64_t blkno, int size, char blk[])
98 assert(blk != NULL);
100 rv = pread(params->fsfd, blk, size, blkno * params->sectorsize);
129 int32_t blk, lblk, nblk; local in function:ffs_find_disk_blocks_ufs1
198 blk = *(level[level_i].blknums++);
201 blk = bswap32(blk);
204 fprintf(stderr, "ino %lu blk %lu level %d\n", ino, blk,
215 if (blk == 0
266 int64_t blk, lblk, nblk; local in function:ffs_find_disk_blocks_ufs2
    [all...]
  /src/sys/arch/mvme68k/stand/installboot/
installboot.c 225 devread(int fd, void *buf, daddr_t blk, size_t size, char *msg)
228 if (lseek(fd, dbtob(blk), SEEK_SET) != dbtob(blk))
245 daddr_t blk, *ap; local in function:loadblocknums
293 blk = FFS_FSBTODB(fs, ino_to_fsba(fs, statbuf.st_ino));
294 devread(devfd, buf, blk, fs->fs_bsize, "inode");
314 blk = FFS_FSBTODB(fs, *ap);
316 printf("%d: %d\n", i, blk);
317 block_table[i] = blk;
326 blk = FFS_FSBTODB(fs, ip->di_ib[0])
    [all...]
  /src/sys/ufs/ufs/
ufs_wapbl.h 129 #define UFS_WAPBL_REGISTER_DEALLOCATION(mp, blk, len, cookiep) \
131 ? wapbl_register_deallocation(mp->mnt_wapbl, blk, len, \
135 #define UFS_WAPBL_REGISTER_DEALLOCATION_FORCE(mp, blk, len) \
138 ? wapbl_register_deallocation(mp->mnt_wapbl, blk, len, \
154 #define UFS_WAPBL_REGISTER_DEALLOCATION(mp, blk, len, cookiep) 0
155 #define UFS_WAPBL_REGISTER_DEALLOCATION_FORCE(mp, blk, len) 0
  /src/etc/rc.d/
swap1 59 swapctl -A -t blk || [ $? = 2 ]
70 swapctl -U -t blk || [ $? = 2 ]

Completed in 21 milliseconds

1 2 3 4 5 6 7