Home
last modified time | relevance | path

Searched refs:qtype (Results 1 – 21 of 21) sorted by relevance

/third_party/f2fs-tools/fsck/
Dmkquota.c66 errcode_t quota_write_inode(struct f2fs_sb_info *sbi, enum quota_type qtype) in quota_write_inode() argument
75 if ((!qctx) || (!sb->qf_ino[qtype])) in quota_write_inode()
84 dict = qctx->quota_dict[qtype]; in quota_write_inode()
86 retval = quota_file_create(sbi, h, qtype); in quota_write_inode()
119 static inline qid_t get_qid(struct f2fs_inode *inode, enum quota_type qtype) in get_qid() argument
121 switch (qtype) { in get_qid()
153 enum quota_type qtype; in quota_init_context() local
163 for (qtype = 0; qtype < MAXQUOTAS; qtype++) { in quota_init_context()
164 ctx->quota_file[qtype] = NULL; in quota_init_context()
165 if (!sb->qf_ino[qtype]) in quota_init_context()
[all …]
Dquotaio.c49 const char *quota_type2name(enum quota_type qtype) in quota_type2name() argument
51 if (qtype >= MAXQUOTAS) in quota_type2name()
53 return extensions[qtype]; in quota_type2name()
108 enum quota_type qtype, int flags) in quota_file_open() argument
117 if (qtype >= MAXQUOTAS) in quota_file_open()
120 qf_ino = sb->qf_ino[qtype]; in quota_file_open()
123 if (qctx->quota_file[qtype]) { in quota_file_open()
124 h = qctx->quota_file[qtype]; in quota_file_open()
141 h->qh_type = qtype; in quota_file_open()
147 (h->qh_ops->check_file(h, qtype) == 0)) { in quota_file_open()
[all …]
Dquotaio.h167 int (*init_io) (struct quota_handle *h, enum quota_type qtype);
202 enum quota_type qtype, int flags);
206 enum quota_type qtype);
214 const char *quota_type2name(enum quota_type qtype);
222 errcode_t quota_write_inode(struct f2fs_sb_info *sbi, enum quota_type qtype);
227 enum quota_type qtype, int *usage_inconsistent,
Dquotaio_v2.c23 static int v2_init_io(struct quota_handle *h, enum quota_type qtype);
173 static int v2_init_io(struct quota_handle *h, enum quota_type qtype) in v2_init_io() argument
179 u32 last_blkofs = qf_last_blkofs[qtype]; in v2_init_io()
194 if (qf_szchk_type[qtype] == QF_SZCHK_REGFILE && in v2_init_io()
196 last_blkofs + 1 || filesize > qf_maxsize[qtype])) { in v2_init_io()
Dnode.c43 int f2fs_rebuild_qf_inode(struct f2fs_sb_info *sbi, int qtype) in f2fs_rebuild_qf_inode() argument
50 nid_t ino = QUOTA_INO(sb, qtype); in f2fs_rebuild_qf_inode()
60 f2fs_init_qf_inode(sb, raw_node, qtype, time(NULL)); in f2fs_rebuild_qf_inode()
84 qtype, ino, blkaddr); in f2fs_rebuild_qf_inode()
Dfsck.c1967 enum quota_type qtype; in fsck_chk_quota_node() local
1972 for (qtype = 0; qtype < F2FS_MAX_QUOTAS; qtype++) { in fsck_chk_quota_node()
1973 cur_qtype = qtype; in fsck_chk_quota_node()
1974 if (sb->qf_ino[qtype] == 0) in fsck_chk_quota_node()
1976 nid_t ino = QUOTA_INO(sb, qtype); in fsck_chk_quota_node()
1979 DBG(1, "qtype [%d] ino [0x%x]\n", qtype, ino); in fsck_chk_quota_node()
1996 qtype, ino); in fsck_chk_quota_node()
1997 qf_szchk_type[qtype] = QF_SZCHK_ERR; in fsck_chk_quota_node()
1999 f2fs_rebuild_qf_inode(sbi, qtype); in fsck_chk_quota_node()
2010 enum quota_type qtype; in fsck_chk_quota_files() local
[all …]
Dfsck.h294 int f2fs_rebuild_qf_inode(struct f2fs_sb_info *sbi, int qtype);
/third_party/f2fs-tools/mkfs/
Df2fs_format.c226 enum quota_type qtype; in f2fs_prepare_super_block() local
526 for (qtype = 0; qtype < F2FS_MAX_QUOTAS; qtype++) { in f2fs_prepare_super_block()
527 if (!((1 << qtype) & c.quota_bits)) in f2fs_prepare_super_block()
529 sb->qf_ino[qtype] = cpu_to_le32(c.next_free_nid++); in f2fs_prepare_super_block()
531 qtype, c.next_free_nid - 1); in f2fs_prepare_super_block()
700 enum quota_type qtype; in f2fs_write_check_point_pack() local
873 for (qtype = 0, i = 1; qtype < F2FS_MAX_QUOTAS; qtype++) { in f2fs_write_check_point_pack()
874 if (!((1 << qtype) & c.quota_bits)) in f2fs_write_check_point_pack()
876 journal->nat_j.entries[i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
878 journal->nat_j.entries[i].ne.ino = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
[all …]
/third_party/gstreamer/gstplugins_good/ext/wavpack/
Dgstwavpackenc.c128 static GType qtype = 0; in gst_wavpack_enc_mode_get_type() local
130 if (qtype == 0) { in gst_wavpack_enc_mode_get_type()
144 qtype = g_enum_register_static ("GstWavpackEncMode", values); in gst_wavpack_enc_mode_get_type()
146 return qtype; in gst_wavpack_enc_mode_get_type()
160 static GType qtype = 0; in gst_wavpack_enc_correction_mode_get_type() local
162 if (qtype == 0) { in gst_wavpack_enc_correction_mode_get_type()
171 qtype = g_enum_register_static ("GstWavpackEncCorrectionMode", values); in gst_wavpack_enc_correction_mode_get_type()
173 return qtype; in gst_wavpack_enc_correction_mode_get_type()
187 static GType qtype = 0; in gst_wavpack_enc_joint_stereo_mode_get_type() local
189 if (qtype == 0) { in gst_wavpack_enc_joint_stereo_mode_get_type()
[all …]
/third_party/libwebsockets/lib/system/async-dns/
Dasync-dns.c46 lws_adns_get_query(lws_async_dns_t *dns, adns_query_type_t qtype, in lws_adns_get_query() argument
60 if (name && q->qtype == ((tid & 1) ? LWS_ADNS_RECORD_AAAA : in lws_adns_get_query()
649 adns_query_type_t qtype, lws_async_dns_cb_t cb, in lws_async_dns_query() argument
667 if (qtype == LWS_ADNS_RECORD_AAAA) { in lws_async_dns_query()
808 q = lws_adns_get_query(dns, qtype, &dns->waiting, 0, name); in lws_async_dns_query()
811 qtype, name); in lws_async_dns_query()
847 q->qtype = (uint16_t)qtype; in lws_async_dns_query()
Dprivate-lib-async-dns.h74 uint16_t qtype; member
128 lws_adns_get_query(lws_async_dns_t *dns, adns_query_type_t qtype,
/third_party/gstreamer/gstplugins_bad/ext/isac/
Dgstisacenc.c50 static GType qtype = 0; in gst_isacenc_output_frame_len_get_type() local
52 if (qtype == 0) { in gst_isacenc_output_frame_len_get_type()
59 qtype = g_enum_register_static ("GstIsacEncOutputFrameLen", values); in gst_isacenc_output_frame_len_get_type()
61 return qtype; in gst_isacenc_output_frame_len_get_type()
/third_party/gstreamer/gstplugins_good/ext/dv/
Dgstdvdec.c115 static GType qtype = 0; in gst_dvdec_quality_get_type() local
117 if (qtype == 0) { in gst_dvdec_quality_get_type()
128 qtype = g_enum_register_static ("GstDVDecQualityEnum", values); in gst_dvdec_quality_get_type()
130 return qtype; in gst_dvdec_quality_get_type()
/third_party/libwebsockets/include/libwebsockets/
Dlws-async-dns.h70 adns_query_type_t qtype, lws_async_dns_cb_t cb,
/third_party/icu/icu4c/source/tools/genren/
Dgenren.pl154 chop $qtype;
/third_party/skia/third_party/externals/icu/source/tools/genren/
Dgenren.pl154 chop $qtype;
/third_party/flutter/skia/third_party/externals/icu/source/tools/genren/
Dgenren.pl154 chop $qtype;
/third_party/gstreamer/gstplugins_good/ext/flac/
Dgstflacenc.c210 static GType qtype = 0; in gst_flac_enc_quality_get_type() local
212 if (qtype == 0) { in gst_flac_enc_quality_get_type()
227 qtype = g_enum_register_static ("GstFlacEncQuality", values); in gst_flac_enc_quality_get_type()
229 return qtype; in gst_flac_enc_quality_get_type()
/third_party/node/deps/cares/src/lib/
Dares_private.h373 int ares__parse_qtype_reply(const unsigned char* abuf, int alen, int* qtype);
/third_party/f2fs-tools/include/
Df2fs_fs.h1642 struct f2fs_node *raw_node, int qtype, time_t mtime) in f2fs_init_qf_inode() argument
1644 raw_node->footer.nid = sb->qf_ino[qtype]; in f2fs_init_qf_inode()
1645 raw_node->footer.ino = sb->qf_ino[qtype]; in f2fs_init_qf_inode()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c2910 enum pipe_query_type qtype = pool->base_type; in handle_begin_query() local
2912 qtype, 0); in handle_begin_query()
2942 enum pipe_query_type qtype = pool->base_type; in handle_begin_query_indexed_ext() local
2944 qtype, qcmd->index); in handle_begin_query_indexed_ext()