/spdk/include/spdk/ |
H A D | cpuset.h | 25 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 D | vhost.h | 172 const struct spdk_cpuset *spdk_vhost_dev_get_cpumask(struct spdk_vhost_dev *vdev);
|
/spdk/lib/util/ |
H A D | cpuset.c | 9 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 D | cpuset_ut.c | 14 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 D | vhost.c | 18 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 D | vhost_internal.h | 505 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 D | vhost_blk.c | 1605 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 D | rte_vhost_user.c | 1775 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 D | event_nvmf.h | 31 extern struct spdk_cpuset *g_poll_groups_mask;
|
H A D | nvmf_rpc.c | 118 nvmf_is_subset_of_env_core_mask(const struct spdk_cpuset *set) in nvmf_is_subset_of_env_core_mask()
|
H A D | nvmf_tgt.c | 61 struct spdk_cpuset *g_poll_groups_mask = NULL;
|
/spdk/lib/event/ |
H A D | app_rpc.c | 172 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 D | reactor.c | 37 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 D | reactor_ut.c | 113 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 D | gscheduler.c | 75 struct spdk_cpuset smt_siblings = {}; in balance()
|
/spdk/lib/vfu_tgt/ |
H A D | tgt_endpoint.c | 23 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 D | dpdk_governor.c | 159 struct spdk_cpuset smt_mask, app_mask;
|
/spdk/lib/ftl/ |
H A D | ftl_init.c | 39 struct spdk_cpuset cpumask = {}; in init_core_thread()
|
/spdk/lib/trace/ |
H A D | trace.c | 241 struct spdk_cpuset cpuset = {}; in spdk_trace_init()
|
/spdk/test/event/scheduler/ |
H A D | scheduler.c | 147 struct spdk_cpuset *cpu_set = NULL; in rpc_scheduler_thread_create()
|
/spdk/module/scheduler/dynamic/ |
H A D | scheduler_dynamic.c | 222 struct spdk_cpuset *cpumask; in _find_optimal_core()
|
/spdk/test/thread/lock/ |
H A D | spdk_lock.c | 367 struct spdk_cpuset *cpuset; in start_threads()
|
/spdk/module/bdev/rbd/ |
H A D | bdev_rbd.c | 1042 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 D | thread.c | 152 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 D | test_dma.c | 766 struct spdk_cpuset cpu_set; in dma_test_start()
|