/drivers/staging/lustre/lnet/libcfs/ |
D | libcfs_cpu.c | 36 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 …]
|
D | libcfs_mem.c | 36 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()
|
D | module.c | 302 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()
|
D | libcfs_lock.c | 52 cfs_percpt_lock_create(struct cfs_cpt_table *cptab, in cfs_percpt_lock_create()
|
D | workitem.c | 62 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/ |
D | libcfs_cpu.h | 81 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 …]
|
D | libcfs_workitem.h | 66 int cfs_wi_sched_create(char *name, struct cfs_cpt_table *cptab, int cpt,
|
D | libcfs.h | 121 void *libcfs_kvzalloc_cpt(struct cfs_cpt_table *cptab, int cpt, size_t size,
|
/drivers/staging/lustre/lnet/libcfs/linux/ |
D | linux-cpu.c | 89 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 …]
|
D | linux-mem.c | 45 void *libcfs_kvzalloc_cpt(struct cfs_cpt_table *cptab, int cpt, size_t size, in libcfs_kvzalloc_cpt()
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | ptlrpcd.c | 176 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()
|
D | ptlrpc_internal.h | 186 struct cfs_cpt_table *nrs_pol2cptab(struct ptlrpc_nrs_policy *policy) in nrs_pol2cptab()
|
D | service.c | 207 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()
|
D | client.c | 847 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/ |
D | linux-cpu.h | 59 struct cfs_cpt_table { struct
|
/drivers/staging/lustre/include/linux/lnet/ |
D | lib-types.h | 549 struct cfs_cpt_table *ln_cpt_table;
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_net.h | 2089 struct cfs_cpt_table *srv_cptable; 2551 struct cfs_cpt_table *cc_cptable;
|
/drivers/staging/lustre/lnet/lnet/ |
D | api-ni.c | 1415 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/ |
D | framework.c | 587 2 : cfs_cpt_number(cfs_cpt_table)), svc->sv_name); in sfw_load_test()
|