Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\z3fold.c Create Date:2022-07-28 16:29:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:encode_handle

Proto:static unsigned long encode_handle(struct z3fold_header *zhdr, enum buddy bud)

Type:unsigned long

Parameter:

TypeParameterName
struct z3fold_header *zhdr
enum buddybud
483  Return Encodes the handle of a particular buddy within a z3fold page* Pool lock should be held as this function accesses first_num
Caller
NameDescribe
z3fold_allocz3fold_alloc() - allocates a region of a given size*@pool: z3fold pool from which to allocate*@size: size in bytes of the desired allocation*@gfp: gfp flags used if the pool needs to grow*@handle: handle of the new allocation* This function will attempt
z3fold_reclaim_pagez3fold_reclaim_page() - evicts allocations from a pool page and frees it*@pool: pool from which a page will attempt to be evicted*@retries: number of pages on the LRU list for which eviction will* be attempted before failing* z3fold reclaim is different
z3fold_page_migrate