Searched refs:idx (Results 26 - 50 of 59) sorted by relevance

123

/darwin-on-arm/xnu/libkern/kxld/
H A Dkxld_dict.h70 u_int idx; member in struct:kxld_dict_iterator
H A Dkxld_reloc.h125 kxld_size_t offset, u_int *idx)
H A Dkxld_seg.c72 static KXLDSect * get_sect_by_index(const KXLDSeg *seg, u_int idx);
522 get_sect_by_index(const KXLDSeg *seg, u_int idx) argument
526 return *(KXLDSect **) kxld_array_get_item(&seg->sects, idx);
H A Dkxld_reloc.c492 kxld_size_t offset, u_int *idx)
508 *idx = i;
491 kxld_reloc_get_reloc_index_by_offset(const KXLDArray *relocs, kxld_size_t offset, u_int *idx) argument
/darwin-on-arm/xnu/bsd/net/
H A Dif_utun_crypto.h287 #define UTUN_CRYPTO_IDX_TO_DIR(idx) (idx + 1)
H A Droute.c632 rtm_scrub_ifscope(int type, int idx, struct sockaddr *hint, struct sockaddr *sa, argument
637 switch (idx) {
1159 uint16_t idx; local
1164 idx = atomic_add_16_ov(&rte->rtd_refrele_cnt, 1) % CTRACE_HIST_SIZE;
1166 ctrace_record(&rte->rtd_refrele[idx]);
1187 uint16_t idx; local
1192 idx = atomic_add_16_ov(&rte->rtd_refhold_cnt, 1) % CTRACE_HIST_SIZE;
1194 ctrace_record(&rte->rtd_refhold[idx]);
3135 uint32_t idx; local
3137 idx
3145 uint32_t idx; local
[all...]
H A Dif_utun_crypto_ipsec.c583 int idx; local
587 for (idx = 0; idx < UTUN_CRYPTO_DIR_TO_IDX(UTUN_CRYPTO_DIR_MAX); idx++) {
588 crypto_ctx = &pcb->utun_crypto_ctx[idx];
H A Dpf_table.c2153 int idx = -1, use_counter = 0; local
2170 idx = *pidx;
2171 if (counter != NULL && idx >= 0)
2173 if (idx < 0)
2174 idx = 0;
2177 ke = pfr_kentry_byidx(kt, idx, af);
2190 idx++;
2203 *pidx = idx;
2221 *pidx = idx;
2233 idx
2241 pfr_kentry_byidx(struct pfr_ktable *kt, int idx, int af) argument
[all...]
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_rtmptable.c938 static int idx=0; local
945 idx=0;
947 for (i=idx; i<ZT_maxentry; i++) {
952 idx = i+1;
972 static int idx=0; local
978 idx=0;
980 for (i=idx; i<RT_maxentry; i++) {
985 idx = i+1;
H A Dadsp_Packet.c392 byte idx; /* Index into state tables */ member in struct:__anon317
418 m->t = &tbl[sp->openState - O_STATE_LISTEN + m->idx];
590 m.idx = ((f->descriptor & ADSP_CONTROL_MASK) - 1) * 4;
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOCPU.cpp111 unsigned int idx;
113 for (idx = 0; idx < kNumQuiesceActions; idx++)
114 iocpu_add_platform_action(quiesce_queue, &quiesce_actions[idx]);
H A DIOUserClient.cpp893 for (unsigned int idx = 0;
894 (user = OSDynamicCast(OSDictionary, array->getObject(idx)));
895 idx++) {
917 for (unsigned int idx = 0;
918 (user = OSDynamicCast(OSDictionary, array->getObject(idx)));
919 idx++)
1262 unsigned int idx; local
1267 for (idx = 0; idx < kOSAsyncRef64Count; idx
1331 unsigned int idx; local
[all...]
H A DIOService.cpp2105 unsigned int idx; local
2189 for( idx = 0;
2190 (!doPhase3) && (client = (IOService *) gIOStopList->getObject(idx)); ) {
2192 provider = (IOService *) gIOStopProviderList->getObject(idx);
2222 idx++;
2238 gIOStopList->removeObject( idx );
2239 gIOStopProviderList->removeObject( idx );
2240 idx = 0;
4067 for( unsigned int idx = 0;
4068 (notify = (_IOServiceNotifier *) willSend->getObject(idx));
4364 uint32_t idx; local
5273 unsigned int idx; local
[all...]
H A DIODMACommand.cpp383 for (IOItemCount idx = 0; idx < numPages; idx++)
385 vm_page_set_offset(lastPage, atop_64(address) + idx);
393 for (IOItemCount idx = 0; idx < numPages; idx++)
/darwin-on-arm/xnu/libkern/c++/
H A DOSMetaClass.cpp837 unsigned int idx; local
849 idx = 0;
852 while (!done && (obj = set->getObject(idx++)))
858 nextIndex[level] = idx;
861 idx = 0;
872 idx = nextIndex[level];
/darwin-on-arm/xnu/bsd/netkey/
H A Dkey.c394 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, idx) \
396 bzero((idx), sizeof(struct secpolicyindex)); \
397 (idx)->dir = (_dir); \
398 (idx)->prefs = (ps); \
399 (idx)->prefd = (pd); \
400 (idx)->ul_proto = (ulp); \
401 bcopy((s), &(idx)->src, ((struct sockaddr *)(s))->sa_len); \
402 bcopy((d), &(idx)->dst, ((struct sockaddr *)(d))->sa_len); \
409 #define KEY_SETSECASIDX(p, m, r, s, d, idx) \
411 bzero((idx), sizeo
2000 int idx; local
[all...]
/darwin-on-arm/xnu/bsd/net/pktsched/
H A Dpktsched_fairq.c1230 int idx; local
1234 for (idx = fif->fif_maxpri; idx >= 0; idx--)
1235 if ((cl = fif->fif_classes[idx]) != NULL &&
H A Dpktsched_priq.c908 int idx; local
912 for (idx = pif->pif_maxpri; idx >= 0; idx--)
913 if ((cl = pif->pif_classes[idx]) != NULL &&
H A Dpktsched_tcq.c864 int idx; local
868 for (idx = tif->tif_maxpri; idx >= 0; idx--)
869 if ((cl = tif->tif_classes[idx]) != NULL &&
/darwin-on-arm/xnu/osfmk/kern/
H A Dthread.c1453 int idx; local
1460 if ((idx = ledger_entry_add(t, "cpu_time", "sched", "ns")) < 0) {
1464 if (ledger_set_callback(t, idx, thread_resource_exception,
1465 (void *)(uintptr_t)idx, NULL) < 0) {
1469 thread_ledgers.cpu_time = idx;
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_exec.c2922 int idx; local
2939 for (idx = 2; idx < len - 1; idx++) {
2943 str[idx] = '0' + digit;
2945 str[idx] = 'a' + (digit - 10);
2947 str[idx] = '\0';
/darwin-on-arm/xnu/osfmk/i386/
H A Dpmap_internal.h363 #define pvhash(idx) (&pv_hash_table[idx])
/darwin-on-arm/xnu/bsd/netinet/
H A Din.c2021 u_int32_t idx; local
2036 idx = atomic_add_16_ov(cnt, 1) % INIFA_TRACE_HIST_SIZE;
2037 ctrace_record(&tr[idx]);
/darwin-on-arm/xnu/bsd/netinet6/
H A Dah_core.c164 ah_algorithm_lookup(idx)
165 int idx;
205 switch (idx) {
H A Dnd6_rtr.c2684 uint32_t idx; local
2699 idx = atomic_add_16_ov(cnt, 1) % NDDR_TRACE_HIST_SIZE;
2700 ctrace_record(&tr[idx]);
2807 u_int32_t idx; local
2822 idx = atomic_add_16_ov(cnt, 1) % NDPR_TRACE_HIST_SIZE;
2823 ctrace_record(&tr[idx]);

Completed in 207 milliseconds

123