Lines Matching refs:ip
524 #define ITIMES_NOLOCK(ip) ufs_itimes_nolock(ip) argument
526 #define ITIMES(ip) { \ argument
527 mutex_enter(&(ip)->i_tlock); \
528 ITIMES_NOLOCK(ip); \
529 mutex_exit(&(ip)->i_tlock); \
544 #define UFS_GET_ISIZE(resultp, ip) *(resultp) = (ip)->i_size argument
545 #define UFS_SET_ISIZE(value, ip) (ip)->i_size = (value) argument
549 #define UFS_GET_ISIZE(resultp, ip) \ argument
551 rw_enter(&(ip)->i_contents, RW_READER); \
552 *(resultp) = (ip)->i_size; \
553 rw_exit(&(ip)->i_contents); \
555 #define UFS_SET_ISIZE(value, ip) \ argument
557 ASSERT(RW_WRITE_HELD(&(ip)->i_contents)); \
558 (ip)->i_size = (value); \
567 #define BMAPALLOC(ip, off, size, cr) \ argument
568 bmap_write((ip), (u_offset_t)(off), (size), BI_NORMAL, NULL, cr)
679 #define IQHASH(ip) (((ip)->i_number >> INOCGSHIFT) & ufs_iqhashmask) argument
810 #define ISFALLOCBLK(ip, bn) \ argument
811 (((bn) < 0) && ((bn) % ip->i_fs->fs_frag == 0) && \
812 ((ip)->i_cflags & IFALLOCATE && (bn) != UFS_HOLE))