Searched refs:cfs_cpt_table (Results 1 – 16 of 16) sorted by relevance
/linux-4.1.27/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 | 226 void *cfs_percpt_alloc(struct cfs_cpt_table *cptab, unsigned int size); 364 struct cfs_cpt_table *pcl_cptab; 382 struct cfs_percpt_lock *cfs_percpt_lock_alloc(struct cfs_cpt_table *cptab); 391 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,
|
/linux-4.1.27/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 | 58 cfs_percpt_lock_alloc(struct cfs_cpt_table *cptab) in cfs_percpt_lock_alloc() 160 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 | 425 rc = min(cfs_cpt_weight(cfs_cpt_table, CFS_CPT_ANY), 4); in init_libcfs_module() 426 rc = cfs_wi_sched_create("cfs_rh", cfs_cpt_table, CFS_CPT_ANY, in init_libcfs_module() 755 LASSERT(cfs_cpt_table != NULL); in __proc_cpt_table() 762 rc = cfs_cpt_table_print(cfs_cpt_table, buf, len); in __proc_cpt_table()
|
D | workitem.c | 63 struct cfs_cpt_table *ws_cptab; 352 cfs_wi_sched_create(char *name, struct cfs_cpt_table *cptab, in cfs_wi_sched_create()
|
/linux-4.1.27/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 …]
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | linux-cpu.h | 64 struct cfs_cpt_table { struct
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | ptlrpc_internal.h | 192 struct cfs_cpt_table *nrs_pol2cptab(struct ptlrpc_nrs_policy *policy) in nrs_pol2cptab()
|
D | service.c | 235 struct cfs_cpt_table *hr_cpt_table; 689 struct cfs_cpt_table *cptable; in ptlrpc_register_service() 703 cptable = cfs_cpt_table; in ptlrpc_register_service() 2762 ptlrpc_hr.hr_cpt_table = cfs_cpt_table; in ptlrpc_hr_init()
|
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/ |
D | lib-types.h | 669 struct cfs_cpt_table *ln_cpt_table;
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_net.h | 2018 struct cfs_cpt_table *srv_cptable; 2493 struct cfs_cpt_table *cc_cptable;
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
D | api-ni.c | 1192 the_lnet.ln_cpt_table = cfs_cpt_table; in LNetInit() 1193 the_lnet.ln_cpt_number = cfs_cpt_number(cfs_cpt_table); in LNetInit()
|
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/ |
D | framework.c | 588 1 : cfs_cpt_number(cfs_cpt_table)), svc->sv_name); in sfw_load_test()
|