Lines Matching refs:ip
21 extern int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid);
22 extern void gfs2_quota_unhold(struct gfs2_inode *ip);
24 extern int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid);
25 extern void gfs2_quota_unlock(struct gfs2_inode *ip);
27 extern int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid,
29 extern void gfs2_quota_change(struct gfs2_inode *ip, s64 change,
41 static inline int gfs2_quota_lock_check(struct gfs2_inode *ip, in gfs2_quota_lock_check() argument
44 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_lock_check()
48 ret = gfs2_quota_lock(ip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE); in gfs2_quota_lock_check()
53 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid, ap); in gfs2_quota_lock_check()
55 gfs2_quota_unlock(ip); in gfs2_quota_lock_check()