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()605 devBlockSize = vp->v_specsize; in spec_read()607 if (devBlockSize > PAGE_SIZE) { in spec_read()612 bsize = bscale * devBlockSize; in spec_read()669 int devBlockSize = 0; in spec_write() local689 devBlockSize = vp->v_specsize; in spec_write()709 if (devBlockSize == 0) { in spec_write()752 devBlockSize = vp->v_specsize; in spec_write()[all …]
3692 int devBlockSize; in sys_fcntl_nocancel() local3726 devBlockSize = vfs_devblocksize(vnode_mount(vp)); in sys_fcntl_nocancel()3736 a_size = devBlockSize; in sys_fcntl_nocancel()3759 l2p_struct.l2p_devoffset = bn * devBlockSize; in sys_fcntl_nocancel()