Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/
Dmount.h28 struct mnt_pcp { struct
50 struct mnt_pcp __percpu *mnt_pcp; argument
Dnamespace.c148 this_cpu_add(mnt->mnt_pcp->mnt_count, n); in mnt_add_count()
166 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_count; in mnt_get_count()
193 mnt->mnt_pcp = alloc_percpu(struct mnt_pcp); in alloc_vfsmnt()
194 if (!mnt->mnt_pcp) in alloc_vfsmnt()
197 this_cpu_add(mnt->mnt_pcp->mnt_count, 1); in alloc_vfsmnt()
256 this_cpu_inc(mnt->mnt_pcp->mnt_writers); in mnt_inc_writers()
265 this_cpu_dec(mnt->mnt_pcp->mnt_writers); in mnt_dec_writers()
278 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_writers; in mnt_get_writers()
553 free_percpu(mnt->mnt_pcp); in free_vfsmnt()