Searched refs:qtype (Results 1 - 25 of 32) sorted by relevance

12

/external/e2fsprogs/lib/support/
H A Dparse_qtype.c21 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;
H A Dmkquota.c70 int quota_file_exists(ext2_filsys fs, enum quota_type qtype) argument
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) argument
96 inump = quota_sb_inump(fs->super, qtype);
99 qtype);
104 errcode_t quota_remove_inode(ext2_filsys fs, enum quota_type qtype) argument
115 qf_ino = *quota_sb_inump(fs->super, qtype);
133 quota_set_sb_inum(fs, 0, qtype);
164 enum quota_type qtype; local
249 get_qid(struct ext2_inode_large *inode, enum quota_type qtype) argument
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
581 quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino, enum quota_type qtype) argument
621 quota_compare_and_update(quota_ctx_t qctx, enum quota_type qtype, int *usage_inconsistent) argument
[all...]
H A Dquotaio.c45 const char *quota_type2name(enum quota_type qtype) argument
47 if (qtype >= MAXQUOTAS)
49 return extensions[qtype];
52 ext2_ino_t quota_type2inum(enum quota_type qtype, argument
55 switch (qtype) {
125 enum quota_type qtype; local
130 for (qtype = 0; qtype < MAXQUOTAS; qtype++)
131 if (ino == quota_type2inum(qtype, f
213 quota_file_open(quota_ctx_t qctx, struct quota_handle *h, ext2_ino_t qf_ino, enum quota_type qtype, int fmt, int flags) argument
329 quota_file_create(struct quota_handle *h, ext2_filsys fs, enum quota_type qtype, int fmt) argument
[all...]
H A 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)
251 switch (qtype) {
248 quota_sb_inump(struct ext2_super_block *sb, enum quota_type qtype) argument
[all...]
/external/e2fsprogs/e2fsck/
H A Dquota.c20 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)
19 move_quota_inode(ext2_filsys fs, ext2_ino_t from_ino, ext2_ino_t to_ino, enum quota_type qtype) argument
[all...]
H A Dunix.c1342 enum quota_type qtype; local
1789 for (qtype = 0; qtype < MAXQUOTAS; qtype++) {
1790 if (*quota_sb_inump(sb, qtype) != 0)
1791 qtype_bits |= 1 << qtype;
1844 for (qtype = 0; qtype < MAXQUOTAS; qtype++) {
1845 if (((1 << qtype)
[all...]
/external/dnsmasq/src/
H A Drfc1035.c532 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
869 int qtype, qclass; local
981 int i, qtype, qclass, rdlen; local
1135 int qtype, qclass; local
[all...]
H A Dforward.c114 unsigned short qtype, char *qdomain, int *type, char **domain)
136 if (sflag & qtype)
167 if (sflag & qtype)
183 if (flags == 0 && !(qtype & F_BIGNAME) &&
196 logflags = F_NEG | qtype;
738 unsigned short qtype, gotname; local
758 if ((gotname = extract_request(header, (unsigned int)size, daemon->namebuff, &qtype)))
767 querystr(types, qtype);
113 search_servers(time_t now, struct all_addr **addrpp, unsigned short qtype, char *qdomain, int *type, char **domain) argument
/external/iputils/ninfod/
H A Dninfod_core.c178 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) argument
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/
H A Dgetcertsbyname.c70 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);
318 cur->ci_next = getnewci(qtype, keyta
[all...]
/external/mdnsresponder/mDNSShared/
H A Duds_daemon.h64 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);
H A Ddnsextd.h97 mDNSu16 qtype; member in struct:LLQEntry
H A Duds_daemon.c1768 req->sd, question->qname.c, DNSTypeName(question->qtype), AddRecord ? "Add" : "Rmv",
2326 request->u.resolve.qsrv.qtype = kDNSType_SRV;
2345 request->u.resolve.qtxt.qtype = kDNSType_TXT;
2415 LogMsg("AppendNewSearchDomain: question %##s (%s) SearchListIndex is -1", question->qname.c, DNSTypeName(question->qtype));
2421 LogMsg("AppendNewSearchDomain: question %##s (%s) AppendSearchDoamins is 0", question->qname.c, DNSTypeName(question->qtype));
2447 LogMsg("AppendNewSearchDomain: ERROR!! exceeding max domain length for %##s (%s) SearchDomain %##s length %d, Question name length %d", question->qnameOrig->c, DNSTypeName(question->qtype), sd->c, DomainNameLength(question->qnameOrig), DomainNameLength(sd));
2455 LogInfo("AppnedNewSearchDomain: No more search domains for question with name %##s (%s), not trying anymore", question->qname.c, DNSTypeName(question->qtype));
2463 if (err) { LogMsg("AppendNewSearchDomain: ERROR!! %##s %s mDNS_StopQuery: %d, while retrying with search domains", question->qname.c, DNSTypeName(question->qtype), (int)err); }
2474 LogInfo("AppnedNewSearchDomain: No more search domains for question with name %##s (%s), trying one last time", question->qname.c, DNSTypeName(question->qtype));
2495 #define VALID_MSAD_SRV(Q) ((Q)->qtype
[all...]
H A Ddnsextd.c655 exception = ( ( question.qtype == kDNSType_SOA ) || ( question.qtype == kDNSType_NS ) || ( ( question.qtype == kDNSType_SRV ) && IsPublicSRV( self, &question ) ) );
1904 end = putQuestion(&response.msg, end, end + AbsoluteMaxDNSMessageData, &e->qname, e->qtype, kDNSClass_IN);
1971 addr, state, e->qname.c, e->qtype, e->lease, LLQLease(e), e->AnswerList);
2062 while (a && (a->type != e->qtype ||!SameDomainName(&a->name, &e->qname))) a = a->next;
2068 a->type = e->qtype;
2083 mDNSlocal LLQEntry *NewLLQ(DaemonInfo *d, struct sockaddr_in cli, domainname *qname, mDNSu16 qtype, mDNSu32 lease ) argument
2094 VLog("Allocating LLQ entry for client %s question %##s type %d", addr, qname->c, qtype);
2099 e->qtype
2284 LookupLLQ(DaemonInfo *d, struct sockaddr_in cli, domainname *qname, mDNSu16 qtype, const mDNSOpaque64 *const id) argument
[all...]
/external/mdnsresponder/mDNSPosix/
H A DIdentify.c209 mDNSlocal mStatus StartQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) argument
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) argument
239 mStatus status = StartQuery(q, qname, qtype, target, callback);
249 mDNSlocal int DoQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) argument
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, NUL
[all...]
H A DNetMonitor.c638 recordstat(entry, &q.qname, OP_probe, q.qtype);
648 mprintf("%#-16a %-5s %-5s %##s\n", srcaddr, ptype, DNSTypeName(q.qtype), q.qname.c);
649 if (msg->h.id.NotAnInteger != 0xFFFF) recordstat(entry, &q.qname, OP_query, q.qtype);
706 mprintf("%#-16a (?) **** ERROR: SHOULD NOT HAVE Q IN mDNS RESPONSE **** %-5s %##s\n", srcaddr, DNSTypeName(q.qtype), q.qname.c);
708 mprintf("%#-16a (Q) %-5s %##s\n", srcaddr, DNSTypeName(q.qtype), q.qname.c);
/external/syslinux/gpxe/src/net/udp/
H A Ddns.c337 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/
H A Dls.c219 static const char *quota_type2prefix(enum quota_type qtype) argument
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/gpxe/src/include/gpxe/
H A Ddns.h60 uint16_t qtype; member in struct:dns_query_info
/external/e2fsprogs/misc/
H A Dtune2fs.c989 enum quota_type qtype; local
1300 for (qtype = 0; qtype < MAXQUOTAS; qtype++) {
1301 if (qtype != PRJQUOTA)
1302 quota_enable[qtype] = QOPT_ENABLE;
1304 quota_enable[qtype] = QOPT_DISABLE;
1330 for (qtype = 0; qtype < MAXQUOTAS; qtype
1485 enum quota_type qtype; local
[all...]
/external/syslinux/core/fs/pxe/
H A Ddnsresolv.c35 uint16_t qtype; member in struct:dnsquery
/external/mdnsresponder/mDNSCore/
H A DuDNS.c179 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)); retur
1567 GetZoneData_StartQuery(mDNS *const m, ZoneData *zd, mDNSu16 qtype) argument
[all...]
H A DmDNS.c122 #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));
2570 mDNSu8 *newptr = putQuestion(query, *queryptr, limit - *answerforecast, &q->qname, q->qtype, (mDNSu16)(q->qclass | ucbit));
2573 debugf("BuildQuestion: No more space in this packet for question %##s (%s)", q->qname.c, DNSTypeName(q->qtype));
8042 ShouldSuppressQuery(mDNS *const m, domainname *qname, mDNSu16 qtype, mDNSInterfaceID InterfaceID) argument
[all...]
/external/syslinux/core/legacynet/
H A Ddnsresolv.c33 uint16_t qtype; member in struct:dnsquery
273 query->qtype = htons(TYPE_A);
/external/icu/icu4c/source/tools/genren/
H A Dgenren.pl151 chop $qtype;

Completed in 1219 milliseconds

12