[go: nahoru, domu]

Searched refs:ncpt (Results 1 - 4 of 4) sorted by relevance

/drivers/staging/lustre/lustre/libcfs/
H A Dlibcfs_lock.c95 int ncpt = cfs_cpt_number(pcl->pcl_cptab); local
98 LASSERT(index >= CFS_PERCPT_LOCK_EX && index < ncpt);
100 if (ncpt == 1) {
113 for (i = 0; i < ncpt; i++) {
129 int ncpt = cfs_cpt_number(pcl->pcl_cptab); local
132 index = ncpt == 1 ? 0 : index;
139 for (i = ncpt - 1; i >= 0; i--) {
H A Dlibcfs_cpu.c49 cfs_cpt_table_alloc(unsigned int ncpt) argument
53 if (ncpt != 1) {
54 CERROR("Can't support cpu partition number %d\n", ncpt);
61 cptab->ctb_nparts = ncpt;
/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-cpu.c136 cfs_cpt_table_alloc(unsigned int ncpt) argument
145 cptab->ctb_nparts = ncpt;
161 LIBCFS_ALLOC(cptab->ctb_parts, ncpt * sizeof(cptab->ctb_parts[0]));
165 for (i = 0; i < ncpt; i++) {
690 unsigned ncpt; local
693 ncpt = 1;
700 for (ncpt = 2; ncpu > 2 * ncpt * ncpt; ncpt <<
726 cfs_cpt_table_create(int ncpt) argument
831 int ncpt; local
[all...]
/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_cpu.h122 * create a cfs_cpt_table with \a ncpt number of partitions
124 struct cfs_cpt_table *cfs_cpt_table_alloc(unsigned int ncpt);

Completed in 143 milliseconds