Home
last modified time | relevance | path

Searched refs:mnt_pcp (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/
Dmount.h27 struct mnt_pcp { struct
49 struct mnt_pcp __percpu *mnt_pcp; argument
Dnamespace.c169 this_cpu_add(mnt->mnt_pcp->mnt_count, n); in mnt_add_count()
187 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_count; in mnt_get_count()
214 mnt->mnt_pcp = alloc_percpu(struct mnt_pcp); in alloc_vfsmnt()
215 if (!mnt->mnt_pcp) in alloc_vfsmnt()
218 this_cpu_add(mnt->mnt_pcp->mnt_count, 1); in alloc_vfsmnt()
278 this_cpu_inc(mnt->mnt_pcp->mnt_writers); in mnt_inc_writers()
287 this_cpu_dec(mnt->mnt_pcp->mnt_writers); in mnt_dec_writers()
300 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_writers; in mnt_get_writers()
612 free_percpu(mnt->mnt_pcp); in free_vfsmnt()