Searched refs:zspage (Results 1 – 5 of 5) sorted by relevance
332 struct zspage { struct347 static void zspage_lock_init(struct zspage *zspage) in zspage_lock_init() argument350 struct zspage_lock *zsl = &zspage->zsl; in zspage_lock_init()375 static void zspage_read_lock(struct zspage *zspage) in zspage_read_lock() argument377 struct zspage_lock *zsl = &zspage->zsl; in zspage_read_lock()388 static void zspage_read_unlock(struct zspage *zspage) in zspage_read_unlock() argument390 struct zspage_lock *zsl = &zspage->zsl; in zspage_read_unlock()399 static __must_check bool zspage_write_trylock(struct zspage *zspage) in zspage_write_trylock() argument401 struct zspage_lock *zsl = &zspage->zsl; in zspage_write_trylock()415 static void zspage_write_unlock(struct zspage *zspage) in zspage_write_unlock() argument[all …]
40 struct zspage *zspage; member59 ZPDESC_MATCH(private, zspage);
143 int "Maximum number of physical pages per-zspage"148 that a zmalloc page (zspage) can consist of. The optimal zspage153 such as the number of pages per zspage and the number of objects154 per zspage. This can also result in different configurations of
20 页面的边界。代码将这些链接的页面作为一个实体,称为zspage。54 zspage存储对象大小56 ZS_ALMOST_EMPTY zspage的数量(见下文)。58 ZS_ALMOST_FULL zspage的数量(见下图)66 组成一个zspage的0-order页面的数量68 当n <= N / f时,我们将一个zspage分配给ZS_ALMOST_EMPTYfullness组,其中71 * N = zspage可以存储的对象总数74 同样地,我们将zspage分配给:
99 slab_debug=FZ;-,zs_handle,zspage