Home
last modified time | relevance | path

Searched refs:blkcnt (Results 1 – 25 of 27) sorted by relevance

12

/netbsd/sys/ufs/lfs/
H A Dlfs_syscalls.c117 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 Dlfs_vnops.c1858 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 Dlfs_kernel.h105 int blkcnt; /* number of blocks (limited to 65536) */ member
H A Dlfs.h1211 int blkcnt; /* number of blocks (limited to 65536) */ member
/netbsd/sys/arch/usermode/dev/
H A Dld_thunkbus.c307 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 Dld_amr.c198 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 Dld_virtio.c516 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 Dld_twa.c224 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 Dld_twe.c262 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 Dips.c854 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 Dld_cac.c166 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 Dld_mlx.c247 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 Dld_nvme.c150 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 Dld_icp.c252 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 Dld_aac.c360 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 Dtape.c80 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 Dcoalesce.c251 lim.blkcnt = nb; in clean_inode()
370 lim.blkcnt = (tbip + bps < bip + nb ? bps : nb % bps); in clean_inode()
H A Dlfs_cleanerd.c895 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 Dld_iop.c404 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 Dld_sdmmc.c508 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 Ddmu_tx.c593 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 Dnetbsd_syscall_hooks.h963 #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 Dnetbsd_syscall_hooks.h937 #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 Dnetbsd_syscall_hooks.h963 #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 Dld_ataraid.c581 int blkno, int blkcnt) in ld_ataraid_dump() argument

12