Home
last modified time | relevance | path

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

/linux-4.19.296/fs/
Dmount.h22 struct mnt_pcp { struct
44 struct mnt_pcp __percpu *mnt_pcp; argument
Dnamespace.c142 this_cpu_add(mnt->mnt_pcp->mnt_count, n); in mnt_add_count()
160 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_count; in mnt_get_count()
194 mnt->mnt_pcp = alloc_percpu(struct mnt_pcp); in alloc_vfsmnt()
195 if (!mnt->mnt_pcp) in alloc_vfsmnt()
198 this_cpu_add(mnt->mnt_pcp->mnt_count, 1); in alloc_vfsmnt()
261 this_cpu_inc(mnt->mnt_pcp->mnt_writers); in mnt_inc_writers()
270 this_cpu_dec(mnt->mnt_pcp->mnt_writers); in mnt_dec_writers()
283 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_writers; in mnt_get_writers()
557 free_percpu(mnt->mnt_pcp); in free_vfsmnt()