Searched refs:cpu_to_fs16 (Results 1 – 11 of 11) sorted by relevance
/linux/fs/sysv/ |
H A D | balloc.c | 85 *(__fs16*)bh->b_data = cpu_to_fs16(sbi, count); in sysv_free_block() 94 *sbi->s_bcache_count = cpu_to_fs16(sbi, count); in sysv_free_block() 119 *sbi->s_bcache_count = cpu_to_fs16(sbi, count); in sysv_new_block() 134 *sbi->s_bcache_count = cpu_to_fs16(sbi, 1); in sysv_new_block() 143 *sbi->s_bcache_count = cpu_to_fs16(sbi, count); in sysv_new_block()
|
H A D | ialloc.c | 84 *sv_sb_fic_inode(sb,i++) = cpu_to_fs16(SYSV_SB(sb), ino); in refill_free_cache() 125 *sv_sb_fic_inode(sb,count++) = cpu_to_fs16(sbi, ino); in sysv_free_inode() 126 *sbi->s_sb_fic_count = cpu_to_fs16(sbi, count); in sysv_free_inode() 163 *sbi->s_sb_fic_count = cpu_to_fs16(sbi, count); in sysv_new_inode() 225 *sbi->s_sb_total_free_inodes = cpu_to_fs16(SYSV_SB(sb), count); in sysv_count_free_inodes()
|
H A D | dir.c | 221 de->inode = cpu_to_fs16(SYSV_SB(inode->i_sb), inode->i_ino); in sysv_add_link() 271 de->inode = cpu_to_fs16(SYSV_SB(inode->i_sb), inode->i_ino); in sysv_make_empty() 274 de->inode = cpu_to_fs16(SYSV_SB(inode->i_sb), dir->i_ino); in sysv_make_empty() 312 if (de->inode == cpu_to_fs16(SYSV_SB(sb), in sysv_empty_dir() 343 de->inode = cpu_to_fs16(SYSV_SB(inode->i_sb), inode->i_ino); in sysv_set_link()
|
H A D | inode.c | 249 raw_inode->i_mode = cpu_to_fs16(sbi, inode->i_mode); in __sysv_write_inode() 250 raw_inode->i_uid = cpu_to_fs16(sbi, fs_high2lowuid(i_uid_read(inode))); in __sysv_write_inode() 251 raw_inode->i_gid = cpu_to_fs16(sbi, fs_high2lowgid(i_gid_read(inode))); in __sysv_write_inode() 252 raw_inode->i_nlink = cpu_to_fs16(sbi, inode->i_nlink); in __sysv_write_inode()
|
H A D | sysv.h | 228 static inline __fs16 cpu_to_fs16(struct sysv_sb_info *sbi, __u16 n) in cpu_to_fs16() function
|
/linux/fs/ufs/ |
H A D | dir.c | 334 de->d_reclen = cpu_to_fs16(sb, chunk_size); in ufs_add_link() 369 de1->d_reclen = cpu_to_fs16(sb, rec_len - name_len); in ufs_add_link() 370 de->d_reclen = cpu_to_fs16(sb, name_len); in ufs_add_link() 521 pde->d_reclen = cpu_to_fs16(sb, to - from); in ufs_delete_entry() 560 de->d_reclen = cpu_to_fs16(sb, UFS_DIR_REC_LEN(1)); in ufs_make_empty() 566 de->d_reclen = cpu_to_fs16(sb, chunk_size - UFS_DIR_REC_LEN(1)); in ufs_make_empty()
|
H A D | util.h | 144 de->d_u.d_namlen = cpu_to_fs16(sb, value); in ufs_set_de_namlen() 206 inode->ui_u1.oldids.ui_suid = cpu_to_fs16(sb, value); in ufs_set_inode_uid() 214 inode->ui_u1.oldids.ui_suid = cpu_to_fs16(sb, value); in ufs_set_inode_uid() 240 inode->ui_u1.oldids.ui_sgid = cpu_to_fs16(sb, value); in ufs_set_inode_gid() 248 inode->ui_u1.oldids.ui_sgid = cpu_to_fs16(sb, value); in ufs_set_inode_gid()
|
H A D | swab.h | 90 cpu_to_fs16(struct super_block *sbp, u16 n) in cpu_to_fs16() function
|
H A D | inode.c | 726 ufs_inode->ui_mode = cpu_to_fs16(sb, inode->i_mode); in ufs1_update_inode() 727 ufs_inode->ui_nlink = cpu_to_fs16(sb, inode->i_nlink); in ufs1_update_inode() 773 ufs_inode->ui_mode = cpu_to_fs16(sb, inode->i_mode); in ufs2_update_inode() 774 ufs_inode->ui_nlink = cpu_to_fs16(sb, inode->i_nlink); in ufs2_update_inode()
|
/linux/fs/qnx6/ |
H A D | qnx6.h | 118 static inline __fs16 cpu_to_fs16(struct qnx6_sb_info *sbi, __u16 n) in cpu_to_fs16() function
|
/linux/fs/befs/ |
H A D | endian.h | 61 cpu_to_fs16(const struct super_block *sb, u16 n) in cpu_to_fs16() function
|