/netbsd/sys/ufs/lfs/ |
H A D | lfs_syscalls.c | 117 int blkcnt, error; in sys_lfs_markv() local 129 blkcnt = SCARG(uap, blkcnt); in sys_lfs_markv() 158 int i, blkcnt, error; in sys_lfs_markv() local 170 blkcnt = SCARG(uap, blkcnt); in sys_lfs_markv() 216 int blkcnt) in lfs_markv() argument 254 cnt = blkcnt; in lfs_markv() 535 int blkcnt, error; in sys_lfs_bmapv() local 547 blkcnt = SCARG(uap, blkcnt); in sys_lfs_bmapv() 577 int i, blkcnt, error; in sys_lfs_bmapv() local 589 blkcnt = SCARG(uap, blkcnt); in sys_lfs_bmapv() [all …]
|
H A D | lfs_vnops.c | 1858 int blkcnt, i, error; in lfs_fcntl() local 1928 blkcnt = blkvp70.blkcnt; in lfs_fcntl() 1929 if ((u_int) blkcnt > LFS_MARKV_MAXBLKCNT) in lfs_fcntl() 1933 for (i = 0; i < blkcnt; i++) { in lfs_fcntl() 1948 error = lfs_bmapv(l, fsidp, blkiov, blkcnt); in lfs_fcntl() 1950 error = lfs_markv(l, fsidp, blkiov, blkcnt); in lfs_fcntl() 1952 for (i = 0; i < blkcnt; i++) { in lfs_fcntl() 1972 blkcnt = blkvp.blkcnt; in lfs_fcntl() 1973 if ((u_int) blkcnt > LFS_MARKV_MAXBLKCNT) in lfs_fcntl() 1977 blkcnt * sizeof(BLOCK_INFO))) != 0) { in lfs_fcntl() [all …]
|
H A D | lfs_kernel.h | 105 int blkcnt; /* number of blocks (limited to 65536) */ member
|
H A D | lfs.h | 1211 int blkcnt; /* number of blocks (limited to 65536) */ member
|
/netbsd/sys/arch/usermode/dev/ |
H A D | ld_thunkbus.c | 307 ld_thunkbus_lddump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_thunkbus_lddump() argument 312 len = thunk_pwrite(sc->sc_fd, data, blkcnt, blkno * ld->sc_secsize); in ld_thunkbus_lddump() 315 else if (len != blkcnt) { in ld_thunkbus_lddump()
|
/netbsd/sys/dev/pci/ |
H A D | ld_amr.c | 198 ld_amr_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_amr_dump() argument 204 return (ld_amr_dobio(sc, data, blkcnt * ld->sc_secsize, blkno, 1, in ld_amr_dump()
|
H A D | ld_virtio.c | 516 ld_virtio_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_virtio_dump() argument 540 data, blkcnt*ld->sc_secsize, NULL, in ld_virtio_dump() 563 0, blkcnt*ld->sc_secsize, in ld_virtio_dump() 597 0, blkcnt*ld->sc_secsize, in ld_virtio_dump()
|
H A D | ld_twa.c | 224 ld_twa_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_twa_dump() argument 230 blkcnt * ld->sc_secsize, blkno, NULL)); in ld_twa_dump()
|
H A D | ld_twe.c | 262 ld_twe_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_twe_dump() argument 266 blkcnt * ld->sc_secsize, blkno, 1, NULL)); in ld_twe_dump()
|
H A D | ips.c | 854 u_int32_t blkno, blkcnt; in ips_scsi_cmd() local 887 blkcnt = rw->length ? rw->length : 0x100; in ips_scsi_cmd() 891 blkcnt = _2btol(rwb->length); in ips_scsi_cmd() 894 if (blkno >= htole32(drive->seccnt) || blkno + blkcnt > in ips_scsi_cmd() 898 blkno, blkcnt)); in ips_scsi_cmd() 912 cmd->seccnt = htole16(blkcnt); in ips_scsi_cmd()
|
/netbsd/sys/dev/ic/ |
H A D | ld_cac.c | 166 ld_cac_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_cac_dump() argument 173 CAC_CMD_WRITE_MEDIA, data, blkcnt * ld->sc_secsize, in ld_cac_dump()
|
H A D | ld_mlx.c | 247 ld_mlx_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_mlx_dump() argument 251 blkcnt * ld->sc_secsize, blkno, 1, NULL)); in ld_mlx_dump()
|
H A D | ld_nvme.c | 150 ld_nvme_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_nvme_dump() argument 155 NULL, data, blkcnt * ld->sc_secsize, in ld_nvme_dump()
|
H A D | ld_icp.c | 252 ld_icp_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_icp_dump() argument 256 blkcnt * ld->sc_secsize, blkno, 1, NULL)); in ld_icp_dump()
|
H A D | ld_aac.c | 360 ld_aac_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_aac_dump() argument 364 blkcnt * ld->sc_secsize, blkno, 1, NULL)); in ld_aac_dump()
|
/netbsd/sbin/restore/ |
H A D | tape.c | 80 static int blkcnt; variable 114 #define FLUSHTAPEBUF() blkcnt = ntrec + 1 316 blkcnt--; /* push back this block */ in setup() 1273 if (blkcnt < numtrec) { in readtape() 1274 memmove(buf, &tapebuf[(blkcnt++ * TP_BSIZE)], (long)TP_BSIZE); in readtape() 1379 blkcnt = 0; in readtape() 1380 memmove(buf, &tapebuf[(blkcnt++ * TP_BSIZE)], (long)TP_BSIZE); in readtape() 1392 blkcnt = 0; in findtapeblksize()
|
/netbsd/libexec/lfs_cleanerd/ |
H A D | coalesce.c | 251 lim.blkcnt = nb; in clean_inode() 370 lim.blkcnt = (tbip + bps < bip + nb ? bps : nb % bps); in clean_inode()
|
H A D | lfs_cleanerd.c | 895 lim.blkcnt = *bic; in toss_old_blocks() 959 lim.blkcnt = bic; in invalidate_segment() 1229 lim.blkcnt = (bic - mc > inc ? inc : bic - mc); in clean_fs() 1231 dlog("checking blocks %d-%d", mc, mc + lim.blkcnt - 1); in clean_fs() 1232 for (i = 0; i < lim.blkcnt; i++) { in clean_fs() 1236 dlog("sending blocks %d-%d", mc, mc + lim.blkcnt - 1); in clean_fs()
|
/netbsd/sys/dev/i2o/ |
H A D | ld_iop.c | 404 ld_iop_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_iop_dump() argument 416 bcount = blkcnt * ld->sc_secsize; in ld_iop_dump()
|
/netbsd/sys/dev/sdmmc/ |
H A D | ld_sdmmc.c | 508 ld_sdmmc_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt) in ld_sdmmc_dump() argument 513 blkcnt * ld->sc_secsize); in ld_sdmmc_dump()
|
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | dmu_tx.c | 593 uint64_t blkcnt = 1 + ((l0span >> epbs) >> epbs); in dmu_tx_count_free() local 605 MAX(MIN(blkcnt, nl1blks), 1) << dn->dn_indblkshift, in dmu_tx_count_free() 607 blkcnt = 1 + (blkcnt >> epbs); in dmu_tx_count_free()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 963 #define __sanitizer_syscall_pre_lfs_bmapv(fsidp, blkiov, blkcnt) \ argument 965 (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 966 #define __sanitizer_syscall_post_lfs_bmapv(res, fsidp, blkiov, blkcnt) \ argument 968 res, (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 969 #define __sanitizer_syscall_pre_lfs_markv(fsidp, blkiov, blkcnt) \ argument 971 (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 974 res, (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 3579 long long blkcnt); 3582 long long blkcnt); 3584 long long blkcnt); [all …]
|
/netbsd/sys/external/bsd/compiler_rt/dist/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 937 #define __sanitizer_syscall_pre_lfs_bmapv(fsidp, blkiov, blkcnt) \ argument 939 (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 940 #define __sanitizer_syscall_post_lfs_bmapv(res, fsidp, blkiov, blkcnt) \ argument 942 res, (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 943 #define __sanitizer_syscall_pre_lfs_markv(fsidp, blkiov, blkcnt) \ argument 945 (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 948 res, (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 3407 long long blkcnt); 3410 long long blkcnt); 3412 long long blkcnt); [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 963 #define __sanitizer_syscall_pre_lfs_bmapv(fsidp, blkiov, blkcnt) \ argument 965 (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 966 #define __sanitizer_syscall_post_lfs_bmapv(res, fsidp, blkiov, blkcnt) \ argument 968 res, (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 969 #define __sanitizer_syscall_pre_lfs_markv(fsidp, blkiov, blkcnt) \ argument 971 (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 974 res, (long long)(fsidp), (long long)(blkiov), (long long)(blkcnt)) 3579 long long blkcnt); 3582 long long blkcnt); 3584 long long blkcnt); [all …]
|
/netbsd/sys/dev/ata/ |
H A D | ld_ataraid.c | 581 int blkno, int blkcnt) in ld_ataraid_dump() argument
|