• Home
  • Raw
  • Download

Lines Matching refs:number

1131 void dquot_free_reserved_space(struct dquot *dquot, qsize_t number)  in dquot_free_reserved_space()  argument
1133 if (dquot->dq_dqb.dqb_rsvspace >= number) in dquot_free_reserved_space()
1134 dquot->dq_dqb.dqb_rsvspace -= number; in dquot_free_reserved_space()
1145 static void dquot_decr_inodes(struct dquot *dquot, qsize_t number) in dquot_decr_inodes() argument
1148 dquot->dq_dqb.dqb_curinodes >= number) in dquot_decr_inodes()
1149 dquot->dq_dqb.dqb_curinodes -= number; in dquot_decr_inodes()
1157 static void dquot_decr_space(struct dquot *dquot, qsize_t number) in dquot_decr_space() argument
1160 dquot->dq_dqb.dqb_curspace >= number) in dquot_decr_space()
1161 dquot->dq_dqb.dqb_curspace -= number; in dquot_decr_space()
1683 int __dquot_alloc_space(struct inode *inode, qsize_t number, int flags) in __dquot_alloc_space() argument
1694 *inode_reserved_space(inode) += number; in __dquot_alloc_space()
1697 inode_add_bytes(inode, number); in __dquot_alloc_space()
1713 ret = dquot_add_space(dquot, 0, number, flags, &warn[cnt]); in __dquot_alloc_space()
1715 ret = dquot_add_space(dquot, number, 0, flags, &warn[cnt]); in __dquot_alloc_space()
1725 dquot_free_reserved_space(dquot, number); in __dquot_alloc_space()
1727 dquot_decr_space(dquot, number); in __dquot_alloc_space()
1735 *inode_reserved_space(inode) += number; in __dquot_alloc_space()
1737 __inode_add_bytes(inode, number); in __dquot_alloc_space()
1801 int dquot_claim_space_nodirty(struct inode *inode, qsize_t number) in dquot_claim_space_nodirty() argument
1809 *inode_reserved_space(inode) -= number; in dquot_claim_space_nodirty()
1810 __inode_add_bytes(inode, number); in dquot_claim_space_nodirty()
1823 if (WARN_ON_ONCE(dquot->dq_dqb.dqb_rsvspace < number)) in dquot_claim_space_nodirty()
1824 number = dquot->dq_dqb.dqb_rsvspace; in dquot_claim_space_nodirty()
1825 dquot->dq_dqb.dqb_curspace += number; in dquot_claim_space_nodirty()
1826 dquot->dq_dqb.dqb_rsvspace -= number; in dquot_claim_space_nodirty()
1831 *inode_reserved_space(inode) -= number; in dquot_claim_space_nodirty()
1832 __inode_add_bytes(inode, number); in dquot_claim_space_nodirty()
1843 void dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number) in dquot_reclaim_space_nodirty() argument
1851 *inode_reserved_space(inode) += number; in dquot_reclaim_space_nodirty()
1852 __inode_sub_bytes(inode, number); in dquot_reclaim_space_nodirty()
1865 if (WARN_ON_ONCE(dquot->dq_dqb.dqb_curspace < number)) in dquot_reclaim_space_nodirty()
1866 number = dquot->dq_dqb.dqb_curspace; in dquot_reclaim_space_nodirty()
1867 dquot->dq_dqb.dqb_rsvspace += number; in dquot_reclaim_space_nodirty()
1868 dquot->dq_dqb.dqb_curspace -= number; in dquot_reclaim_space_nodirty()
1873 *inode_reserved_space(inode) += number; in dquot_reclaim_space_nodirty()
1874 __inode_sub_bytes(inode, number); in dquot_reclaim_space_nodirty()
1885 void __dquot_free_space(struct inode *inode, qsize_t number, int flags) in __dquot_free_space() argument
1896 *inode_reserved_space(inode) -= number; in __dquot_free_space()
1899 inode_sub_bytes(inode, number); in __dquot_free_space()
1915 wtype = info_bdq_free(dquot, number); in __dquot_free_space()
1919 dquot_free_reserved_space(dquot, number); in __dquot_free_space()
1921 dquot_decr_space(dquot, number); in __dquot_free_space()
1925 *inode_reserved_space(inode) -= number; in __dquot_free_space()
1927 __inode_sub_bytes(inode, number); in __dquot_free_space()