/qemu/hw/nvme/ |
H A D | ns.c | 30 void nvme_ns_init_format(NvmeNamespace *ns) in nvme_ns_init_format() 60 static int nvme_ns_init(NvmeNamespace *ns, Error **errp) in nvme_ns_init() 268 static void nvme_ns_init_zoned(NvmeNamespace *ns) in nvme_ns_init_zoned() 358 static void nvme_zoned_ns_shutdown(NvmeNamespace *ns) in nvme_zoned_ns_shutdown() 651 int nvme_ns_setup(NvmeNamespace *ns, Error **errp) in nvme_ns_setup() 680 void nvme_ns_drain(NvmeNamespace *ns) in nvme_ns_drain() 685 void nvme_ns_shutdown(NvmeNamespace *ns) in nvme_ns_shutdown() 693 void nvme_ns_cleanup(NvmeNamespace *ns) in nvme_ns_cleanup() 708 NvmeNamespace *ns = NVME_NS(dev); in nvme_ns_unrealize() local 717 NvmeNamespace *ns = NVME_NS(dev); in nvme_ns_realize() local [all …]
|
H A D | dif.c | 19 uint16_t nvme_check_prinfo(NvmeNamespace *ns, uint8_t prinfo, uint64_t slba, in nvme_check_prinfo() 63 static void nvme_dif_pract_generate_dif_crc16(NvmeNamespace *ns, uint8_t *buf, in nvme_dif_pract_generate_dif_crc16() 153 static uint16_t nvme_dif_prchk_crc16(NvmeNamespace *ns, NvmeDifTuple *dif, in nvme_dif_prchk_crc16() 212 static uint16_t nvme_dif_prchk_crc64(NvmeNamespace *ns, NvmeDifTuple *dif, in nvme_dif_prchk_crc64() 279 static uint16_t nvme_dif_prchk(NvmeNamespace *ns, NvmeDifTuple *dif, in nvme_dif_prchk() 296 uint16_t nvme_dif_check(NvmeNamespace *ns, uint8_t *buf, size_t len, in nvme_dif_check() 407 NvmeNamespace *ns = req->ns; in nvme_dif_rw_cb() local 427 NvmeNamespace *ns = req->ns; in nvme_dif_rw_check_cb() local 487 NvmeNamespace *ns = req->ns; in nvme_dif_rw_mdata_in_cb() local 518 NvmeNamespace *ns = req->ns; in nvme_dif_rw_mdata_out_cb() local [all …]
|
H A D | ctrl.c | 3280 NvmeNamespace *ns; member 4404 NvmeNamespace *ns; in nvme_io_cmd() local 4720 NvmeNamespace *ns; in nvme_smart_info() local 5394 NvmeNamespace *ns; in nvme_identify_ns() local 5431 NvmeNamespace *ns; in nvme_identify_ctrl_list() local 5504 NvmeNamespace *ns; in nvme_identify_ns_csi() local 5540 NvmeNamespace *ns; in nvme_identify_nslist() local 5587 NvmeNamespace *ns; in nvme_identify_nslist_csi() local 5634 NvmeNamespace *ns; in nvme_identify_ns_descr_list() local 5901 NvmeNamespace *ns; in nvme_get_feature() local [all …]
|
H A D | dif.h | 173 static inline size_t nvme_pi_tuple_size(NvmeNamespace *ns) in nvme_pi_tuple_size()
|
H A D | nvme.h | 277 static inline uint32_t nvme_nsid(NvmeNamespace *ns) in nvme_nsid() 286 static inline size_t nvme_l2b(NvmeNamespace *ns, uint64_t lba) in nvme_l2b() 291 static inline size_t nvme_m2b(NvmeNamespace *ns, uint64_t lba) in nvme_m2b() 296 static inline int64_t nvme_moff(NvmeNamespace *ns, uint64_t lba) in nvme_moff() 301 static inline bool nvme_ns_ext(NvmeNamespace *ns) in nvme_ns_ext() 335 static inline uint8_t *nvme_get_zd_extension(NvmeNamespace *ns, in nvme_get_zd_extension() 341 static inline void nvme_aor_inc_open(NvmeNamespace *ns) in nvme_aor_inc_open() 350 static inline void nvme_aor_dec_open(NvmeNamespace *ns) in nvme_aor_dec_open() 359 static inline void nvme_aor_inc_active(NvmeNamespace *ns) in nvme_aor_inc_active() 368 static inline void nvme_aor_dec_active(NvmeNamespace *ns) in nvme_aor_dec_active() [all …]
|
H A D | subsys.c | 94 NvmeNamespace *ns = subsys->namespaces[nsid]; in nvme_subsys_register_ctrl() local
|
/qemu/hw/core/ |
H A D | nmi.c | 38 struct do_nmi_s *ns = opaque; in do_nmi() local 55 static void nmi_children(Object *o, struct do_nmi_s *ns) in nmi_children() 62 struct do_nmi_s ns = { in nmi_monitor_handle() local
|
/qemu/include/hw/ |
H A D | clock.h | 53 #define CLOCK_PERIOD_FROM_NS(ns) ((ns) * (CLOCK_PERIOD_1SEC / 1000000000llu)) argument 195 static inline bool clock_set_ns(Clock *clk, unsigned ns) in clock_set_ns() 233 static inline void clock_update_ns(Clock *clk, unsigned ns) in clock_update_ns() 313 static inline uint64_t clock_ns_to_ticks(const Clock *clk, uint64_t ns) in clock_ns_to_ticks()
|
/qemu/target/s390x/tcg/ |
H A D | s390-tod.h | 18 static inline uint64_t time2tod(uint64_t ns) in time2tod()
|
/qemu/hw/ppc/ |
H A D | spapr_rtc.c | 39 void spapr_rtc_read(SpaprRtcState *rtc, struct tm *tm, uint32_t *ns) in spapr_rtc_read() 75 uint32_t ns; in rtas_get_time_of_day() local
|
/qemu/tests/qtest/ |
H A D | rtas-test.c | 12 uint32_t ns; in run_test_rtas_get_time_of_day() local
|
/qemu/util/ |
H A D | qemu-coroutine-sleep.c | 64 QEMUClockType type, int64_t ns) in qemu_co_sleep_ns_wakeable()
|
H A D | fdmon-io_uring.c | 191 static void add_timeout_sqe(AioContext *ctx, int64_t ns) in add_timeout_sqe()
|
/qemu/tests/unit/ |
H A D | ptimer-test.c | 45 static void ptimer_test_set_qemu_time_ns(int64_t ns) in ptimer_test_set_qemu_time_ns() 50 static void qemu_clock_step(uint64_t ns) in qemu_clock_step()
|
/qemu/hw/net/ |
H A D | e1000x_common.c | 318 int64_t ns = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in e1000x_timestamp() local 330 int64_t ns = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in e1000x_set_timinca() local
|
/qemu/hw/misc/macio/ |
H A D | macio.c | 265 NewWorldMacIOState *ns = NEWWORLD_MACIO(d); in macio_newworld_realize() local 352 NewWorldMacIOState *ns = NEWWORLD_MACIO(obj); in macio_newworld_init() local
|
/qemu/tests/qtest/libqos/ |
H A D | rtas.c | 52 struct tm *tm, uint32_t *ns) in qrtas_get_time_of_day()
|
/qemu/hw/timer/ |
H A D | npcm7xx_timer.c | 139 static uint32_t npcm7xx_timer_ns_to_count(NPCM7xxTimer *t, int64_t ns) in npcm7xx_timer_ns_to_count() 168 int64_t ns = clock_ticks_to_ns(t->ctrl->clock, ticks); in npcm7xx_watchdog_timer_reset_cycles() local
|
H A D | nrf51_timer.c | 28 static uint32_t ns_to_ticks(NRF51TimerState *s, int64_t ns) in ns_to_ticks()
|
H A D | cadence_ttc.c | 86 static uint64_t cadence_timer_get_steps(CadenceTimerState *s, uint64_t ns) in cadence_timer_get_steps()
|
/qemu/include/qemu/ |
H A D | coroutine.h | 240 static inline void coroutine_fn qemu_co_sleep_ns(QEMUClockType type, int64_t ns) in qemu_co_sleep_ns()
|
/qemu/include/hw/misc/ |
H A D | iotkit-secctl.h | 84 uint32_t ns; member
|
/qemu/tests/bench/ |
H A D | qtree-bench.c | 208 int64_t ns = get_clock() - start_ns; in run_benchmark() local
|
/qemu/hw/adc/ |
H A D | npcm7xx_adc.c | 78 int64_t ns; in npcm7xx_adc_start_timer() local
|
/qemu/system/ |
H A D | qtest.c | 749 int64_t ns; in qtest_process_command() local 778 int64_t ns; in qtest_process_command() local
|