Lines Matching refs:space
1130 static int check_bdq(struct dquot *dquot, qsize_t space, int prealloc, char *warntype) in check_bdq() argument
1138 dquot->dq_dqb.dqb_curspace + space > dquot->dq_dqb.dqb_bhardlimit && in check_bdq()
1146 dquot->dq_dqb.dqb_curspace + space > dquot->dq_dqb.dqb_bsoftlimit && in check_bdq()
1155 dquot->dq_dqb.dqb_curspace + space > dquot->dq_dqb.dqb_bsoftlimit && in check_bdq()
1187 static int info_bdq_free(struct dquot *dquot, qsize_t space) in info_bdq_free() argument
1193 if (dquot->dq_dqb.dqb_curspace - space <= dquot->dq_dqb.dqb_bsoftlimit) in info_bdq_free()
1196 dquot->dq_dqb.dqb_curspace - space < dquot->dq_dqb.dqb_bhardlimit) in info_bdq_free()
1484 qsize_t space; in dquot_transfer() local
1523 space = inode_get_bytes(inode); in dquot_transfer()
1530 NO_QUOTA || check_bdq(transfer_to[cnt], space, 0, in dquot_transfer()
1550 info_bdq_free(transfer_from[cnt], space); in dquot_transfer()
1552 dquot_decr_space(transfer_from[cnt], space); in dquot_transfer()
1556 dquot_incr_space(transfer_to[cnt], space); in dquot_transfer()
2047 static inline qsize_t stoqb(qsize_t space) in stoqb() argument
2049 return (space + QIF_DQBLKSIZE - 1) >> QIF_DQBLKSIZE_BITS; in stoqb()