Lines Matching refs:gfs2_quota_data

111 	struct gfs2_quota_data *qd = container_of(rcu, struct gfs2_quota_data, qd_rcu);  in gfs2_qd_dealloc()
117 struct gfs2_quota_data *qd; in gfs2_qd_dispose()
121 qd = list_entry(list->next, struct gfs2_quota_data, qd_lru); in gfs2_qd_dispose()
152 struct gfs2_quota_data *qd = list_entry(item, struct gfs2_quota_data, qd_lru); in gfs2_qd_isolate()
197 static u64 qd2index(struct gfs2_quota_data *qd) in qd2index()
204 static u64 qd2offset(struct gfs2_quota_data *qd) in qd2offset()
214 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) in qd_alloc()
216 struct gfs2_quota_data *qd; in qd_alloc()
243 static struct gfs2_quota_data *gfs2_qd_search_bucket(unsigned int hash, in gfs2_qd_search_bucket()
247 struct gfs2_quota_data *qd; in gfs2_qd_search_bucket()
266 struct gfs2_quota_data **qdp) in qd_get()
268 struct gfs2_quota_data *qd, *new_qd; in qd_get()
303 static void qd_hold(struct gfs2_quota_data *qd) in qd_hold()
310 static void qd_put(struct gfs2_quota_data *qd) in qd_put()
321 static int slot_get(struct gfs2_quota_data *qd) in slot_get()
345 static void slot_hold(struct gfs2_quota_data *qd) in slot_hold()
355 static void slot_put(struct gfs2_quota_data *qd) in slot_put()
368 static int bh_get(struct gfs2_quota_data *qd) in bh_get()
415 static void bh_put(struct gfs2_quota_data *qd) in bh_put()
429 static int qd_check_sync(struct gfs2_sbd *sdp, struct gfs2_quota_data *qd, in qd_check_sync()
447 static int qd_fish(struct gfs2_sbd *sdp, struct gfs2_quota_data **qdp) in qd_fish()
449 struct gfs2_quota_data *qd = NULL; in qd_fish()
487 static void qd_unlock(struct gfs2_quota_data *qd) in qd_unlock()
498 struct gfs2_quota_data **qdp) in qdsb_get()
523 static void qdsb_put(struct gfs2_quota_data *qd) in qdsb_put()
533 struct gfs2_quota_data **qd; in gfs2_quota_hold()
605 const struct gfs2_quota_data *qd_a = *(const struct gfs2_quota_data **)a; in sort_qd()
606 const struct gfs2_quota_data *qd_b = *(const struct gfs2_quota_data **)b; in sort_qd()
615 static void do_qc(struct gfs2_quota_data *qd, s64 change) in do_qc()
778 s64 change, struct gfs2_quota_data *qd, in gfs2_adjust_quota()
832 static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda) in do_sync()
840 struct gfs2_quota_data *qd; in do_sync()
857 sort(qda, num_qd, sizeof(struct gfs2_quota_data *), sort_qd, NULL); in do_sync()
929 static int update_qd(struct gfs2_sbd *sdp, struct gfs2_quota_data *qd) in update_qd()
954 static int do_glock(struct gfs2_quota_data *qd, int force_refresh, in do_glock()
1005 struct gfs2_quota_data *qd; in gfs2_quota_lock()
1018 sizeof(struct gfs2_quota_data *), sort_qd, NULL); in gfs2_quota_lock()
1038 static int need_sync(struct gfs2_quota_data *qd) in need_sync()
1077 struct gfs2_quota_data *qda[4]; in gfs2_quota_unlock()
1086 struct gfs2_quota_data *qd; in gfs2_quota_unlock()
1126 static int print_message(struct gfs2_quota_data *qd, char *type) in print_message()
1159 struct gfs2_quota_data *qd; in gfs2_quota_check()
1218 struct gfs2_quota_data *qd; in gfs2_quota_change()
1239 struct gfs2_quota_data **qda; in gfs2_quota_sync()
1245 qda = kcalloc(max_qd, sizeof(struct gfs2_quota_data *), GFP_KERNEL); in gfs2_quota_sync()
1284 struct gfs2_quota_data *qd; in gfs2_quota_refresh()
1350 struct gfs2_quota_data *qd; in gfs2_quota_init()
1404 struct gfs2_quota_data *qd; in gfs2_quota_cleanup()
1408 qd = list_entry(head->prev, struct gfs2_quota_data, qd_list); in gfs2_quota_cleanup()
1577 struct gfs2_quota_data *qd; in gfs2_get_dqblk()
1616 struct gfs2_quota_data *qd; in gfs2_set_dqblk()