/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)
|
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)
|
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)
|
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)
|
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/sys/arch/sparc/stand/bootxx/ |
bootxx.c | 106 daddr_t blk; local in function:loadboot 118 if ((blk = bbinfo.bbi_block_table[i]) == 0) 122 printf("%s: block # %d = %d\n", progname, i, blk); 124 if ((f->f_dev->dv_strategy)(f->f_devdata, F_READ, blk,
|
bootxx.c | 106 daddr_t blk; local in function:loadboot 118 if ((blk = bbinfo.bbi_block_table[i]) == 0) 122 printf("%s: block # %d = %d\n", progname, i, blk); 124 if ((f->f_dev->dv_strategy)(f->f_devdata, F_READ, blk,
|
/src/sys/arch/news68k/stand/bootxx/ |
bootxx.c | 85 int fd, blk, bs; local in function:bootxx 129 blk = bbinfo.bbi_block_table[i]; 131 DPRINTF(" %d", blk); 133 rom_lseek(fd, blk * 512, 0);
|
bootxx.c | 85 int fd, blk, bs; local in function:bootxx 129 blk = bbinfo.bbi_block_table[i]; 131 DPRINTF(" %d", blk); 133 rom_lseek(fd, blk * 512, 0);
|
/src/sys/arch/ofppc/stand/ofwboot/ |
rdb.c | 126 u_long blk; local in function:search_rdb_label 134 for (blk = 0; blk < RDB_MAXBLOCKS; blk++) { 135 if (strategy(devp, F_READ, blk, DEV_BSIZE, buf, &read) 150 if (blk == RDB_MAXBLOCKS) 192 for (blk = rbp->partbhead; blk != RDBNULL; blk = pbp->next) { 193 if (strategy(devp, F_READ, blk * (lp->d_secsize / DEV_BSIZE) [all...] |
rdb.c | 126 u_long blk; local in function:search_rdb_label 134 for (blk = 0; blk < RDB_MAXBLOCKS; blk++) { 135 if (strategy(devp, F_READ, blk, DEV_BSIZE, buf, &read) 150 if (blk == RDB_MAXBLOCKS) 192 for (blk = rbp->partbhead; blk != RDBNULL; blk = pbp->next) { 193 if (strategy(devp, F_READ, blk * (lp->d_secsize / DEV_BSIZE) [all...] |
/src/sys/opencrypto/ |
gmac.c | 156 uint8_t blk[16] = { 0 }; local in function:AES_GMAC_Update 164 memcpy(blk, data + (len - plen), plen); 165 ghash_update(&ctx->ghash, blk, GMAC_BLOCK_LEN);
|
gmac.c | 156 uint8_t blk[16] = { 0 }; local in function:AES_GMAC_Update 164 memcpy(blk, data + (len - plen), plen); 165 ghash_update(&ctx->ghash, blk, GMAC_BLOCK_LEN);
|
/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...] |
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/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...] |
/src/sbin/newfs_v7fs/ |
main.c | 129 v7fs_daddr_t blk = inode.addr[0]; local in function:make_root 131 if (!(buf = scratch_read(fs, blk))) { 143 if (!fs->io.write(fs->io.cookie, buf, blk)) {/*writeback */ 192 warn("blk=%ld", (long)listblk); 205 v7fs_daddr_t blk; local in function:make_filesystem 258 blk = sb->freeblock[0]; 259 while ((blk = make_freeblocklist(fs, blk, buf)))
|
/src/sys/arch/mvme68k/stand/libsa/ |
bugdev.c | 124 daddr_t blk = dblk + pp->poff; local in function:bugscstrategy 132 dio.blk_num = blk * BUG_SCALE; 137 printf("bugscstrategy: size=%d blk=%d buf=%x\n", size, blk, buf);
|
/src/sys/arch/newsmips/stand/bootxx/ |
bootxx.c | 65 int fd, blk, bs; local in function:bootxx 125 blk = bbinfo.bbi_block_table[i]; 127 DPRINTF(" %d", blk); 130 apcall_lseek(fd, blk * 512, 0); 133 rom_lseek(fd, blk * 512, 0);
|
/src/sys/arch/sgimips/stand/common/ |
iris_disk.c | 106 daddr_t blk; local in function:diskstrategy 114 blk = bn + (lp->d_partitions[sc->sc_part].p_offset >> sc->sc_blkshift); 120 stat = scsi_read(buf, reqcnt, blk, nblk);
|
/src/sys/dev/sun/ |
disksubr.c | 400 long blk, bblk; local in function:isbad 402 blk = ((long)cyl << 16) + (trk << 8) + sec; 406 if (blk == bblk) 408 if (blk < bblk || bblk < 0)
|
/src/sys/fs/v7fs/ |
v7fs_file.c | 94 lookup_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, size_t sz) 103 if (!(buf = scratch_read(fs, blk))) 189 v7fs_daddr_t blk = inode.addr[0]; local in function:v7fs_file_allocate 191 if (!(buf = scratch_read(fs, blk))) { 200 if (!fs->io.write(fs->io.cookie, buf, blk)) { 281 v7fs_daddr_t blk; local in function:v7fs_directory_add_entry 298 if (!(blk = v7fs_datablock_last(fs, parent_dir, 303 if (!(buf = scratch_read(fs, blk))) 314 if (!fs->io.write(fs->io.cookie, buf, blk)) 381 remove_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, size_t sz [all...] |