tools/perf/trace/beauty/fsmount.c

Source file repositories/reference/linux-study-clean/tools/perf/trace/beauty/fsmount.c

File Facts

System
Linux kernel
Corpus path
tools/perf/trace/beauty/fsmount.c
Extension
.c
Size
1860 bytes
Lines
58
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

if ((flags & MOUNT_ATTR__ATIME) == MOUNT_ATTR_RELATIME) {
	       printed += scnprintf(bf + printed, size - printed, "%s%s%s",
			            printed ? "|" : "", show_prefix ? "MOUNT_ATTR_" : "", "RELATIME");
       }

       return printed;
}

size_t syscall_arg__scnprintf_fsmount_attr_flags(char *bf, size_t size, struct syscall_arg *arg)
{
	unsigned long flags = arg->val;

	return fsmount__scnprintf_attr_flags(flags, bf, size, arg->show_string_prefix);
}

Annotation

Implementation Notes