Searched refs:cl (Results 1 - 19 of 19) sorted by relevance

/darwin-on-arm/xnu/bsd/net/pktsched/
H A Dpktsched_rmclass.c244 struct rm_class *cl; local
290 cl = zalloc(rmc_zone);
291 if (cl == NULL)
294 bzero(cl, rmc_size);
295 CALLOUT_INIT(&cl->callout_);
300 cl->children_ = NULL;
301 cl->parent_ = parent;
302 cl->borrow_ = borrow;
303 cl->leaf_ = 1;
304 cl
439 rmc_modclass(struct rm_class *cl, u_int32_t nsecPerByte, int maxq, u_int32_t maxidle, int minidle, u_int32_t offtime, int pktsize) argument
491 struct rm_class *cl, *clh; local
545 rmc_depth_compute(struct rm_class *cl) argument
571 rmc_depth_recompute(rm_class_t *cl) argument
609 rmc_delete_class(struct rm_ifdat *ifd, struct rm_class *cl) argument
819 rmc_queue_packet(struct rm_class *cl, struct mbuf *m, struct pf_mtag *t) argument
908 rmc_satisfied(struct rm_class *cl, struct timeval *now) argument
941 rmc_under_limit(struct rm_class *cl, struct timeval *now) argument
1030 struct rm_class *cl = NULL, *first = NULL; local
1187 struct rm_class *cl, *first = NULL; local
1326 rm_class_t *cl, *borrowed; local
1490 rmc_drop_action(struct rm_class *cl) argument
1502 rmc_drop(struct rm_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
1551 rmc_dropall(struct rm_class *cl) argument
1569 rmc_delay_action(struct rm_class *cl, struct rm_class *borrow) argument
1643 rmc_restart(struct rm_class *cl) argument
1666 rmc_root_overlimit(struct rm_class *cl, struct rm_class *borrow) argument
1680 _rmc_addq(rm_class_t *cl, struct mbuf *m, struct pf_mtag *t) argument
1731 _rmc_dropq(rm_class_t *cl) argument
1740 _rmc_getq(rm_class_t *cl) argument
1764 _rmc_pollq(rm_class_t *cl) argument
1770 rmc_updateq(rm_class_t *cl, cqev_t ev) argument
[all...]
H A Dpktsched_hfsc.c170 #define HFSC_IS_A_PARENT_CLASS(cl) ((cl)->cl_children != NULL)
283 struct hfsc_class *cl; local
289 (cl = hif->hif_rootclass->cl_children) != NULL) {
294 for (; cl != NULL; cl = hfsc_nextclass(cl)) {
295 if (!HFSC_IS_A_PARENT_CLASS(cl)) {
296 (void) hfsc_class_destroy(hif, cl);
309 struct hfsc_class *cl; local
331 struct hfsc_class *cl; local
345 struct hfsc_class *cl = NULL, *parent; local
375 struct hfsc_class *cl, *p; local
646 struct hfsc_class *cl; local
657 hfsc_class_destroy(struct hfsc_if *hif, struct hfsc_class *cl) argument
739 hfsc_nextclass(struct hfsc_class *cl) argument
759 hfsc_enqueue(struct hfsc_if *hif, struct hfsc_class *cl, struct mbuf *m, struct pf_mtag *t) argument
826 struct hfsc_class *cl; local
923 hfsc_addq(struct hfsc_class *cl, struct mbuf *m, struct pf_mtag *t) argument
983 hfsc_getq(struct hfsc_class *cl) argument
1009 hfsc_pollq(struct hfsc_class *cl) argument
1017 hfsc_purgeq(struct hfsc_if *hif, struct hfsc_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
1101 hfsc_updateq_linkrate(struct hfsc_if *hif, struct hfsc_class *cl) argument
1142 hfsc_updateq(struct hfsc_if *hif, struct hfsc_class *cl, cqev_t ev) argument
1172 set_active(struct hfsc_class *cl, u_int32_t len) argument
1183 set_passive(struct hfsc_class *cl) argument
1195 init_ed(struct hfsc_class *cl, u_int32_t next_len) argument
1223 update_ed(struct hfsc_class *cl, u_int32_t next_len) argument
1232 update_d(struct hfsc_class *cl, u_int32_t next_len) argument
1238 init_vf(struct hfsc_class *cl, u_int32_t len) argument
1331 update_vf(struct hfsc_class *cl, u_int32_t len, u_int64_t cur_time) argument
1421 update_cfmin(struct hfsc_class *cl) argument
1452 ellist_insert(struct hfsc_class *cl) argument
1474 ellist_remove(struct hfsc_class *cl) argument
1482 ellist_update(struct hfsc_class *cl) argument
1522 struct hfsc_class *p, *cl = NULL; local
1540 actlist_insert(struct hfsc_class *cl) argument
1561 actlist_remove(struct hfsc_class *cl) argument
1567 actlist_update(struct hfsc_class *cl) argument
1604 actlist_firstfit(struct hfsc_class *cl, u_int64_t cur_time) argument
1726 sc2isc(struct hfsc_class *cl, struct service_curve *sc, struct internal_sc *isc, u_int64_t eff_rate) argument
1899 struct hfsc_class *cl; local
1991 struct hfsc_class *cl; local
[all...]
H A Dpktsched_fairq.c262 struct fairq_class *cl; local
269 if ((cl = fif->fif_classes[pri]) != NULL)
270 fairq_class_destroy(fif, cl);
279 struct fairq_class *cl; local
285 if ((cl = fif->fif_classes[pri]) != NULL && cl->cl_head)
286 fairq_purgeq(fif, cl, 0, NULL, NULL);
302 struct fairq_class *cl; local
308 if ((cl = fif->fif_classes[pri]) != NULL)
309 fairq_updateq(fif, cl, e
318 struct fairq_class *cl; local
351 struct fairq_class *cl; local
585 struct fairq_class *cl; local
596 fairq_class_destroy(struct fairq_if *fif, struct fairq_class *cl) argument
659 fairq_enqueue(struct fairq_if *fif, struct fairq_class *cl, struct mbuf *m, struct pf_mtag *t) argument
723 struct fairq_class *cl; local
808 fairq_addq(struct fairq_class *cl, struct mbuf *m, struct pf_mtag *t) argument
913 fairq_getq(struct fairq_class *cl, u_int64_t cur_time) argument
983 fairq_pollq(struct fairq_class *cl, u_int64_t cur_time, int *hit_limit) argument
1028 fairq_selectq(struct fairq_class *cl, int ispoll) argument
1084 fairq_purgeq(struct fairq_if *fif, struct fairq_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
1152 fairq_updateq(struct fairq_if *fif, struct fairq_class *cl, cqev_t ev) argument
1182 struct fairq_class *cl; local
1229 struct fairq_class *cl; local
[all...]
H A Dpktsched_priq.c202 struct priq_class *cl; local
209 if ((cl = pif->pif_classes[pri]) != NULL)
210 priq_class_destroy(pif, cl);
219 struct priq_class *cl; local
225 if ((cl = pif->pif_classes[pri]) != NULL && !qempty(&cl->cl_q))
226 priq_purgeq(pif, cl, 0, NULL, NULL);
254 priq_purgeq(pif, ifq->ifcq_disc_slots[i].cl,
263 priq_purgeq(pif, ifq->ifcq_disc_slots[i].cl,
274 struct priq_class *cl; local
288 struct priq_class *cl; local
316 struct priq_class *cl; local
491 struct priq_class *cl; local
502 priq_class_destroy(struct priq_if *pif, struct priq_class *cl) argument
561 priq_enqueue(struct priq_if *pif, struct priq_class *cl, struct mbuf *m, struct pf_mtag *t) argument
630 struct priq_class *cl; local
667 priq_addq(struct priq_class *cl, struct mbuf *m, struct pf_mtag *t) argument
740 priq_getq(struct priq_class *cl) argument
766 priq_pollq(struct priq_class *cl) argument
774 priq_purgeq(struct priq_if *pif, struct priq_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
838 priq_updateq(struct priq_if *pif, struct priq_class *cl, cqev_t ev) argument
868 struct priq_class *cl; local
907 struct priq_class *cl; local
1154 struct priq_class *cl; local
1207 priq_resumeq(struct priq_if *pif, struct priq_class *cl) argument
1239 priq_suspendq(struct priq_if *pif, struct priq_class *cl) argument
[all...]
H A Dpktsched_tcq.c174 struct tcq_class *cl; local
181 if ((cl = tif->tif_classes[pri]) != NULL)
182 tcq_class_destroy(tif, cl);
191 struct tcq_class *cl; local
197 if ((cl = tif->tif_classes[pri]) != NULL && !qempty(&cl->cl_q))
198 tcq_purgeq(tif, cl, 0, NULL, NULL);
226 tcq_purgeq(tif, ifq->ifcq_disc_slots[i].cl,
235 tcq_purgeq(tif, ifq->ifcq_disc_slots[i].cl,
246 struct tcq_class *cl; local
260 struct tcq_class *cl; local
288 struct tcq_class *cl; local
463 struct tcq_class *cl; local
474 tcq_class_destroy(struct tcq_if *tif, struct tcq_class *cl) argument
529 tcq_enqueue(struct tcq_if *tif, struct tcq_class *cl, struct mbuf *m, struct pf_mtag *t) argument
594 tcq_dequeue_cl(struct tcq_if *tif, struct tcq_class *cl, mbuf_svc_class_t sc, cqdq_op_t op) argument
628 tcq_addq(struct tcq_class *cl, struct mbuf *m, struct pf_mtag *t) argument
701 tcq_getq(struct tcq_class *cl) argument
727 tcq_pollq(struct tcq_class *cl) argument
735 tcq_purgeq(struct tcq_if *tif, struct tcq_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
794 tcq_updateq(struct tcq_if *tif, struct tcq_class *cl, cqev_t ev) argument
824 struct tcq_class *cl; local
863 struct tcq_class *cl; local
1095 struct tcq_class *cl; local
1148 tcq_resumeq(struct tcq_if *tif, struct tcq_class *cl) argument
1180 tcq_suspendq(struct tcq_if *tif, struct tcq_class *cl) argument
[all...]
H A Dpktsched_cbq.c199 struct rm_class *cl; local
298 cl = cbqp->ifnp.root_;
300 cl = rmc_newclass(priority, &cbqp->ifnp, ns_per_byte,
304 if (cl == NULL)
308 cl->stats_.handle = qid;
309 cl->stats_.depth = cl->depth_;
312 cbqp->cbq_class_tbl[i] = cl;
315 cbqp->ifnp.default_ = cl;
318 *clp = cl;
332 struct rm_class *cl; local
370 cbq_class_destroy(cbq_state_t *cbqp, struct rm_class *cl) argument
405 struct rm_class *cl; local
434 struct rm_class *cl; local
464 struct rm_class *cl; local
510 cbq_enqueue(cbq_state_t *cbqp, struct rm_class *cl, struct mbuf *m, struct pf_mtag *t) argument
618 struct rm_class *cl; local
639 struct rm_class *cl; local
[all...]
H A Dpktsched_qfq.c301 struct qfq_class *cl; local
308 if ((cl = qif->qif_class_tbl[i]) != NULL)
309 qfq_class_destroy(qif, cl);
318 struct qfq_class *cl; local
324 if ((cl = qif->qif_class_tbl[i]) != NULL)
325 qfq_purgeq(qif, cl, 0, NULL, NULL);
353 qfq_purgeq(qif, ifq->ifcq_disc_slots[i].cl,
362 qfq_purgeq(qif, ifq->ifcq_disc_slots[i].cl,
373 struct qfq_class *cl; local
379 if ((cl
387 struct qfq_class *cl; local
423 struct qfq_class *cl; local
648 struct qfq_class *cl; local
659 qfq_class_destroy(struct qfq_if *qif, struct qfq_class *cl) argument
806 qfq_slot_insert(struct qfq_if *qif, struct qfq_group *grp, struct qfq_class *cl, u_int64_t roundedS) argument
898 qfq_update_class(struct qfq_if *qif, struct qfq_group *grp, struct qfq_class *cl) argument
933 struct qfq_class *cl; local
1040 qfq_update_start(struct qfq_if *qif, struct qfq_class *cl) argument
1066 qfq_enqueue(struct qfq_if *qif, struct qfq_class *cl, struct mbuf *m, struct pf_mtag *t) argument
1177 qfq_slot_remove(struct qfq_if *qif, struct qfq_group *grp, struct qfq_class *cl) argument
1207 qfq_deactivate_class(struct qfq_if *qif, struct qfq_class *cl) argument
1301 qfq_addq(struct qfq_class *cl, struct mbuf *m, struct pf_mtag *t) argument
1374 qfq_getq(struct qfq_class *cl) argument
1400 qfq_pollq(struct qfq_class *cl) argument
1408 qfq_purgeq(struct qfq_if *qif, struct qfq_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
1475 qfq_updateq(struct qfq_if *qif, struct qfq_class *cl, cqev_t ev) argument
1506 struct qfq_class *cl; local
1547 struct qfq_class *cl; local
1609 qfq_calc_index(struct qfq_class *cl, u_int32_t inv_w, u_int32_t maxlen) argument
1914 struct qfq_class *cl; local
1967 qfq_resumeq(struct qfq_if *qif, struct qfq_class *cl) argument
1999 qfq_suspendq(struct qfq_if *qif, struct qfq_class *cl) argument
[all...]
H A Dpktsched_rmclass.h256 rm_class_t *active_[RM_MAXPRIO]; /* Active cl's in each pri */
257 int na_[RM_MAXPRIO]; /* # of active cl's in a pri */
258 int num_[RM_MAXPRIO]; /* # of cl's per pri */
289 #define RMC_IS_A_PARENT_CLASS(cl) ((cl)->children_ != NULL)
/darwin-on-arm/xnu/libkern/zlib/intel/
H A DinffastS.s124 sall %cl, %esi // 1 << state->lenbits
129 sall %cl, %eax // 1 << state->distbits
152 movl bits, %ecx // cl = bits
153 sall %cl, %edx // 1st *in << bits
156 movl %esi, %ecx // cl = bits+8
157 sall %cl, %eax // 2nd *in << (bits+8)
168 sall %cl, %eax // *((unsigned short *) in) << bits
183 movzbl %al, %ecx // a copy of op to cl
184 testb $16, %cl // if op&16
187 testb $64, %cl // eli
[all...]
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dmachine_routines_asm.s171 shlq %cl,%rax /* tscUnits << shift */
221 movzbl %cl, %ecx
225 mov %ah, %cl
226 ror %cl, %edx /* Right rotate EDX (TSC&0xFF ^ (TSC>>8 & 0xFF))&1F */
229 mov %cl, %al
H A Dstart.s249 movzbl %cl, %ecx
253 mov %ah, %cl
254 ror %cl, %edx /* Right rotate EDX (TSC&0xFF ^ (TSC>>8 & 0xFF))&1F */
257 mov %cl, %al
/darwin-on-arm/xnu/osfmk/i386/
H A Drtclock_asm_native.h108 shlq %cl,%rax ; \
H A DDiagnostics.c329 uint32_t cl = 0, ch = 0, mpl = 0, mph = 0, apl = 0, aph = 0; local
341 rdmsr_carefully(MSR_IA32_CORE_C3_RESIDENCY, &cl, &ch);
342 cdp->cpu_c3res = ((uint64_t)ch << 32) | cl;
344 rdmsr_carefully(MSR_IA32_CORE_C6_RESIDENCY, &cl, &ch);
345 cdp->cpu_c6res = ((uint64_t)ch << 32) | cl;
347 rdmsr_carefully(MSR_IA32_CORE_C7_RESIDENCY, &cl, &ch);
348 cdp->cpu_c7res = ((uint64_t)ch << 32) | cl;
H A Di386_lock.s409 lock; cmpxchg %cl,(HW_LOCK_REGISTER) /* attempt atomic compare exchange */
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_cluster.c2767 struct cl_extent cl; local
2880 cl.b_addr = (daddr64_t)(upl_f_offset / PAGE_SIZE_64);
3116 cl.e_addr = (daddr64_t)((upl_f_offset + (off_t)upl_size) / PAGE_SIZE_64);
3139 sparse_cluster_add(&(wbp->cl_scmap), vp, &cl, newEOF, callback, callback_arg);
3188 if (cl.b_addr >= wbp->cl_clusters[cl_index].b_addr) {
3192 if (cl.e_addr <= (wbp->cl_clusters[cl_index].b_addr + max_cluster_pgcount)) {
3197 if (cl.e_addr > wbp->cl_clusters[cl_index].e_addr)
3201 wbp->cl_clusters[cl_index].e_addr = cl.e_addr;
3204 if (cl.b_addr < (wbp->cl_clusters[cl_index].b_addr + max_cluster_pgcount)) {
3217 cl
5239 struct cl_extent cl; local
5334 cluster_push_now(vnode_t vp, struct cl_extent *cl, off_t EOF, int flags, int (*callback)(buf_t, void *), void *callback_arg) argument
5515 struct cl_extent cl; local
5542 struct cl_extent cl; local
5571 sparse_cluster_add(void **scmap, vnode_t vp, struct cl_extent *cl, off_t EOF, int (*callback)(buf_t, void *), void *callback_arg) argument
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Duipc_mbuf.c1195 (void) snprintf(m_cname(MC_CL), MAX_MBUF_CNAME, "cl");
2115 void *cl; local
2127 cl = m->m_ext.ext_buf;
2128 clsp = slab_get(cl);
2129 VERIFY(m->m_flags == M_EXT && cl != NULL);
2177 void *cl; local
2209 cl = ms->m_ext.ext_buf;
2210 clsp = slab_get(cl);
2214 (mcache_obj_t *)cl), cl,
2316 void *cl; local
2537 void *cl; local
3425 void *cl; local
3641 void *cl; local
3984 void *cl; local
[all...]
/darwin-on-arm/xnu/bsd/net/classq/
H A Dif_classq.h145 void *cl; member in struct:ifclassq::ifclassq_disc_slot
/darwin-on-arm/xnu/osfmk/profiling/i386/
H A Dprofile-asm.s710 movb $-1,%cl
711 xchgb %cl,V_recursive_alloc(%ebx)
712 cmpb $0,%cl
/darwin-on-arm/xnu/libkern/kxld/i386/
H A DWKdmCompress.s572 movb %cl, (next_qp) // *next_qp = word offset (4-bit)

Completed in 134 milliseconds