Searched refs:perm_n (Results 1 - 2 of 2) sorted by last modified time

/linux-master/net/ceph/crush/
H A Dmapper.c82 if (work->perm_x != (__u32)x || work->perm_n == 0) {
91 work->perm_n = 0xffff; /* magic value, see below */
97 work->perm_n = 0;
98 } else if (work->perm_n == 0xffff) {
103 work->perm_n = 1;
107 for (i = 0; i < work->perm_n; i++)
109 while (work->perm_n <= pr) {
110 unsigned int p = work->perm_n;
122 work->perm_n++;
875 w->work[b]->perm_n
[all...]
/linux-master/include/linux/crush/
H A Dcrush.h343 __u32 perm_n; /* num elements of *perm that are permuted/defined */ member in struct:crush_work_bucket

Completed in 158 milliseconds