Home
last modified time | relevance | path

Searched refs:new_cc (Results 1 – 5 of 5) sorted by relevance

/freebsd/usr.sbin/nvmfd/
H A Dcontroller.c29 update_cc(struct controller *c, uint32_t new_cc) in update_cc() argument
35 if (!nvmf_validate_cc(c->qp, c->cap, c->cc, new_cc)) in update_cc()
38 changes = c->cc ^ new_cc; in update_cc()
39 c->cc = new_cc; in update_cc()
43 NVMEV(NVME_CC_REG_SHN, new_cc) != 0) { in update_cc()
50 if (NVMEV(NVME_CC_REG_EN, new_cc) == 0) { in update_cc()
/freebsd/sys/kern/
H A Dkern_timeout.c343 struct callout_cpu *new_cc; in callout_cpu_switch() local
356 new_cc = CC_CPU(new_cpu); in callout_cpu_switch()
357 CC_LOCK(new_cc); in callout_cpu_switch()
360 return (new_cc); in callout_cpu_switch()
639 struct callout_cpu *new_cc; in softclock_call_cc() local
801 new_cc = callout_cpu_switch(c, cc, new_cpu); in softclock_call_cc()
803 callout_cc_add(c, new_cc, new_time, new_prec, new_func, in softclock_call_cc()
805 CC_UNLOCK(new_cc); in softclock_call_cc()
/freebsd/sys/dev/nvmf/controller/
H A Dnvmft_controller.c804 update_cc(struct nvmft_controller *ctrlr, uint32_t new_cc, bool *need_shutdown) in update_cc() argument
819 if (!_nvmf_validate_cc(np->max_io_qsize, np->cap, ctrlr->cc, new_cc)) { in update_cc()
824 changes = ctrlr->cc ^ new_cc; in update_cc()
825 ctrlr->cc = new_cc; in update_cc()
829 NVMEV(NVME_CC_REG_SHN, new_cc) != 0) { in update_cc()
839 if (NVMEV(NVME_CC_REG_EN, new_cc) == 0) { in update_cc()
/freebsd/lib/libnvmf/
H A Dnvmf_controller.c370 uint32_t new_cc) in nvmf_validate_cc() argument
375 new_cc)); in nvmf_validate_cc()
H A Dlibnvmf.h240 uint32_t new_cc);