Searched refs:btoc (Results 1 – 3 of 3) sorted by relevance
136 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT) macro
112 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT) macro
281 shm_committed -= btoc(size); in shm_deallocate_segment()788 if ((user_ssize_t)(shm_committed + btoc(total_size)) > shminfo.shmall) { in shmget_allocate_segment()857 shm_committed += btoc(size); in shmget_allocate_segment()