Lines Matching refs:gfs2_quota_data

108 	struct gfs2_quota_data *qd = container_of(rcu, struct gfs2_quota_data, qd_rcu);  in gfs2_qd_dealloc()
114 struct gfs2_quota_data *qd; in gfs2_qd_dispose()
118 qd = list_first_entry(list, struct gfs2_quota_data, qd_lru); in gfs2_qd_dispose()
149 struct gfs2_quota_data *qd = list_entry(item, struct gfs2_quota_data, qd_lru); in gfs2_qd_isolate()
194 static u64 qd2index(struct gfs2_quota_data *qd) in qd2index()
201 static u64 qd2offset(struct gfs2_quota_data *qd) in qd2offset()
211 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) in qd_alloc()
213 struct gfs2_quota_data *qd; in qd_alloc()
240 static struct gfs2_quota_data *gfs2_qd_search_bucket(unsigned int hash, in gfs2_qd_search_bucket()
244 struct gfs2_quota_data *qd; in gfs2_qd_search_bucket()
263 struct gfs2_quota_data **qdp) in qd_get()
265 struct gfs2_quota_data *qd, *new_qd; in qd_get()
300 static void qd_hold(struct gfs2_quota_data *qd) in qd_hold()
307 static void qd_put(struct gfs2_quota_data *qd) in qd_put()
318 static int slot_get(struct gfs2_quota_data *qd) in slot_get()
342 static void slot_hold(struct gfs2_quota_data *qd) in slot_hold()
352 static void slot_put(struct gfs2_quota_data *qd) in slot_put()
365 static int bh_get(struct gfs2_quota_data *qd) in bh_get()
412 static void bh_put(struct gfs2_quota_data *qd) in bh_put()
426 static int qd_check_sync(struct gfs2_sbd *sdp, struct gfs2_quota_data *qd, in qd_check_sync()
444 static int qd_fish(struct gfs2_sbd *sdp, struct gfs2_quota_data **qdp) in qd_fish()
446 struct gfs2_quota_data *qd = NULL; in qd_fish()
484 static void qd_unlock(struct gfs2_quota_data *qd) in qd_unlock()
495 struct gfs2_quota_data **qdp) in qdsb_get()
520 static void qdsb_put(struct gfs2_quota_data *qd) in qdsb_put()
567 struct gfs2_quota_data **qd; in gfs2_quota_hold()
642 const struct gfs2_quota_data *qd_a = *(const struct gfs2_quota_data **)a; in sort_qd()
643 const struct gfs2_quota_data *qd_b = *(const struct gfs2_quota_data **)b; in sort_qd()
652 static void do_qc(struct gfs2_quota_data *qd, s64 change) in do_qc()
818 s64 change, struct gfs2_quota_data *qd, in gfs2_adjust_quota()
872 static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda) in do_sync()
880 struct gfs2_quota_data *qd; in do_sync()
899 sort(qda, num_qd, sizeof(struct gfs2_quota_data *), sort_qd, NULL); in do_sync()
974 static int update_qd(struct gfs2_sbd *sdp, struct gfs2_quota_data *qd) in update_qd()
999 static int do_glock(struct gfs2_quota_data *qd, int force_refresh, in do_glock()
1050 struct gfs2_quota_data *qd; in gfs2_quota_lock()
1062 sizeof(struct gfs2_quota_data *), sort_qd, NULL); in gfs2_quota_lock()
1082 static int need_sync(struct gfs2_quota_data *qd) in need_sync()
1121 struct gfs2_quota_data *qda[4]; in gfs2_quota_unlock()
1130 struct gfs2_quota_data *qd; in gfs2_quota_unlock()
1169 static int print_message(struct gfs2_quota_data *qd, char *type) in print_message()
1202 struct gfs2_quota_data *qd; in gfs2_quota_check()
1258 struct gfs2_quota_data *qd; in gfs2_quota_change()
1284 struct gfs2_quota_data **qda; in gfs2_quota_sync()
1290 qda = kcalloc(max_qd, sizeof(struct gfs2_quota_data *), GFP_KERNEL); in gfs2_quota_sync()
1329 struct gfs2_quota_data *qd; in gfs2_quota_refresh()
1395 struct gfs2_quota_data *qd; in gfs2_quota_init()
1449 struct gfs2_quota_data *qd; in gfs2_quota_cleanup()
1453 qd = list_last_entry(head, struct gfs2_quota_data, qd_list); in gfs2_quota_cleanup()
1628 struct gfs2_quota_data *qd; in gfs2_get_dqblk()
1667 struct gfs2_quota_data *qd; in gfs2_set_dqblk()