Home
last modified time | relevance | path

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

/linux-6.12.1/fs/
Dmount.h23 struct mnt_pcp { struct
45 struct mnt_pcp __percpu *mnt_pcp; argument
Dnamespace.c281 this_cpu_add(mnt->mnt_pcp->mnt_count, n); in mnt_add_count()
299 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_count; in mnt_get_count()
326 mnt->mnt_pcp = alloc_percpu(struct mnt_pcp); in alloc_vfsmnt()
327 if (!mnt->mnt_pcp) in alloc_vfsmnt()
330 this_cpu_add(mnt->mnt_pcp->mnt_count, 1); in alloc_vfsmnt()
390 this_cpu_inc(mnt->mnt_pcp->mnt_writers); in mnt_inc_writers()
399 this_cpu_dec(mnt->mnt_pcp->mnt_writers); in mnt_dec_writers()
412 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_writers; in mnt_get_writers()
729 free_percpu(mnt->mnt_pcp); in free_vfsmnt()