Home
last modified time | relevance | path

Searched refs:cfs_cpt_table (Results 1 – 19 of 19) sorted by relevance

/drivers/staging/lustre/lnet/libcfs/
Dlibcfs_cpu.c36 struct cfs_cpt_table *cfs_cpt_table __read_mostly;
37 EXPORT_SYMBOL(cfs_cpt_table);
43 struct cfs_cpt_table *
46 struct cfs_cpt_table *cptab; in cfs_cpt_table_alloc()
65 cfs_cpt_table_free(struct cfs_cpt_table *cptab) in cfs_cpt_table_free()
75 cfs_cpt_table_print(struct cfs_cpt_table *cptab, char *buf, int len) in cfs_cpt_table_print()
90 cfs_cpt_number(struct cfs_cpt_table *cptab) in cfs_cpt_number()
97 cfs_cpt_weight(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_weight()
104 cfs_cpt_online(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_online()
111 cfs_cpt_nodemask(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_nodemask()
[all …]
Dlibcfs_mem.c36 struct cfs_cpt_table *va_cptab; /* cpu partition table */
73 cfs_percpt_alloc(struct cfs_cpt_table *cptab, unsigned int size) in cfs_percpt_alloc()
Dmodule.c302 LASSERT(cfs_cpt_table); in __proc_cpt_table()
309 rc = cfs_cpt_table_print(cfs_cpt_table, buf, len); in __proc_cpt_table()
566 rc = min(cfs_cpt_weight(cfs_cpt_table, CFS_CPT_ANY), 4); in libcfs_init()
567 rc = cfs_wi_sched_create("cfs_rh", cfs_cpt_table, CFS_CPT_ANY, in libcfs_init()
Dlibcfs_lock.c52 cfs_percpt_lock_create(struct cfs_cpt_table *cptab, in cfs_percpt_lock_create()
Dworkitem.c62 struct cfs_cpt_table *ws_cptab;
335 cfs_wi_sched_create(char *name, struct cfs_cpt_table *cptab, in cfs_wi_sched_create()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_cpu.h81 cpumask_t *cfs_cpt_cpumask(struct cfs_cpt_table *cptab, int cpt);
85 int cfs_cpt_table_print(struct cfs_cpt_table *cptab, char *buf, int len);
87 struct cfs_cpt_table { struct
99 cfs_cpt_cpumask(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_cpumask() argument
105 cfs_cpt_table_print(struct cfs_cpt_table *cptab, char *buf, int len) in cfs_cpt_table_print()
111 extern struct cfs_cpt_table *cfs_cpt_table;
116 void cfs_cpt_table_free(struct cfs_cpt_table *cptab);
120 struct cfs_cpt_table *cfs_cpt_table_alloc(unsigned int ncpt);
125 cfs_cpt_number(struct cfs_cpt_table *cptab);
129 int cfs_cpt_weight(struct cfs_cpt_table *cptab, int cpt);
[all …]
Dlibcfs_workitem.h66 int cfs_wi_sched_create(char *name, struct cfs_cpt_table *cptab, int cpt,
Dlibcfs.h121 void *libcfs_kvzalloc_cpt(struct cfs_cpt_table *cptab, int cpt, size_t size,
/drivers/staging/lustre/lnet/libcfs/linux/
Dlinux-cpu.c89 cfs_cpt_table_free(struct cfs_cpt_table *cptab) in cfs_cpt_table_free()
125 struct cfs_cpt_table *
128 struct cfs_cpt_table *cptab; in cfs_cpt_table_alloc()
178 cfs_cpt_table_print(struct cfs_cpt_table *cptab, char *buf, int len) in cfs_cpt_table_print()
221 cfs_cpt_number(struct cfs_cpt_table *cptab) in cfs_cpt_number()
228 cfs_cpt_weight(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_weight()
239 cfs_cpt_online(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_online()
252 cfs_cpt_cpumask(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_cpumask()
262 cfs_cpt_nodemask(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_nodemask()
272 cfs_cpt_set_cpu(struct cfs_cpt_table *cptab, int cpt, int cpu) in cfs_cpt_set_cpu()
[all …]
Dlinux-mem.c45 void *libcfs_kvzalloc_cpt(struct cfs_cpt_table *cptab, int cpt, size_t size, in libcfs_kvzalloc_cpt()
/drivers/staging/lustre/lustre/ptlrpc/
Dptlrpcd.c176 cpt = cfs_cpt_current(cfs_cpt_table, 1); in ptlrpcd_select_pc()
392 if (cfs_cpt_bind(cfs_cpt_table, pc->pc_cpt) != 0) in ptlrpcd()
533 cfs_cpt_spread_node(cfs_cpt_table, in ptlrpcd_partners()
683 struct cfs_cpt_table *cptable; in ptlrpcd_init()
692 cptable = cfs_cpt_table; in ptlrpcd_init()
846 cfs_cpt_spread_node(cfs_cpt_table, cpt)); in ptlrpcd_init()
Dptlrpc_internal.h186 struct cfs_cpt_table *nrs_pol2cptab(struct ptlrpc_nrs_policy *policy) in nrs_pol2cptab()
Dservice.c207 struct cfs_cpt_table *hr_cpt_table;
550 struct cfs_cpt_table *cptable; in ptlrpc_register_service()
564 cptable = cfs_cpt_table; in ptlrpc_register_service()
2520 ptlrpc_hr.hr_cpt_table = cfs_cpt_table; in ptlrpc_hr_init()
Dclient.c847 cpt = cfs_cpt_current(cfs_cpt_table, 0); in ptlrpc_prep_set()
849 cfs_cpt_spread_node(cfs_cpt_table, cpt)); in ptlrpc_prep_set()
/drivers/staging/lustre/include/linux/libcfs/linux/
Dlinux-cpu.h59 struct cfs_cpt_table { struct
/drivers/staging/lustre/include/linux/lnet/
Dlib-types.h549 struct cfs_cpt_table *ln_cpt_table;
/drivers/staging/lustre/lustre/include/
Dlustre_net.h2089 struct cfs_cpt_table *srv_cptable;
2551 struct cfs_cpt_table *cc_cptable;
/drivers/staging/lustre/lnet/lnet/
Dapi-ni.c1415 the_lnet.ln_cpt_table = cfs_cpt_table; in lnet_lib_init()
1416 the_lnet.ln_cpt_number = cfs_cpt_number(cfs_cpt_table); in lnet_lib_init()
/drivers/staging/lustre/lnet/selftest/
Dframework.c587 2 : cfs_cpt_number(cfs_cpt_table)), svc->sv_name); in sfw_load_test()