Searched refs:devBlockSize (Results 1 – 4 of 4) sorted by relevance
115 #define btodb(bytes, devBlockSize) \ argument116 ((unsigned)(bytes) / devBlockSize)117 #define dbtob(db, devBlockSize) \ argument118 ((unsigned)(db) * devBlockSize)
139 #define btodb(bytes, devBlockSize) \ argument140 ((unsigned)(bytes) / devBlockSize)141 #define dbtob(db, devBlockSize) \ argument142 ((unsigned)(db) * devBlockSize)
476 int devBlockSize = 0; in spec_read() local502 devBlockSize = vp->v_specsize; in spec_read()515 if (devBlockSize == 0) { in spec_read()516 devBlockSize = 512; // default sector size in spec_read()519 if (uio_offset(uio) && devBlockSize) { in spec_read()520 blkno = ((uint64_t) uio_offset(uio) / ((uint64_t)devBlockSize)); in spec_read()555 devBlockSize = vp->v_specsize; in spec_read()557 if (devBlockSize > PAGE_SIZE) { in spec_read()561 bscale = PAGE_SIZE / devBlockSize; in spec_read()562 bsize = bscale * devBlockSize; in spec_read()[all …]
3618 int devBlockSize; in sys_fcntl_nocancel() local3652 devBlockSize = vfs_devblocksize(vnode_mount(vp)); in sys_fcntl_nocancel()3662 a_size = devBlockSize; in sys_fcntl_nocancel()3685 l2p_struct.l2p_devoffset = bn * devBlockSize; in sys_fcntl_nocancel()