Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_cpu.h85 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 …]
Dlibcfs_private.h196 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);
Dlibcfs_workitem.h70 int cfs_wi_sched_create(char *name, struct cfs_cpt_table *cptab, int cpt,
Dlibcfs.h145 void *libcfs_kvzalloc_cpt(struct cfs_cpt_table *cptab, int cpt, size_t size,
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dlibcfs_cpu.c41 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 …]
Dlibcfs_lock.c57 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()
Dlibcfs_mem.c41 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()
Dmodule.c470 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()
Dworkitem.c63 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/
Dlinux-cpu.c99 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 …]
Dlinux-mem.c45 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/
Dptlrpcd.c182 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()
Dptlrpc_internal.h188 struct cfs_cpt_table *nrs_pol2cptab(struct ptlrpc_nrs_policy *policy) in nrs_pol2cptab()
Dservice.c210 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()
Dclient.c833 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/
Dlinux-cpu.h64 struct cfs_cpt_table { struct
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
Dlib-types.h519 struct cfs_cpt_table *ln_cpt_table;
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_net.h2004 struct cfs_cpt_table *srv_cptable;
2474 struct cfs_cpt_table *cc_cptable;
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dapi-ni.c1119 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/
Dframework.c583 1 : cfs_cpt_number(cfs_cpt_table)), svc->sv_name); in sfw_load_test()