BITS_PER_PAGE 54 kernel/pid.c #define BITS_PER_PAGE_MASK (BITS_PER_PAGE-1) BITS_PER_PAGE 59 kernel/pid.c return (map - pid_ns->pidmap)*BITS_PER_PAGE + off; BITS_PER_PAGE 63 kernel/pid.c find_next_zero_bit((map)->page, BITS_PER_PAGE, off) BITS_PER_PAGE 76 kernel/pid.c [ 0 ... PIDMAP_ENTRIES-1] = { ATOMIC_INIT(BITS_PER_PAGE), NULL } BITS_PER_PAGE 118 kernel/pid.c struct pidmap *map = upid->ns->pidmap + nr / BITS_PER_PAGE; BITS_PER_PAGE 134 kernel/pid.c map = &pid_ns->pidmap[pid/BITS_PER_PAGE]; BITS_PER_PAGE 135 kernel/pid.c max_scan = (pid_max + BITS_PER_PAGE - 1)/BITS_PER_PAGE - !offset; BITS_PER_PAGE 167 kernel/pid.c } while (offset < BITS_PER_PAGE && pid < pid_max && BITS_PER_PAGE 171 kernel/pid.c if (map < &pid_ns->pidmap[(pid_max-1)/BITS_PER_PAGE]) { BITS_PER_PAGE 191 kernel/pid.c map = &pid_ns->pidmap[(last + 1)/BITS_PER_PAGE]; BITS_PER_PAGE 196 kernel/pid.c offset = find_next_bit((map)->page, BITS_PER_PAGE, offset); BITS_PER_PAGE 197 kernel/pid.c if (offset < BITS_PER_PAGE) BITS_PER_PAGE 91 kernel/pid_namespace.c atomic_set(&ns->pidmap[0].nr_free, BITS_PER_PAGE - 1); BITS_PER_PAGE 94 kernel/pid_namespace.c atomic_set(&ns->pidmap[i].nr_free, BITS_PER_PAGE);