Home
last modified time | relevance | path

Searched refs:xprefix (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/jffs2/
Dacl.c180 int rc, xprefix; in jffs2_get_acl() local
184 xprefix = JFFS2_XPREFIX_ACL_ACCESS; in jffs2_get_acl()
187 xprefix = JFFS2_XPREFIX_ACL_DEFAULT; in jffs2_get_acl()
192 rc = do_jffs2_getxattr(inode, xprefix, "", NULL, 0); in jffs2_get_acl()
197 rc = do_jffs2_getxattr(inode, xprefix, "", value, rc); in jffs2_get_acl()
210 static int __jffs2_set_acl(struct inode *inode, int xprefix, struct posix_acl *acl) in __jffs2_set_acl() argument
221 rc = do_jffs2_setxattr(inode, xprefix, "", value, size, 0); in __jffs2_set_acl()
231 int rc, xprefix; in jffs2_set_acl() local
235 xprefix = JFFS2_XPREFIX_ACL_ACCESS; in jffs2_set_acl()
255 xprefix = JFFS2_XPREFIX_ACL_DEFAULT; in jffs2_set_acl()
[all …]
Dxattr.c64 static uint32_t xattr_datum_hashkey(int xprefix, const char *xname, const char *xvalue, int xsize) in xattr_datum_hashkey() argument
68 return crc32(xprefix, xname, name_len) ^ crc32(xprefix, xvalue, xsize); in xattr_datum_hashkey()
177 xd->xprefix = rx.xprefix; in do_verify_xattr_datum()
247 xd->hashkey = xattr_datum_hashkey(xd->xprefix, xd->xname, xd->xvalue, xd->value_len); in do_load_xattr_datum()
258 xd->xid, xd->xprefix, xd->xname); in do_load_xattr_datum()
311 rx.xprefix = xd->xprefix; in save_xattr_datum()
331 xd->xid, xd->version, xd->xprefix, xd->xname); in save_xattr_datum()
337 int xprefix, const char *xname, in create_xattr_datum() argument
347 hashkey = xattr_datum_hashkey(xprefix, xname, xvalue, xsize); in create_xattr_datum()
351 && xd->xprefix==xprefix in create_xattr_datum()
[all …]
Dxattr.h29 uint16_t xprefix; /* see JFFS2_XATTR_PREFIX_* */ member
92 extern int do_jffs2_getxattr(struct inode *inode, int xprefix, const char *xname,
94 extern int do_jffs2_setxattr(struct inode *inode, int xprefix, const char *xname,
Dscan.c369 xd->xprefix = rx->xprefix; in jffs2_scan_xattr_node()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Djffs2.h122 __u8 xprefix; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Djffs2.h113 __u8 xprefix; member
/kernel/linux/linux-5.10/include/uapi/linux/
Djffs2.h168 __u8 xprefix; member
/kernel/liteos_a/fs/jffs2/
Djffs2.patch184 - int rc, xprefix;
188 - xprefix = JFFS2_XPREFIX_ACL_ACCESS;
191 - xprefix = JFFS2_XPREFIX_ACL_DEFAULT;
196 - rc = do_jffs2_getxattr(inode, xprefix, "", NULL, 0);
201 - rc = do_jffs2_getxattr(inode, xprefix, "", value, rc);
214 -static int __jffs2_set_acl(struct inode *inode, int xprefix, struct posix_acl *acl)
225 - rc = do_jffs2_setxattr(inode, xprefix, "", value, size, 0);
235 - int rc, xprefix;
239 - xprefix = JFFS2_XPREFIX_ACL_ACCESS;
259 - xprefix = JFFS2_XPREFIX_ACL_DEFAULT;
[all …]