• Home
  • Raw
  • Download

Lines Matching refs:type

74 	enum quota_type type;  /* USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) */  member
98 enum quota_type type, qid_t qid) in make_kqid() argument
102 kqid.type = type; in make_kqid()
103 switch (type) { in make_kqid()
125 static inline struct kqid make_kqid_invalid(enum quota_type type) in make_kqid_invalid() argument
129 kqid.type = type; in make_kqid_invalid()
130 switch (type) { in make_kqid_invalid()
153 kqid.type = USRQUOTA; in make_kqid_uid()
165 kqid.type = GRPQUOTA; in make_kqid_gid()
177 kqid.type = PRJQUOTA; in make_kqid_projid()
247 extern void mark_info_dirty(struct super_block *sb, int type);
272 static inline void dqstats_inc(unsigned int type) in dqstats_inc() argument
274 percpu_counter_inc(&dqstats.counter[type]); in dqstats_inc()
277 static inline void dqstats_dec(unsigned int type) in dqstats_dec() argument
279 percpu_counter_dec(&dqstats.counter[type]); in dqstats_dec()
311 …int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format…
312 …int (*read_file_info)(struct super_block *sb, int type); /* Read main info about file - called on …
313 int (*write_file_info)(struct super_block *sb, int type); /* Write main info about file */
314 int (*free_file_info)(struct super_block *sb, int type); /* Called on quotaoff() */
490 static inline unsigned int dquot_state_flag(unsigned int flags, int type) in dquot_state_flag() argument
492 return flags << type; in dquot_state_flag()
495 static inline unsigned int dquot_generic_flag(unsigned int flags, int type) in dquot_generic_flag() argument
497 return (flags >> type) & DQUOT_STATE_FLAGS; in dquot_generic_flag()