Searched refs:devBlockSize (Results 1 – 4 of 4) sorted by relevance
139 #define btodb(bytes, devBlockSize) \ argument140 ((unsigned)(bytes) / devBlockSize)141 #define dbtob(db, devBlockSize) \ argument142 ((unsigned)(db) * devBlockSize)
115 #define btodb(bytes, devBlockSize) \ argument116 ((unsigned)(bytes) / devBlockSize)117 #define dbtob(db, devBlockSize) \ argument118 ((unsigned)(db) * devBlockSize)
526 int devBlockSize = 0; in spec_read() local552 devBlockSize = vp->v_specsize; in spec_read()565 if (devBlockSize == 0) { in spec_read()566 devBlockSize = 512; // default sector size in spec_read()569 if (uio_offset(uio) && devBlockSize) { in spec_read()570 blkno = ((uint64_t) uio_offset(uio) / ((uint64_t)devBlockSize)); in spec_read()605 devBlockSize = vp->v_specsize; in spec_read()607 if (devBlockSize > PAGE_SIZE) { in spec_read()611 bscale = PAGE_SIZE / devBlockSize; in spec_read()612 bsize = bscale * devBlockSize; in spec_read()[all …]
3707 int devBlockSize; in sys_fcntl_nocancel() local3741 devBlockSize = vfs_devblocksize(vnode_mount(vp)); in sys_fcntl_nocancel()3751 a_size = devBlockSize; in sys_fcntl_nocancel()3774 l2p_struct.l2p_devoffset = bn * devBlockSize; in sys_fcntl_nocancel()