Home
last modified time | relevance | path

Searched refs:bpf_get_file_xattr (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/Documentation/bpf/
Dfs_kfuncs.rst12 * ``bpf_get_file_xattr()``
20 example, ``bpf_get_file_xattr()`` does not use ``vfs_getxattr()``, because
Dkfuncs.rst144 __bpf_kfunc bpf_get_file_xattr(..., const char *name__str, ...)
149 In this case, ``bpf_get_file_xattr()`` can be called as::
151 bpf_get_file_xattr(..., "xattr_name", ...);
159 bpf_get_file_xattr(..., name, ...);
/linux-6.12.1/fs/
Dbpf_fs_kfuncs.c146 __bpf_kfunc int bpf_get_file_xattr(struct file *file, const char *name__str, in bpf_get_file_xattr() function
163 BTF_ID_FLAGS(func, bpf_get_file_xattr, KF_SLEEPABLE | KF_TRUSTED_ARGS) in BTF_ID_FLAGS()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_get_xattr.c33 ret = bpf_get_file_xattr(f, "user.kfuncs", &value_ptr); in BPF_PROG()
Dtest_sig_in_xattr.c70 ret = bpf_get_file_xattr(f, "user.sig", &sig_ptr); in BPF_PROG()
/linux-6.12.1/tools/testing/selftests/bpf/
Dbpf_kfuncs.h68 extern int bpf_get_file_xattr(struct file *file, const char *name,