/external/e2fsprogs/lib/support/ |
parse_qtype.c | 21 unsigned int qtype = *qtype_bits; local 44 qtype &= ~QUOTA_USR_BIT; 46 qtype |= QUOTA_USR_BIT; 49 qtype &= ~QUOTA_GRP_BIT; 51 qtype |= QUOTA_GRP_BIT; 54 qtype &= ~QUOTA_PRJ_BIT; 56 qtype |= QUOTA_PRJ_BIT; 69 *qtype_bits = qtype;
|
mkquota.c | 70 int quota_file_exists(ext2_filsys fs, enum quota_type qtype) 76 if (qtype >= MAXQUOTAS) 79 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name); 92 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, enum quota_type qtype) 96 inump = quota_sb_inump(fs->super, qtype); 99 qtype); 104 errcode_t quota_remove_inode(ext2_filsys fs, enum quota_type qtype) 115 qf_ino = *quota_sb_inump(fs->super, qtype); 133 quota_set_sb_inum(fs, 0, qtype); 164 enum quota_type qtype; local 288 enum quota_type qtype; local 321 enum quota_type qtype; local 378 enum quota_type qtype; local 405 enum quota_type qtype; local 430 enum quota_type qtype; local [all...] |
quotaio.c | 45 const char *quota_type2name(enum quota_type qtype) 47 if (qtype >= MAXQUOTAS) 49 return extensions[qtype]; 52 ext2_ino_t quota_type2inum(enum quota_type qtype, 55 switch (qtype) { 125 enum quota_type qtype; local 130 for (qtype = 0; qtype < MAXQUOTAS; qtype++) 131 if (ino == quota_type2inum(qtype, fs->super) [all...] |
quotaio.h | 196 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) 251 switch (qtype) { [all...] |
/external/e2fsprogs/e2fsck/ |
quota.c | 20 ext2_ino_t to_ino, enum quota_type qtype) 51 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name); 64 enum quota_type qtype; local 73 for (qtype = 0; qtype < MAXQUOTAS; qtype++) { 74 pctx.ino = *quota_sb_inump(sb, qtype); 75 quota_ino = quota_type2inum(qtype, fs->super); 78 move_quota_inode(fs, pctx.ino, quota_ino, qtype); 79 *quota_sb_inump(sb, qtype) = quota_ino [all...] |
/external/dnsmasq/src/ |
rfc1035.c | 532 int i, qtype, qclass, rdlen; local 540 GETSHORT(qtype, p); 545 if ((qclass == C_IN) && (qtype == T_A)) 586 int qtype, qclass, rdlen; local 600 GETSHORT(qtype, p); 605 if ((qclass == C_IN) && (qtype == T_SOA)) 644 int i, j, qtype, qclass, aqtype, aqclass, ardlen, res, searched_soa = 0; local 671 GETSHORT(qtype, p); 679 if (qtype == T_PTR) 749 if (qtype == T_A 869 int qtype, qclass; local 981 int i, qtype, qclass, rdlen; local 1135 int qtype, qclass; local [all...] |
/external/iputils/ninfod/ |
ninfod_core.c | 178 uint16_t qtype; member in struct:qtypeinfo 187 .qtype = NI_QTYPE_NOOP, 193 .qtype = NI_QTYPE_SUPTYPES, 200 .qtype = NI_QTYPE_DNSNAME, 206 .qtype = NI_QTYPE_NODEADDR, 212 .qtype = NI_QTYPE_IPV4ADDR, 231 static __inline__ struct qtypeinfo *qtypeinfo_lookup(int qtype) 233 if (qtype >= ARRAY_SIZE(qtypeinfo_table)) 235 if (qtypeinfo_table[qtype].name == NULL) 237 return &qtypeinfo_table[qtype]; 310 unsigned short qtype; local [all...] |
/external/ipsec-tools/src/racoon/ |
getcertsbyname.c | 70 getnewci(qtype, keytag, algorithm, flags, certlen, cert) 71 int qtype, keytag, algorithm, flags, certlen; 81 res->ci_type = qtype; 214 int qtype, qclass, keytag, algorithm; local 273 GETSHORT(qtype, cp); /* QTYPE */ 286 GETSHORT(qtype, cp); /* TYPE */ 292 if (qtype != T_CERT) { 299 GETSHORT(qtype, cp); /* type */ 314 qtype, keytag, algorithm, rdlength) [all...] |
/external/mdnsresponder/mDNSShared/ |
uds_daemon.h | 64 extern void external_start_browsing_for_service(mDNS *const m, const domainname *const type, DNS_TypeValues qtype); 65 extern void external_stop_browsing_for_service(mDNS *const m, const domainname *const type, DNS_TypeValues qtype);
|
dnsextd.h | 97 mDNSu16 qtype; member in struct:LLQEntry
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
res_update.c | 132 u_int16_t dlen, class, qclass, type, qtype;
local 145 qtype = T_SOA;
151 if (qtype == T_SOA) {
182 } else if (qtype == T_A) {
199 n = res_mkquery(QUERY, dname, qclass, qtype, NULL,
225 if (qtype == T_SOA) {
379 } else if (qtype == T_NS) {
414 } else if (qtype == T_A) {
479 qtype = T_NS;
487 qtype = T_A; [all...] |
gethostbydns.c | 198 gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype)
215 switch (qtype) {
247 if (qtype == T_A || qtype == T_AAAA) {
284 if (qtype == T_A && type == T_A)
296 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) {
330 if (qtype == T_PTR && type == T_CNAME) {
353 if (type != qtype) {
357 qname, p_class(C_IN), p_type(qtype),
[all...] |
getaddrinfo.c | 201 int qclass, qtype; /* class and type of query */
member in struct:res_target 1069 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
1096 switch (qtype) {
1124 if (qtype == T_A || qtype == T_AAAA || qtype == T_ANY) {
1159 if ((qtype == T_A || qtype == T_AAAA || qtype == T_ANY) &&
1178 if (qtype == T_ANY) { [all...] |
/external/mdnsresponder/mDNSPosix/ |
Identify.c | 209 mDNSlocal mStatus StartQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 217 q->qtype = qtype; 233 //mprintf("%##s %s ?\n", q->qname.c, DNSTypeName(qtype)); 237 mDNSlocal void DoOneQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 239 mStatus status = StartQuery(q, qname, qtype, target, callback); 249 mDNSlocal int DoQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 251 DoOneQuery(q, qname, qtype, target, callback); 254 mprintf("%##s %s Trying multicast\n", q->qname.c, DNSTypeName(q->qtype)); 255 DoOneQuery(q, qname, qtype, NULL, callback) [all...] |
/external/syslinux/gpxe/src/net/udp/ |
dns.c | 337 unsigned int qtype = dns->qinfo->qtype; local 391 dns->qinfo->qtype = htons ( DNS_TYPE_A ); 413 switch ( qtype ) { 420 dns->qinfo->qtype = htons ( DNS_TYPE_CNAME ); 429 if ( dns->qinfo->qtype == htons ( DNS_TYPE_A ) ) { 516 dns->qinfo->qtype = htons ( DNS_TYPE_A );
|
/external/e2fsprogs/lib/e2p/ |
ls.c | 219 static const char *quota_type2prefix(enum quota_type qtype) 221 return quota_prefix[qtype]; 229 enum quota_type qtype; local 453 for (qtype = 0; qtype < MAXQUOTAS; qtype++) { 454 if (*quota_sb_inump(sb, qtype) != 0) 456 quota_type2prefix(qtype), 457 *quota_sb_inump(sb, qtype));
|
/external/syslinux/core/fs/pxe/ |
dnsresolv.c | 35 uint16_t qtype; member in struct:dnsquery
|
/external/syslinux/gpxe/src/include/gpxe/ |
dns.h | 60 uint16_t qtype; member in struct:dns_query_info
|
/external/e2fsprogs/misc/ |
tune2fs.c | 989 enum quota_type qtype; local 1485 enum quota_type qtype; local [all...] |
/system/netd/tests/dns_responder/ |
dns_responder.cpp | 232 unsigned qtype; member in struct:test::DNSQuestion 249 qtype = ntohs(*reinterpret_cast<const uint16_t*>(cur)); 261 *reinterpret_cast<uint16_t*>(buffer_cur) = htons(qtype); 270 dnstype2str(qtype), dnsclass2str(qclass)); 758 ns_type(question.qtype))); 793 auto it = mappings_.find(QueryKey(question.qname.name, question.qtype)); 797 question.qname.name.c_str(), dnstype2str(question.qtype)); 801 dnstype2str(question.qtype), it->second.c_str()); 804 record.rtype = question.qtype; 807 if (question.qtype == ns_type::ns_t_a) [all...] |
/bionic/libc/dns/net/ |
getaddrinfo.c | 211 int qclass, qtype; /* class and type of query */ member in struct:res_target [all...] |
/external/mdnsresponder/mDNSCore/ |
uDNS.c | 179 LogMsg("PenalizeDNSServer: ERROR!! Null DNS server for %##s (%s) %d", q->qname.c, DNSTypeName(q->qtype), q->unansweredQueries); 184 &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSServer->domain.c, q, q->qname.c, DNSTypeName(q->qtype), 200 if (q->qtype == kDNSType_PTR) 206 LogInfo("PenalizeDNSServer: Penalizing question type %d", q->qtype); 236 q->qname.c, DNSTypeName(q->qtype), &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSServer->domain.c); 273 LogInfo("PenalizeDNSServer: Server for %p, %##s (%s) changed to NULL, Interval %d", q, q->qname.c, DNSTypeName(q->qtype), q->ThisQInterval); 325 info->domain.c, q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); 405 newinfo ? newinfo ->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); 709 ptr = putQuestion(msg, ptr, msg->data + AbsoluteMaxDNSMessageData, &question->qname, question->qtype, question->qclass); 753 if (q->tcp) { LogMsg("sendChallengeResponse: ERROR!!: question %##s (%s) tcp non-NULL", q->qname.c, DNSTypeName(q->qtype)); return; [all...] |
mDNS.c | 122 #define FollowCNAME(q, rr, AddRecord) (AddRecord && (q)->qtype != kDNSType_CNAME && \ 384 LogInfo("GenerateNegativeResponse: Generating negative response for question %##s (%s)", q->qname.c, DNSTypeName(q->qtype)); 386 MakeNegativeCacheRecord(m, &m->rec.r, &q->qname, q->qnamehash, q->qtype, q->qclass, 60, mDNSInterface_Any, mDNSNULL); 398 q, q->qname.c, DNSTypeName(q->qtype), q->CNAMEReferrals, selfref ? " (Self-Referential)" : "", RRDisplayString(m, rr)); 419 q, q->qname.c, DNSTypeName(q->qtype), q->CNAMEReferrals, RRDisplayString(m, rr)); 430 q, q->qname.c, DNSTypeName(q->qtype), RRDisplayString(m, rr)); 495 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); 528 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); [all...] |
/prebuilts/go/darwin-x86/src/net/ |
dnsclient_unix.go | 144 func exchange(ctx context.Context, server, name string, qtype uint16, timeout time.Duration) (*dnsMsg, error) { 151 {name, qtype, dnsClassINET}, 184 func tryOneName(ctx context.Context, cfg *dnsConfig, name string, qtype uint16) (string, []dnsRR, error) { 193 msg, err := exchange(ctx, server, name, qtype, cfg.timeout) 211 cname, rrs, err := answer(name, server, msg, qtype) 317 func lookup(ctx context.Context, name string, qtype uint16) (cname string, rrs []dnsRR, err error) { 331 cname, rrs, err = tryOneName(ctx, conf, fqdn, qtype) 503 for _, qtype := range qtypes { 504 go func(qtype uint16) { 505 cname, rrs, err := tryOneName(ctx, conf, fqdn, qtype) [all...] |
/prebuilts/go/linux-x86/src/net/ |
dnsclient_unix.go | 144 func exchange(ctx context.Context, server, name string, qtype uint16, timeout time.Duration) (*dnsMsg, error) { 151 {name, qtype, dnsClassINET}, 184 func tryOneName(ctx context.Context, cfg *dnsConfig, name string, qtype uint16) (string, []dnsRR, error) { 193 msg, err := exchange(ctx, server, name, qtype, cfg.timeout) 211 cname, rrs, err := answer(name, server, msg, qtype) 317 func lookup(ctx context.Context, name string, qtype uint16) (cname string, rrs []dnsRR, err error) { 331 cname, rrs, err = tryOneName(ctx, conf, fqdn, qtype) 503 for _, qtype := range qtypes { 504 go func(qtype uint16) { 505 cname, rrs, err := tryOneName(ctx, conf, fqdn, qtype) [all...] |