| /OK3568_Linux_fs/kernel/fs/ext2/ |
| H A D | ioctl.c | 36 unsigned int oldflags; in ext2_ioctl() local 61 oldflags = ei->i_flags; in ext2_ioctl() 63 ret = vfs_ioc_setflags_prepare(inode, oldflags, flags); in ext2_ioctl() 70 flags |= oldflags & ~EXT2_FL_USER_MODIFIABLE; in ext2_ioctl()
|
| /OK3568_Linux_fs/kernel/fs/ext4/ |
| H A D | ioctl.c | 283 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable() local 285 if (!(oldflags & EXT4_IMMUTABLE_FL) || !(flags & EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable() 288 if ((oldflags & ~EXT4_IMMUTABLE_FL) != (flags & ~EXT4_IMMUTABLE_FL)) in ext4_ioctl_check_immutable() 312 static bool dax_compatible(struct inode *inode, unsigned int oldflags, in dax_compatible() argument 318 oldflags &= ~EXT4_INLINE_DATA_FL; in dax_compatible() 322 if ((oldflags & EXT4_DAX_MUT_EXCL) || in dax_compatible() 329 if ((flags & EXT4_DAX_MUT_EXCL) && (oldflags & EXT4_DAX_FL)) in dax_compatible() 342 unsigned int oldflags, mask, i; in ext4_ioctl_setflags() local 349 oldflags = ei->i_flags; in ext4_ioctl_setflags() 351 err = vfs_ioc_setflags_prepare(inode, oldflags, flags); in ext4_ioctl_setflags() [all …]
|
| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | ioctl.c | 72 unsigned int oldflags; in jfs_ioctl() local 101 oldflags = jfs_map_ext2(jfs_inode->mode2 & JFS_FL_USER_VISIBLE, in jfs_ioctl() 103 err = vfs_ioc_setflags_prepare(inode, oldflags, flags); in jfs_ioctl()
|
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | ioctl.c | 106 int oldflags, err, release; in setflags() local 117 oldflags = ubifs2ioctl(ui->flags); in setflags() 118 err = vfs_ioc_setflags_prepare(inode, oldflags, flags); in setflags()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | mprotect.c | 403 unsigned long oldflags = vma->vm_flags; in mprotect_fixup() local 410 if (newflags == oldflags) { in mprotect_fixup() 440 may_expand_vm(mm, oldflags, nrpages)) in mprotect_fixup() 442 if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| in mprotect_fixup() 496 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup() 501 vm_stat_account(mm, oldflags, -nrpages); in mprotect_fixup()
|
| /OK3568_Linux_fs/kernel/fs/hfsplus/ |
| H A D | ioctl.c | 87 unsigned int oldflags = hfsplus_getflags(inode); in hfsplus_ioctl_setflags() local 106 err = vfs_ioc_setflags_prepare(inode, oldflags, flags); in hfsplus_ioctl_setflags()
|
| /OK3568_Linux_fs/kernel/drivers/auxdisplay/ |
| H A D | charlcd.c | 357 int oldflags = priv->flags; in handle_lcd_special_code() local 528 if (oldflags == priv->flags) in handle_lcd_special_code() 532 if ((oldflags ^ priv->flags) & in handle_lcd_special_code() 541 else if ((oldflags ^ priv->flags) & (LCD_FLAG_F | LCD_FLAG_N)) in handle_lcd_special_code() 548 else if ((oldflags ^ priv->flags) & LCD_FLAG_L) in handle_lcd_special_code()
|
| /OK3568_Linux_fs/kernel/fs/efivarfs/ |
| H A D | file.c | 137 unsigned int oldflags = efivarfs_getflags(inode); in efivarfs_ioc_setxflags() local 159 error = vfs_ioc_setflags_prepare(inode, oldflags, flags); in efivarfs_ioc_setxflags()
|
| /OK3568_Linux_fs/kernel/fs/crypto/ |
| H A D | hooks.c | 140 unsigned int oldflags, unsigned int flags) in fscrypt_prepare_setflags() argument 151 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | ioctl.c | 87 unsigned oldflags; in ocfs2_set_inode_attr() local 105 oldflags = ocfs2_inode->ip_attr; in ocfs2_set_inode_attr() 107 flags |= oldflags & ~mask; in ocfs2_set_inode_attr() 109 status = vfs_ioc_setflags_prepare(inode, oldflags, flags); in ocfs2_set_inode_attr()
|
| /OK3568_Linux_fs/kernel/fs/nilfs2/ |
| H A D | ioctl.c | 132 unsigned int flags, oldflags; in nilfs_ioctl_setflags() local 149 oldflags = NILFS_I(inode)->i_flags; in nilfs_ioctl_setflags() 151 ret = vfs_ioc_setflags_prepare(inode, oldflags, flags); in nilfs_ioctl_setflags() 159 NILFS_I(inode)->i_flags = (oldflags & ~FS_FL_USER_MODIFIABLE) | in nilfs_ioctl_setflags()
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | lrz.c | 1710 int oldflags; in procheader() 1711 oldflags = fcntl (fileno(fout), F_GETFD, 0); in procheader() 1712 if (oldflags>=0 && !(oldflags & O_SYNC)) { in procheader() 1713 oldflags|=O_SYNC; in procheader() 1714 fcntl (fileno(fout), F_SETFD, oldflags); /* errors don't matter */ in procheader()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | fscrypt.h | 254 unsigned int oldflags, unsigned int flags); 557 unsigned int oldflags, in fscrypt_prepare_setflags() argument
|
| H A D | fs.h | 3540 int vfs_ioc_setflags_prepare(struct inode *inode, unsigned int oldflags,
|
| /OK3568_Linux_fs/kernel/fs/gfs2/ |
| H A D | file.c | 225 u32 new_flags, flags, oldflags; in do_gfs2_set_flags() local 235 oldflags = gfs2_gfsflags_to_fsflags(inode, ip->i_diskflags); in do_gfs2_set_flags() 236 error = vfs_ioc_setflags_prepare(inode, oldflags, fsflags); in do_gfs2_set_flags()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | inode.c | 2307 int vfs_ioc_setflags_prepare(struct inode *inode, unsigned int oldflags, in vfs_ioc_setflags_prepare() argument 2316 if ((flags ^ oldflags) & (FS_APPEND_FL | FS_IMMUTABLE_FL) && in vfs_ioc_setflags_prepare() 2320 return fscrypt_prepare_setflags(inode, oldflags, flags); in vfs_ioc_setflags_prepare()
|
| /OK3568_Linux_fs/kernel/security/selinux/ |
| H A D | hooks.c | 842 char oldflags = old->flags & SE_MNTMASK; in selinux_cmp_sb_context() local 845 if (oldflags != newflags) in selinux_cmp_sb_context() 847 if ((oldflags & FSCONTEXT_MNT) && old->sid != new->sid) in selinux_cmp_sb_context() 849 if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid) in selinux_cmp_sb_context() 851 if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid) in selinux_cmp_sb_context() 853 if (oldflags & ROOTCONTEXT_MNT) { in selinux_cmp_sb_context()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/info/ |
| H A D | libc.info-6 | 4517 int oldflags = fcntl (desc, F_GETFD, 0); 4519 if (oldflags < 0) 4520 return oldflags; 4523 oldflags |= FD_CLOEXEC; 4525 oldflags &= ~FD_CLOEXEC; 4527 return fcntl (desc, F_SETFD, oldflags); 4926 int oldflags = fcntl (desc, F_GETFL, 0); 4928 if (oldflags == -1) 4932 oldflags |= O_NONBLOCK; 4934 oldflags &= ~O_NONBLOCK; [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/info/ |
| H A D | libc.info-6 | 4517 int oldflags = fcntl (desc, F_GETFD, 0); 4519 if (oldflags < 0) 4520 return oldflags; 4523 oldflags |= FD_CLOEXEC; 4525 oldflags &= ~FD_CLOEXEC; 4527 return fcntl (desc, F_SETFD, oldflags); 4926 int oldflags = fcntl (desc, F_GETFL, 0); 4928 if (oldflags == -1) 4932 oldflags |= O_NONBLOCK; 4934 oldflags &= ~O_NONBLOCK; [all …]
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | connect.c | 3448 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() local 3457 if (oldflags != newflags) in compare_mount_options()
|