Home
last modified time | relevance | path

Searched refs:cpu_to_je16 (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/fs/jffs2/
Dfile.c162 ri.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_write_begin()
163 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_write_begin()
170 ri.uid = cpu_to_je16(i_uid_read(inode)); in jffs2_write_begin()
171 ri.gid = cpu_to_je16(i_gid_read(inode)); in jffs2_write_begin()
293 ri->uid = cpu_to_je16(i_uid_read(inode)); in jffs2_write_end()
294 ri->gid = cpu_to_je16(i_gid_read(inode)); in jffs2_write_end()
Dwrite.c44 ri->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_do_new_inode()
45 ri->nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_do_new_inode()
375 ri->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_write_inode_range()
376 ri->nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_write_inode_range()
510 rd->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_do_create()
511 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_do_create()
573 rd->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_do_unlink()
574 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_do_unlink()
690 rd->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_do_link()
691 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_do_link()
Dgc.c813 ri.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_garbage_collect_metadata()
814 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_garbage_collect_metadata()
821 ri.uid = cpu_to_je16(JFFS2_F_I_UID(f)); in jffs2_garbage_collect_metadata()
822 ri.gid = cpu_to_je16(JFFS2_F_I_GID(f)); in jffs2_garbage_collect_metadata()
858 rd.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_garbage_collect_dirent()
859 rd.nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_garbage_collect_dirent()
1070 ri.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_garbage_collect_hole()
1071 ri.nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_garbage_collect_hole()
1092 ri.uid = cpu_to_je16(JFFS2_F_I_UID(f)); in jffs2_garbage_collect_hole()
1093 ri.gid = cpu_to_je16(JFFS2_F_I_GID(f)); in jffs2_garbage_collect_hole()
[all …]
Dfs.c96 ri->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_do_setattr()
97 ri->nodetype = cpu_to_je16(JFFS2_NODETYPE_INODE); in jffs2_do_setattr()
104 ri->uid = cpu_to_je16((ivalid & ATTR_UID)? in jffs2_do_setattr()
106 ri->gid = cpu_to_je16((ivalid & ATTR_GID)? in jffs2_do_setattr()
447 ri->uid = cpu_to_je16(from_kuid(&init_user_ns, current_fsuid())); in jffs2_new_inode()
450 ri->gid = cpu_to_je16(i_gid_read(dir_i)); in jffs2_new_inode()
454 ri->gid = cpu_to_je16(from_kgid(&init_user_ns, current_fsgid())); in jffs2_new_inode()
Dnodelist.h36 #define cpu_to_je16(x) ((jint16_t){x}) macro
47 #define cpu_to_je16(x) ((jint16_t){cpu_to_be16(x)}) macro
58 #define cpu_to_je16(x) ((jint16_t){cpu_to_le16(x)}) macro
319 jdev->old_id = cpu_to_je16(old_encode_dev(rdev)); in jffs2_encode_dev()
Ddir.c399 rd->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_symlink()
400 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_symlink()
543 rd->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_mkdir()
544 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_mkdir()
717 rd->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_mknod()
718 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_mknod()
Dacl.c145 entry->e_tag = cpu_to_je16(acl_e->e_tag); in jffs2_acl_to_medium()
146 entry->e_perm = cpu_to_je16(acl_e->e_perm); in jffs2_acl_to_medium()
Dsummary.c586 crcnode.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_sum_scan_sumnode()
587 crcnode.nodetype = cpu_to_je16(JFFS2_NODETYPE_SUMMARY); in jffs2_sum_scan_sumnode()
709 isum.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_sum_write_data()
710 isum.nodetype = cpu_to_je16(JFFS2_NODETYPE_SUMMARY); in jffs2_sum_write_data()
Derase.c424 .magic = cpu_to_je16(JFFS2_MAGIC_BITMASK), in jffs2_mark_erased_block()
425 .nodetype = cpu_to_je16(JFFS2_NODETYPE_CLEANMARKER), in jffs2_mark_erased_block()
Dxattr.c304 rx.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in save_xattr_datum()
305 rx.nodetype = cpu_to_je16(JFFS2_NODETYPE_XATTR); in save_xattr_datum()
313 rx.value_len = cpu_to_je16(xd->value_len); in save_xattr_datum()
514 rr.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in save_xattr_ref()
515 rr.nodetype = cpu_to_je16(JFFS2_NODETYPE_XREF); in save_xattr_ref()
Dreadinode.c901 un->nodetype = cpu_to_je16(JFFS2_NODE_ACCURATE | je16_to_cpu(un->nodetype)); in read_unknown()
1214 latest_node->gid = cpu_to_je16(0); in jffs2_do_read_inode_internal()
1215 latest_node->uid = cpu_to_je16(0); in jffs2_do_read_inode_internal()
Dwbuf.c618 padnode->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in __jffs2_flush_wbuf()
619 padnode->nodetype = cpu_to_je16(JFFS2_NODETYPE_PADDING); in __jffs2_flush_wbuf()
Dnodemgmt.c780 n.nodetype = cpu_to_je16(je16_to_cpu(n.nodetype) & ~JFFS2_NODE_ACCURATE); in jffs2_mark_node_obsolete()
Dscan.c760 crcnode.nodetype = cpu_to_je16( je16_to_cpu(node->nodetype) | JFFS2_NODE_ACCURATE); in jffs2_scan_eraseblock()