/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_cpu.h | 85 cpumask_t *cfs_cpt_cpumask(struct cfs_cpt_table *cptab, int cpt); 89 int cfs_cpt_table_print(struct cfs_cpt_table *cptab, char *buf, int len); 91 struct cfs_cpt_table { struct 103 cfs_cpt_cpumask(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_cpumask() argument 109 cfs_cpt_table_print(struct cfs_cpt_table *cptab, char *buf, int len) in cfs_cpt_table_print() 115 extern struct cfs_cpt_table *cfs_cpt_table; 120 void cfs_cpt_table_free(struct cfs_cpt_table *cptab); 124 struct cfs_cpt_table *cfs_cpt_table_alloc(unsigned int ncpt); 129 cfs_cpt_number(struct cfs_cpt_table *cptab); 133 int cfs_cpt_weight(struct cfs_cpt_table *cptab, int cpt); [all …]
|
D | libcfs_private.h | 196 void *cfs_percpt_alloc(struct cfs_cpt_table *cptab, unsigned int size); 334 struct cfs_cpt_table *pcl_cptab; 352 struct cfs_percpt_lock *cfs_percpt_lock_alloc(struct cfs_cpt_table *cptab); 361 atomic_t **cfs_percpt_atomic_alloc(struct cfs_cpt_table *cptab, int val);
|
D | libcfs_workitem.h | 70 int cfs_wi_sched_create(char *name, struct cfs_cpt_table *cptab, int cpt,
|
D | libcfs.h | 145 void *libcfs_kvzalloc_cpt(struct cfs_cpt_table *cptab, int cpt, size_t size,
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_cpu.c | 41 struct cfs_cpt_table *cfs_cpt_table __read_mostly; 42 EXPORT_SYMBOL(cfs_cpt_table); 48 struct cfs_cpt_table * 51 struct cfs_cpt_table *cptab; in cfs_cpt_table_alloc() 69 cfs_cpt_table_free(struct cfs_cpt_table *cptab) in cfs_cpt_table_free() 79 cfs_cpt_table_print(struct cfs_cpt_table *cptab, char *buf, int len) in cfs_cpt_table_print() 94 cfs_cpt_number(struct cfs_cpt_table *cptab) in cfs_cpt_number() 101 cfs_cpt_weight(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_weight() 108 cfs_cpt_online(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_online() 115 cfs_cpt_set_cpu(struct cfs_cpt_table *cptab, int cpt, int cpu) in cfs_cpt_set_cpu() [all …]
|
D | libcfs_lock.c | 57 cfs_percpt_lock_alloc(struct cfs_cpt_table *cptab) in cfs_percpt_lock_alloc() 158 cfs_percpt_atomic_alloc(struct cfs_cpt_table *cptab, int init_val) in cfs_percpt_atomic_alloc()
|
D | libcfs_mem.c | 41 struct cfs_cpt_table *va_cptab; /* cpu partition table */ 78 cfs_percpt_alloc(struct cfs_cpt_table *cptab, unsigned int size) in cfs_percpt_alloc()
|
D | module.c | 470 LASSERT(cfs_cpt_table != NULL); in __proc_cpt_table() 477 rc = cfs_cpt_table_print(cfs_cpt_table, buf, len); in __proc_cpt_table() 710 rc = min(cfs_cpt_weight(cfs_cpt_table, CFS_CPT_ANY), 4); in init_libcfs_module() 711 rc = cfs_wi_sched_create("cfs_rh", cfs_cpt_table, CFS_CPT_ANY, in init_libcfs_module()
|
D | workitem.c | 63 struct cfs_cpt_table *ws_cptab; 348 cfs_wi_sched_create(char *name, struct cfs_cpt_table *cptab, in cfs_wi_sched_create()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-cpu.c | 99 cfs_cpt_table_free(struct cfs_cpt_table *cptab) in cfs_cpt_table_free() 135 struct cfs_cpt_table * 138 struct cfs_cpt_table *cptab; in cfs_cpt_table_alloc() 188 cfs_cpt_table_print(struct cfs_cpt_table *cptab, char *buf, int len) in cfs_cpt_table_print() 231 cfs_cpt_number(struct cfs_cpt_table *cptab) in cfs_cpt_number() 238 cfs_cpt_weight(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_weight() 249 cfs_cpt_online(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_online() 262 cfs_cpt_cpumask(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_cpumask() 272 cfs_cpt_nodemask(struct cfs_cpt_table *cptab, int cpt) in cfs_cpt_nodemask() 282 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()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | ptlrpcd.c | 182 cpt = cfs_cpt_current(cfs_cpt_table, 1); in ptlrpcd_select_pc() 395 if (cfs_cpt_bind(cfs_cpt_table, pc->pc_cpt) != 0) in ptlrpcd() 527 cfs_cpt_spread_node(cfs_cpt_table, in ptlrpcd_partners() 677 struct cfs_cpt_table *cptable; in ptlrpcd_init() 686 cptable = cfs_cpt_table; in ptlrpcd_init() 840 cfs_cpt_spread_node(cfs_cpt_table, cpt)); in ptlrpcd_init()
|
D | ptlrpc_internal.h | 188 struct cfs_cpt_table *nrs_pol2cptab(struct ptlrpc_nrs_policy *policy) in nrs_pol2cptab()
|
D | service.c | 210 struct cfs_cpt_table *hr_cpt_table; 546 struct cfs_cpt_table *cptable; in ptlrpc_register_service() 560 cptable = cfs_cpt_table; in ptlrpc_register_service() 2487 ptlrpc_hr.hr_cpt_table = cfs_cpt_table; in ptlrpc_hr_init()
|
D | client.c | 833 cpt = cfs_cpt_current(cfs_cpt_table, 0); in ptlrpc_prep_set() 835 cfs_cpt_spread_node(cfs_cpt_table, cpt)); in ptlrpc_prep_set()
|
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | linux-cpu.h | 64 struct cfs_cpt_table { struct
|
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/ |
D | lib-types.h | 519 struct cfs_cpt_table *ln_cpt_table;
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | lustre_net.h | 2004 struct cfs_cpt_table *srv_cptable; 2474 struct cfs_cpt_table *cc_cptable;
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
D | api-ni.c | 1119 the_lnet.ln_cpt_table = cfs_cpt_table; in lnet_init() 1120 the_lnet.ln_cpt_number = cfs_cpt_number(cfs_cpt_table); in lnet_init()
|
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/ |
D | framework.c | 583 1 : cfs_cpt_number(cfs_cpt_table)), svc->sv_name); in sfw_load_test()
|