Home
last modified time | relevance | path

Searched refs:spdk_cpuset (Results 1 – 25 of 30) sorted by relevance

12

/spdk/include/spdk/
H A Dcpuset.h25 struct spdk_cpuset { struct
35 struct spdk_cpuset *spdk_cpuset_alloc(void); argument
42 void spdk_cpuset_free(struct spdk_cpuset *set);
52 bool spdk_cpuset_equal(const struct spdk_cpuset *set1, const struct spdk_cpuset *set2);
60 void spdk_cpuset_copy(struct spdk_cpuset *dst, const struct spdk_cpuset *src);
68 void spdk_cpuset_and(struct spdk_cpuset *dst, const struct spdk_cpuset *src);
76 void spdk_cpuset_or(struct spdk_cpuset *dst, const struct spdk_cpuset *src);
84 void spdk_cpuset_xor(struct spdk_cpuset *dst, const struct spdk_cpuset *src);
91 void spdk_cpuset_negate(struct spdk_cpuset *set);
98 void spdk_cpuset_zero(struct spdk_cpuset *set);
[all …]
H A Dvhost.h172 const struct spdk_cpuset *spdk_vhost_dev_get_cpumask(struct spdk_vhost_dev *vdev);
/spdk/lib/util/
H A Dcpuset.c9 struct spdk_cpuset *
12 return (struct spdk_cpuset *)calloc(1, sizeof(struct spdk_cpuset)); in spdk_cpuset_alloc()
16 spdk_cpuset_free(struct spdk_cpuset *set) in spdk_cpuset_free()
22 spdk_cpuset_equal(const struct spdk_cpuset *set1, const struct spdk_cpuset *set2) in spdk_cpuset_equal()
30 spdk_cpuset_copy(struct spdk_cpuset *dst, const struct spdk_cpuset *src) in spdk_cpuset_copy()
38 spdk_cpuset_negate(struct spdk_cpuset *set) in spdk_cpuset_negate()
48 spdk_cpuset_and(struct spdk_cpuset *dst, const struct spdk_cpuset *src) in spdk_cpuset_and()
59 spdk_cpuset_or(struct spdk_cpuset *dst, const struct spdk_cpuset *src) in spdk_cpuset_or()
70 spdk_cpuset_xor(struct spdk_cpuset *dst, const struct spdk_cpuset *src) in spdk_cpuset_xor()
81 spdk_cpuset_zero(struct spdk_cpuset *set) in spdk_cpuset_zero()
[all …]
/spdk/test/unit/lib/util/cpuset.c/
H A Dcpuset_ut.c14 cpuset_check_range(struct spdk_cpuset *core_mask, uint32_t min, uint32_t max, bool isset) in cpuset_check_range()
29 struct spdk_cpuset *set = spdk_cpuset_alloc(); in test_cpuset()
82 struct spdk_cpuset *core_mask; in test_cpuset_parse()
193 struct spdk_cpuset *core_mask = spdk_cpuset_alloc(); in test_cpuset_fmt()
253 struct spdk_cpuset cpuset = {}; in test_cpuset_foreach()
/spdk/lib/vhost/
H A Dvhost.c18 static struct spdk_cpuset g_vhost_core_mask;
59 vhost_parse_core_mask(const char *mask, struct spdk_cpuset *cpumask) in vhost_parse_core_mask()
62 struct spdk_cpuset negative_vhost_mask; in vhost_parse_core_mask()
120 struct spdk_cpuset cpumask = {}; in vhost_dev_register()
209 const struct spdk_cpuset * in spdk_vhost_dev_get_cpumask()
H A Dvhost_internal.h505 struct spdk_cpuset *cpumask,
508 struct spdk_cpuset *cpumask, const struct spdk_vhost_user_dev_backend *user_backend);
520 struct spdk_cpuset *cpumask, const struct spdk_json_val *params,
582 int (*create_ctrlr)(struct spdk_vhost_dev *vdev, struct spdk_cpuset *cpumask,
H A Dvhost_blk.c1605 struct spdk_cpuset *cpumask, const struct spdk_json_val *params, in session_stop_poll_group_done()
1772 vhost_user_blk_create_ctrlr(struct spdk_vhost_dev *vdev, struct spdk_cpuset *cpumask, in vhost_blk_write_config_json()
H A Drte_vhost_user.c1775 struct spdk_cpuset *cpumask, const struct spdk_vhost_user_dev_backend *user_backend)
1827 vhost_user_dev_create(struct spdk_vhost_dev *vdev, const char *name, struct spdk_cpuset *cpumask,
/spdk/module/event/subsystems/nvmf/
H A Devent_nvmf.h31 extern struct spdk_cpuset *g_poll_groups_mask;
H A Dnvmf_rpc.c118 nvmf_is_subset_of_env_core_mask(const struct spdk_cpuset *set) in nvmf_is_subset_of_env_core_mask()
H A Dnvmf_tgt.c61 struct spdk_cpuset *g_poll_groups_mask = NULL;
/spdk/lib/event/
H A Dapp_rpc.c172 struct spdk_cpuset tmp_mask = {}; in _rpc_thread_get_stats()
364 struct spdk_cpuset tmp_mask = {}; in _rpc_framework_get_reactors()
637 struct spdk_cpuset core_mask; in _rpc_thread_set_cpumask()
676 struct spdk_cpuset cpumask; in rpc_thread_set_cpumask()
722 const struct spdk_cpuset *coremask; in rpc_thread_set_cpumask()
723 struct spdk_cpuset tmp_mask; in rpc_thread_set_cpumask()
777 struct spdk_cpuset tmp_cpuset;
H A Dreactor.c37 static struct spdk_cpuset g_reactor_core_mask;
54 static struct spdk_cpuset g_scheduler_isolated_core_mask;
180 scheduler_set_isolated_core_mask(struct spdk_cpuset isolated_core_mask) in reactor_construct()
182 struct spdk_cpuset tmp_mask; in reactor_construct()
1074 spdk_app_parse_core_mask(const char *mask, struct spdk_cpuset *cpumask) in spdk_reactors_start()
1077 const struct spdk_cpuset *validmask; in spdk_reactors_start()
1090 const struct spdk_cpuset * in _reactors_stop()
1230 struct spdk_cpuset *cpumask; in _reactor_schedule_thread()
1234 struct spdk_cpuset polling_cpumask; in _reactor_schedule_thread()
1235 struct spdk_cpuset valid_cpumas in _reactor_schedule_thread()
[all...]
/spdk/test/unit/lib/event/reactor.c/
H A Dreactor_ut.c113 struct spdk_cpuset cpuset = {}; in test_schedule_thread()
165 struct spdk_cpuset cpuset = {}; in test_reschedule_thread()
339 struct spdk_cpuset cpuset = {}; in test_reactor_stats()
533 struct spdk_cpuset cpuset = {}; in test_scheduler()
728 struct spdk_cpuset cpuset = {}; in test_bind_thread()
929 struct spdk_cpuset cpuset = {}; in test_governor()
1099 struct spdk_cpuset isolated_core_mask = {}; in main()
/spdk/module/scheduler/gscheduler/
H A Dgscheduler.c75 struct spdk_cpuset smt_siblings = {}; in balance()
/spdk/lib/vfu_tgt/
H A Dtgt_endpoint.c23 static struct spdk_cpuset g_tgt_core_mask;
490 vfu_parse_core_mask(const char *mask, struct spdk_cpuset *cpumask) in vfu_parse_core_mask()
493 struct spdk_cpuset negative_vfu_mask; in vfu_parse_core_mask()
603 struct spdk_cpuset cpumask = {}; in spdk_vfu_create_endpoint()
/spdk/module/scheduler/dpdk_governor/
H A Ddpdk_governor.c159 struct spdk_cpuset smt_mask, app_mask;
/spdk/lib/ftl/
H A Dftl_init.c39 struct spdk_cpuset cpumask = {}; in init_core_thread()
/spdk/lib/trace/
H A Dtrace.c241 struct spdk_cpuset cpuset = {}; in spdk_trace_init()
/spdk/test/event/scheduler/
H A Dscheduler.c147 struct spdk_cpuset *cpu_set = NULL; in rpc_scheduler_thread_create()
/spdk/module/scheduler/dynamic/
H A Dscheduler_dynamic.c222 struct spdk_cpuset *cpumask; in _find_optimal_core()
/spdk/test/thread/lock/
H A Dspdk_lock.c367 struct spdk_cpuset *cpuset; in start_threads()
/spdk/module/bdev/rbd/
H A Dbdev_rbd.c1042 rbd_thread_set_cpumask(struct spdk_cpuset *set) in rbd_thread_set_cpumask()
1077 struct spdk_cpuset rbd_core_mask = {}; in rbd_register_cluster()
/spdk/lib/thread/
H A Dthread.c152 struct spdk_cpuset cpumask;
513 spdk_thread_create(const char *name, const struct spdk_cpuset *cpumask) in spdk_thread_create()
793 struct spdk_cpuset * in spdk_thread_set_cpumask()
800 spdk_thread_set_cpumask(struct spdk_cpuset *cpumask) in spdk_thread_set_cpumask()
/spdk/test/dma/test_dma/
H A Dtest_dma.c766 struct spdk_cpuset cpu_set; in dma_test_start()

12