• Home
  • Raw
  • Download

Lines Matching refs:type

68 	enum quota_type type;  /* USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) */  member
92 enum quota_type type, qid_t qid) in make_kqid() argument
96 kqid.type = type; in make_kqid()
97 switch (type) { in make_kqid()
119 static inline struct kqid make_kqid_invalid(enum quota_type type) in make_kqid_invalid() argument
123 kqid.type = type; in make_kqid_invalid()
124 switch (type) { in make_kqid_invalid()
147 kqid.type = USRQUOTA; in make_kqid_uid()
159 kqid.type = GRPQUOTA; in make_kqid_gid()
171 kqid.type = PRJQUOTA; in make_kqid_projid()
229 extern void mark_info_dirty(struct super_block *sb, int type);
255 static inline void dqstats_inc(unsigned int type) in dqstats_inc() argument
257 percpu_counter_inc(&dqstats.counter[type]); in dqstats_inc()
260 static inline void dqstats_dec(unsigned int type) in dqstats_dec() argument
262 percpu_counter_dec(&dqstats.counter[type]); in dqstats_dec()
294 …int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format…
295 …int (*read_file_info)(struct super_block *sb, int type); /* Read main info about file - called on …
296 int (*write_file_info)(struct super_block *sb, int type); /* Write main info about file */
297 int (*free_file_info)(struct super_block *sb, int type); /* Called on quotaoff() */
411 static inline unsigned int dquot_state_flag(unsigned int flags, int type) in dquot_state_flag() argument
413 return flags << _DQUOT_STATE_FLAGS * type; in dquot_state_flag()
416 static inline unsigned int dquot_generic_flag(unsigned int flags, int type) in dquot_generic_flag() argument
418 return (flags >> _DQUOT_STATE_FLAGS * type) & DQUOT_STATE_FLAGS; in dquot_generic_flag()