Home
last modified time | relevance | path

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

12

/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.c47 const char *quota_type2name(enum quota_type qtype) in quota_type2name() argument
49 if (qtype >= MAXQUOTAS) in quota_type2name()
51 return extensions[qtype]; in quota_type2name()
106 enum quota_type qtype, int flags) in quota_file_open() argument
115 if (qtype >= MAXQUOTAS) in quota_file_open()
118 qf_ino = sb->qf_ino[qtype]; in quota_file_open()
121 if (qctx->quota_file[qtype]) { in quota_file_open()
122 h = qctx->quota_file[qtype]; in quota_file_open()
139 h->qh_type = qtype; in quota_file_open()
145 (h->qh_ops->check_file(h, qtype) == 0)) { in quota_file_open()
[all …]
Dquotaio.h168 int (*init_io) (struct quota_handle *h, enum quota_type qtype);
205 enum quota_type qtype, int flags);
209 enum quota_type qtype);
217 const char *quota_type2name(enum quota_type qtype);
225 errcode_t quota_write_inode(struct f2fs_sb_info *sbi, enum quota_type qtype);
230 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()
Dfsck.c1807 enum quota_type qtype; in fsck_chk_quota_node() local
1811 for (qtype = 0; qtype < F2FS_MAX_QUOTAS; qtype++) { in fsck_chk_quota_node()
1812 cur_qtype = qtype; in fsck_chk_quota_node()
1813 if (sb->qf_ino[qtype] == 0) in fsck_chk_quota_node()
1815 nid_t ino = QUOTA_INO(sb, qtype); in fsck_chk_quota_node()
1818 DBG(1, "qtype [%d] ino [0x%x]\n", qtype, ino); in fsck_chk_quota_node()
1832 qtype, ino); in fsck_chk_quota_node()
1833 qf_szchk_type[qtype] = QF_SZCHK_ERR; in fsck_chk_quota_node()
1844 enum quota_type qtype; in fsck_chk_quota_files() local
1853 for (qtype = 0; qtype < F2FS_MAX_QUOTAS; qtype++) { in fsck_chk_quota_files()
[all …]
/third_party/e2fsprogs/lib/support/
Dmkquota.c72 int quota_file_exists(ext2_filsys fs, enum quota_type qtype) in quota_file_exists() argument
78 if (qtype >= MAXQUOTAS) in quota_file_exists()
81 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name); in quota_file_exists()
94 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, enum quota_type qtype) in quota_set_sb_inum() argument
98 inump = quota_sb_inump(fs->super, qtype); in quota_set_sb_inum()
101 qtype); in quota_set_sb_inum()
106 errcode_t quota_remove_inode(ext2_filsys fs, enum quota_type qtype) in quota_remove_inode() argument
117 qf_ino = *quota_sb_inump(fs->super, qtype); in quota_remove_inode()
135 quota_set_sb_inum(fs, 0, qtype); in quota_remove_inode()
166 enum quota_type qtype; in quota_write_inode() local
[all …]
Dquotaio.c45 const char *quota_type2name(enum quota_type qtype) in quota_type2name() argument
47 if (qtype >= MAXQUOTAS) in quota_type2name()
49 return extensions[qtype]; in quota_type2name()
52 ext2_ino_t quota_type2inum(enum quota_type qtype, in quota_type2inum() argument
55 switch (qtype) { in quota_type2inum()
112 enum quota_type qtype; in quota_inode_truncate() local
117 for (qtype = 0; qtype < MAXQUOTAS; qtype++) in quota_inode_truncate()
118 if (ino == quota_type2inum(qtype, fs->super)) in quota_inode_truncate()
121 if (qtype != MAXQUOTAS) { in quota_inode_truncate()
189 ext2_ino_t qf_ino, enum quota_type qtype, in quota_file_open() argument
[all …]
Dparse_qtype.c21 unsigned int qtype = *qtype_bits; in parse_quota_types() local
44 qtype &= ~QUOTA_USR_BIT; in parse_quota_types()
46 qtype |= QUOTA_USR_BIT; in parse_quota_types()
49 qtype &= ~QUOTA_GRP_BIT; in parse_quota_types()
51 qtype |= QUOTA_GRP_BIT; in parse_quota_types()
54 qtype &= ~QUOTA_PRJ_BIT; in parse_quota_types()
56 qtype |= QUOTA_PRJ_BIT; in parse_quota_types()
71 *qtype_bits = qtype; in parse_quota_types()
Dquotaio.h196 enum quota_type qtype, int fmt);
206 const char *quota_type2name(enum quota_type qtype);
207 ext2_ino_t quota_type2inum(enum quota_type qtype, struct ext2_super_block *);
226 errcode_t quota_write_inode(quota_ctx_t qctx, enum quota_type qtype);
231 errcode_t quota_remove_inode(ext2_filsys fs, enum quota_type qtype);
232 int quota_file_exists(ext2_filsys fs, enum quota_type qtype);
233 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, enum quota_type qtype);
234 errcode_t quota_compare_and_update(quota_ctx_t qctx, enum quota_type qtype,
249 enum quota_type qtype) in quota_sb_inump() argument
251 switch (qtype) { in quota_sb_inump()
/third_party/e2fsprogs/e2fsck/
Dquota.c20 ext2_ino_t to_ino, enum quota_type qtype) in move_quota_inode() argument
55 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name); in move_quota_inode()
74 enum quota_type qtype; in e2fsck_hide_quota() local
83 for (qtype = 0; qtype < MAXQUOTAS; qtype++) { in e2fsck_hide_quota()
85 pctx.ino = *quota_sb_inump(sb, qtype); in e2fsck_hide_quota()
86 pctx.num = qtype; in e2fsck_hide_quota()
87 quota_ino = quota_type2inum(qtype, fs->super); in e2fsck_hide_quota()
90 if (move_quota_inode(fs, pctx.ino, quota_ino, qtype)) in e2fsck_hide_quota()
92 *quota_sb_inump(sb, qtype) = quota_ino; in e2fsck_hide_quota()
105 enum quota_type qtype; in e2fsck_validate_quota_inodes() local
[all …]
Dsuper.c269 enum quota_type qtype; in e2fsck_read_all_quotas() local
279 for (qtype = 0 ; qtype < MAXQUOTAS; qtype++) { in e2fsck_read_all_quotas()
280 qf_ino = *quota_sb_inump(ctx->fs->super, qtype); in e2fsck_read_all_quotas()
284 retval = quota_update_limits(ctx->qctx, qf_ino, qtype); in e2fsck_read_all_quotas()
297 enum quota_type qtype; in e2fsck_write_all_quotas() local
303 for (qtype = 0 ; qtype < MAXQUOTAS; qtype++) { in e2fsck_write_all_quotas()
304 pctx.num = qtype; in e2fsck_write_all_quotas()
305 pctx.errcode = quota_write_inode(ctx->qctx, 1 << qtype); in e2fsck_write_all_quotas()
Dunix.c1391 enum quota_type qtype; in main() local
1944 for (qtype = 0; qtype < MAXQUOTAS; qtype++) { in main()
1945 if (*quota_sb_inump(sb, qtype) == 0) in main()
1948 pctx.num = qtype; in main()
1949 retval = quota_compare_and_update(ctx->qctx, qtype, in main()
1954 1 << qtype); in main()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c211 enum quota_type qtype; in f2fs_prepare_super_block() local
482 for (qtype = 0; qtype < F2FS_MAX_QUOTAS; qtype++) { in f2fs_prepare_super_block()
483 if (!((1 << qtype) & quotatype_bits)) in f2fs_prepare_super_block()
485 sb->qf_ino[qtype] = cpu_to_le32(c.next_free_nid++); in f2fs_prepare_super_block()
487 qtype, c.next_free_nid - 1); in f2fs_prepare_super_block()
636 enum quota_type qtype; in f2fs_write_check_point_pack() local
803 for (qtype = 0, i = 1; qtype < F2FS_MAX_QUOTAS; qtype++) { in f2fs_write_check_point_pack()
804 if (sb->qf_ino[qtype] == 0) in f2fs_write_check_point_pack()
806 journal->nat_j.entries[i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
808 journal->nat_j.entries[i].ne.ino = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
[all …]
/third_party/e2fsprogs/lib/e2p/
Dls.c219 static const char *quota_type2prefix(enum quota_type qtype) in quota_type2prefix() argument
221 return quota_prefix[qtype]; in quota_type2prefix()
229 enum quota_type qtype; in list_super2() local
448 for (qtype = 0; qtype < MAXQUOTAS; qtype++) { in list_super2()
449 if (*quota_sb_inump(sb, qtype) != 0) in list_super2()
451 quota_type2prefix(qtype), in list_super2()
452 *quota_sb_inump(sb, qtype)); in list_super2()
/third_party/e2fsprogs/misc/
Dtune2fs.c1050 enum quota_type qtype; in update_feature_set() local
1373 for (qtype = 0; qtype < MAXQUOTAS; qtype++) { in update_feature_set()
1374 if (qtype != PRJQUOTA) in update_feature_set()
1375 quota_enable[qtype] = QOPT_ENABLE; in update_feature_set()
1377 quota_enable[qtype] = QOPT_DISABLE; in update_feature_set()
1411 for (qtype = 0; qtype < MAXQUOTAS; qtype++) in update_feature_set()
1412 quota_enable[qtype] = QOPT_DISABLE; in update_feature_set()
1574 enum quota_type qtype; in handle_quota_options() local
1578 for (qtype = 0 ; qtype < MAXQUOTAS; qtype++) in handle_quota_options()
1579 if (quota_enable[qtype] != 0) in handle_quota_options()
[all …]
/third_party/gstreamer/gstplugins_good/ext/wavpack/
Dgstwavpackenc.c127 static GType qtype = 0; in gst_wavpack_enc_mode_get_type() local
129 if (qtype == 0) { in gst_wavpack_enc_mode_get_type()
143 qtype = g_enum_register_static ("GstWavpackEncMode", values); in gst_wavpack_enc_mode_get_type()
145 return qtype; in gst_wavpack_enc_mode_get_type()
159 static GType qtype = 0; in gst_wavpack_enc_correction_mode_get_type() local
161 if (qtype == 0) { in gst_wavpack_enc_correction_mode_get_type()
170 qtype = g_enum_register_static ("GstWavpackEncCorrectionMode", values); in gst_wavpack_enc_correction_mode_get_type()
172 return qtype; in gst_wavpack_enc_correction_mode_get_type()
186 static GType qtype = 0; in gst_wavpack_enc_joint_stereo_mode_get_type() local
188 if (qtype == 0) { in gst_wavpack_enc_joint_stereo_mode_get_type()
[all …]
/third_party/libwebsockets/lib/system/async-dns/
Dasync-dns.c43 lws_adns_get_query(lws_async_dns_t *dns, adns_query_type_t qtype, in lws_adns_get_query() argument
53 if (name && q->qtype == ((tid & 1) ? LWS_ADNS_RECORD_AAAA : in lws_adns_get_query()
526 adns_query_type_t qtype, lws_async_dns_cb_t cb, in lws_async_dns_query() argument
541 if (qtype == LWS_ADNS_RECORD_AAAA) { in lws_async_dns_query()
665 q = lws_adns_get_query(dns, qtype, &dns->waiting, 0, name); in lws_async_dns_query()
668 qtype, name); in lws_async_dns_query()
704 q->qtype = (uint16_t)qtype; in lws_async_dns_query()
Dprivate-lib-async-dns.h70 uint16_t qtype; member
117 lws_adns_get_query(lws_async_dns_t *dns, adns_query_type_t qtype,
/third_party/uboot/u-boot-2020.01/net/
Ddns.c45 enum dns_query_type qtype = DNS_A_RECORD; in dns_send() local
83 *p++ = (unsigned char) qtype; /* Query Type */ in dns_send()
/third_party/libwebsockets/include/libwebsockets/
Dlws-async-dns.h69 adns_query_type_t qtype, lws_async_dns_cb_t cb,
/third_party/gstreamer/gstplugins_good/ext/dv/
Dgstdvdec.c114 static GType qtype = 0; in gst_dvdec_quality_get_type() local
116 if (qtype == 0) { in gst_dvdec_quality_get_type()
127 qtype = g_enum_register_static ("GstDVDecQualityEnum", values); in gst_dvdec_quality_get_type()
129 return qtype; in gst_dvdec_quality_get_type()
/third_party/flutter/skia/third_party/externals/icu/source/tools/genren/
Dgenren.pl154 chop $qtype;
/third_party/skia/third_party/externals/icu/source/tools/genren/
Dgenren.pl154 chop $qtype;
/third_party/icu/icu4c/source/tools/genren/
Dgenren.pl154 chop $qtype;
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc149 const char* qtype; member
628 bool is_balancer, const char* qtype) { in create_hostbyname_request_locked() argument
632 parent_request, host, port, is_balancer, qtype); in create_hostbyname_request_locked()
638 hr->qtype = qtype; in create_hostbyname_request_locked()
658 hr->qtype, hr->host); in on_hostbyname_done_locked()
713 hr->qtype, hr->host, hr->is_balancer, ares_strerror(status)); in on_hostbyname_done_locked()

12