Home
last modified time | relevance | path

Searched refs:i_flags (Results 1 – 25 of 169) sorted by relevance

1234567

/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-irq.c94 if (test_and_clear_bit(IVTV_F_I_WORK_HANDLER_PIO, &itv->i_flags)) in ivtv_irq_work_handler()
97 if (test_and_clear_bit(IVTV_F_I_WORK_HANDLER_VBI, &itv->i_flags)) in ivtv_irq_work_handler()
100 if (test_and_clear_bit(IVTV_F_I_WORK_HANDLER_YUV, &itv->i_flags)) in ivtv_irq_work_handler()
103 if (test_and_clear_bit(IVTV_F_I_WORK_HANDLER_PCM, &itv->i_flags)) in ivtv_irq_work_handler()
329 set_bit(IVTV_F_I_WORK_HANDLER_PCM, &itv->i_flags); in dma_post()
330 set_bit(IVTV_F_I_HAVE_WORK, &itv->i_flags); in dma_post()
401 if (!test_bit(IVTV_F_I_DMA, &itv->i_flags)) in ivtv_dma_stream_dec_prepare()
407 if (!test_bit(IVTV_F_I_DMA, &itv->i_flags)) in ivtv_dma_stream_dec_prepare()
495 set_bit(IVTV_F_I_WORK_HANDLER_PIO, &itv->i_flags); in ivtv_dma_enc_start()
496 set_bit(IVTV_F_I_HAVE_WORK, &itv->i_flags); in ivtv_dma_enc_start()
[all …]
Divtv-udma.c198 set_bit(IVTV_F_I_DMA, &itv->i_flags); in ivtv_udma_start()
199 set_bit(IVTV_F_I_UDMA, &itv->i_flags); in ivtv_udma_start()
200 clear_bit(IVTV_F_I_UDMA_PENDING, &itv->i_flags); in ivtv_udma_start()
208 if (!test_bit(IVTV_F_I_DMA, &itv->i_flags)) in ivtv_udma_prepare()
211 set_bit(IVTV_F_I_UDMA_PENDING, &itv->i_flags); in ivtv_udma_prepare()
Divtv-vbi.c108 set_bit(IVTV_F_I_UPDATE_VPS, &itv->i_flags); in ivtv_write_vbi_line()
116 set_bit(IVTV_F_I_UPDATE_WSS, &itv->i_flags); in ivtv_write_vbi_line()
129 set_bit(IVTV_F_I_UPDATE_CC, &itv->i_flags); in ivtv_write_vbi_cc_lines()
456 clear_bit(IVTV_F_I_UPDATE_CC, &itv->i_flags); in ivtv_disable_cc()
511 if (test_and_clear_bit(IVTV_F_I_UPDATE_WSS, &itv->i_flags)) { in ivtv_vbi_work_handler()
515 if (test_bit(IVTV_F_I_UPDATE_CC, &itv->i_flags)) { in ivtv_vbi_work_handler()
517 clear_bit(IVTV_F_I_UPDATE_CC, &itv->i_flags); in ivtv_vbi_work_handler()
534 if (test_and_clear_bit(IVTV_F_I_UPDATE_VPS, &itv->i_flags)) { in ivtv_vbi_work_handler()
Divtv-fileops.c472 if (test_and_clear_bit(IVTV_F_I_ENC_PAUSED, &itv->i_flags)) in ivtv_start_capture()
736 clear_bit(IVTV_F_I_EV_VSYNC_ENABLED, &itv->i_flags); in ivtv_v4l2_dec_poll()
743 set_bit(IVTV_F_I_EV_VSYNC_ENABLED, &itv->i_flags); in ivtv_v4l2_dec_poll()
744 if (test_bit(IVTV_F_I_EV_VSYNC, &itv->i_flags) || in ivtv_v4l2_dec_poll()
745 test_bit(IVTV_F_I_EV_DEC_STOPPED, &itv->i_flags)) in ivtv_v4l2_dec_poll()
843 test_bit(IVTV_F_I_DECODING_YUV, &itv->i_flags)) { in ivtv_stop_decoding()
862 clear_bit(IVTV_F_I_DEC_PAUSED, &itv->i_flags); in ivtv_stop_decoding()
883 clear_bit(IVTV_F_I_RADIO_USER, &itv->i_flags); in ivtv_v4l2_close()
995 if (!test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags)) {
1006 set_bit(IVTV_F_I_RADIO_USER, &itv->i_flags);
[all …]
Divtv-streams.c602 if (test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags)) in ivtv_start_v4l2_encode_stream()
608 if (itv->has_cx23415 && !test_and_set_bit(IVTV_F_I_DIG_RST, &itv->i_flags)) { in ivtv_start_v4l2_encode_stream()
618 clear_bit(IVTV_F_I_EOS, &itv->i_flags); in ivtv_start_v4l2_encode_stream()
846 while (!test_bit(IVTV_F_I_EOS, &itv->i_flags) && in ivtv_stop_v4l2_encode_stream()
861 if (!test_bit(IVTV_F_I_EOS, &itv->i_flags)) { in ivtv_stop_v4l2_encode_stream()
895 if (test_and_clear_bit(IVTV_F_I_DIG_RST, &itv->i_flags)) { in ivtv_stop_v4l2_encode_stream()
969 set_bit(IVTV_F_I_EV_DEC_STOPPED, &itv->i_flags); in ivtv_stop_v4l2_decode_stream()
Divtv-controls.c98 if (test_bit(IVTV_F_I_VALID_DEC_TIMINGS, &itv->i_flags)) { in ivtv_g_pts_frame()
112 set_bit(IVTV_F_I_VALID_DEC_TIMINGS, &itv->i_flags); in ivtv_g_pts_frame()
Divtv-ioctl.c172 while (test_bit(IVTV_F_I_DMA, &itv->i_flags)) { in ivtv_set_speed()
260 if (test_and_clear_bit(IVTV_F_I_DEC_PAUSED, &itv->i_flags)) { in ivtv_video_command()
290 set_bit(IVTV_F_I_DEC_PAUSED, &itv->i_flags); in ivtv_video_command()
301 if (test_and_clear_bit(IVTV_F_I_DEC_PAUSED, &itv->i_flags)) { in ivtv_video_command()
672 if (test_bit(IVTV_F_I_DEC_YUV, &itv->i_flags)) in ivtv_s_fmt_vid_out()
1174 if (test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags) || in ivtv_s_std()
1306 if (test_and_set_bit(IVTV_F_I_ENC_PAUSED, &itv->i_flags)) in ivtv_encoder_cmd()
1320 if (!test_and_clear_bit(IVTV_F_I_ENC_PAUSED, &itv->i_flags)) in ivtv_encoder_cmd()
1572 test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags) ? "Radio" : "TV"); in ivtv_log_status()
1574 IVTV_INFO("Status flags: 0x%08lx\n", itv->i_flags); in ivtv_log_status()
[all …]
/kernel/linux/linux-5.10/fs/ubifs/
Dioctl.c38 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_DIRSYNC | in ubifs_set_inode_flags()
41 inode->i_flags |= S_SYNC; in ubifs_set_inode_flags()
43 inode->i_flags |= S_APPEND; in ubifs_set_inode_flags()
45 inode->i_flags |= S_IMMUTABLE; in ubifs_set_inode_flags()
47 inode->i_flags |= S_DIRSYNC; in ubifs_set_inode_flags()
49 inode->i_flags |= S_ENCRYPTED; in ubifs_set_inode_flags()
151 dbg_gen("get flags: %#x, i_flags %#x", flags, inode->i_flags); in ubifs_ioctl()
178 dbg_gen("set flags: %#x, i_flags %#x", flags, inode->i_flags); in ubifs_ioctl()
/kernel/linux/linux-5.10/fs/efivarfs/
Dfile.c111 unsigned int i_flags; in efivarfs_getflags() local
114 i_flags = inode->i_flags; in efivarfs_getflags()
115 if (i_flags & S_IMMUTABLE) in efivarfs_getflags()
136 unsigned int i_flags = 0; in efivarfs_ioc_setxflags() local
150 i_flags |= S_IMMUTABLE; in efivarfs_ioc_setxflags()
163 inode_set_flags(inode, i_flags, S_IMMUTABLE); in efivarfs_ioc_setxflags()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_inode.h55 unsigned long i_flags; /* see defined flags below */ member
113 ip->i_flags |= flags; in __xfs_iflags_set()
128 ip->i_flags &= ~flags; in xfs_iflags_clear()
135 return (ip->i_flags & flags); in __xfs_iflags_test()
154 ret = ip->i_flags & flags; in xfs_iflags_test_and_clear()
156 ip->i_flags &= ~flags; in xfs_iflags_test_and_clear()
167 ret = ip->i_flags & flags; in xfs_iflags_test_and_set()
169 ip->i_flags |= flags; in xfs_iflags_test_and_set()
454 wake_up_bit(&ip->i_flags, __XFS_INEW_BIT); in xfs_finish_inode_setup()
Dxfs_icache.c65 ip->i_flags = 0; in xfs_inode_alloc()
135 ip->i_flags = XFS_IRECLAIM; in xfs_inode_free()
241 wait_queue_head_t *wq = bit_waitqueue(&ip->i_flags, __XFS_INEW_BIT); in xfs_inew_wait()
242 DEFINE_WAIT_BIT(wait, &ip->i_flags, __XFS_INEW_BIT); in xfs_inew_wait()
368 if (ip->i_flags & (XFS_INEW|XFS_IRECLAIM)) { in xfs_iget_cache_hit()
387 if (ip->i_flags & XFS_IRECLAIMABLE) { in xfs_iget_cache_hit()
401 ip->i_flags |= XFS_IRECLAIM; in xfs_iget_cache_hit()
417 ip->i_flags &= ~(XFS_INEW | XFS_IRECLAIM); in xfs_iget_cache_hit()
419 wake_up_bit(&ip->i_flags, __XFS_INEW_BIT); in xfs_iget_cache_hit()
420 ASSERT(ip->i_flags & XFS_IRECLAIMABLE); in xfs_iget_cache_hit()
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dinode.c77 inode->i_flags &= ~(S_IMMUTABLE | in ocfs2_set_inode_flags()
81 inode->i_flags |= S_IMMUTABLE; in ocfs2_set_inode_flags()
84 inode->i_flags |= S_SYNC; in ocfs2_set_inode_flags()
86 inode->i_flags |= S_APPEND; in ocfs2_set_inode_flags()
88 inode->i_flags |= S_NOATIME; in ocfs2_set_inode_flags()
90 inode->i_flags |= S_DIRSYNC; in ocfs2_set_inode_flags()
96 unsigned int flags = oi->vfs_inode.i_flags; in ocfs2_get_inode_flags()
284 BUG_ON(!(fe->i_flags & cpu_to_le32(OCFS2_VALID_FL))); in ocfs2_populate_inode()
323 le32_to_cpu(fe->i_flags)); in ocfs2_populate_inode()
324 if (fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) { in ocfs2_populate_inode()
[all …]
/kernel/linux/linux-5.10/fs/reiserfs/
Dioctl.c178 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
182 if (REISERFS_I(inode)->i_flags & i_nopack_mask) { in reiserfs_unpack()
199 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
222 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
Dxattr.h22 #define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir)
76 if ((REISERFS_I(inode)->i_flags & i_has_xattr_dir) == 0) { in reiserfs_xattr_jcreate_nblocks()
Dinode.c549 if (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) { in reiserfs_get_blocks_direct_io()
555 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_get_blocks_direct_io()
726 REISERFS_I(inode)->i_flags |= i_pack_on_close_mask; in reiserfs_get_block()
1249 REISERFS_I(inode)->i_flags = 0; in init_inode()
1310 REISERFS_I(inode)->i_flags &= ~i_nopack_mask; in init_inode()
2005 REISERFS_I(inode)->i_flags = 0; in reiserfs_new_inode()
2099 inode->i_flags |= S_PRIVATE; in reiserfs_new_inode()
2156 inode->i_flags |= S_NOQUOTA; in reiserfs_new_inode()
2939 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_write_end()
3028 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_commit_write()
[all …]
/kernel/linux/linux-5.10/fs/ext2/
Dioctl.c33 flags = ei->i_flags & EXT2_FL_USER_VISIBLE; in ext2_ioctl()
61 oldflags = ei->i_flags; in ext2_ioctl()
71 ei->i_flags = flags; in ext2_ioctl()
Dinode.c1369 unsigned int flags = EXT2_I(inode)->i_flags; in ext2_set_inode_flags()
1371 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_NOATIME | in ext2_set_inode_flags()
1374 inode->i_flags |= S_SYNC; in ext2_set_inode_flags()
1376 inode->i_flags |= S_APPEND; in ext2_set_inode_flags()
1378 inode->i_flags |= S_IMMUTABLE; in ext2_set_inode_flags()
1380 inode->i_flags |= S_NOATIME; in ext2_set_inode_flags()
1382 inode->i_flags |= S_DIRSYNC; in ext2_set_inode_flags()
1384 inode->i_flags |= S_DAX; in ext2_set_inode_flags()
1452 ei->i_flags = le32_to_cpu(raw_inode->i_flags); in ext2_iget()
1580 raw_inode->i_flags = cpu_to_le32(ei->i_flags); in __ext2_write_inode()
[all …]
/kernel/linux/linux-5.10/fs/
Dstack.c73 dest->i_flags = src->i_flags; in fsstack_copy_attr_all()
/kernel/linux/linux-5.10/fs/ext4/
Dioctl.c76 tmp = ei1->i_flags & EXT4_FL_SHOULD_SWAP; in swap_inode_data()
77 ei1->i_flags = (ei2->i_flags & EXT4_FL_SHOULD_SWAP) | in swap_inode_data()
78 (ei1->i_flags & ~EXT4_FL_SHOULD_SWAP); in swap_inode_data()
79 ei2->i_flags = tmp | (ei2->i_flags & ~EXT4_FL_SHOULD_SWAP); in swap_inode_data()
136 (EXT4_I(inode)->i_flags & EXT4_JOURNAL_DATA_FL) || in swap_inode_boot_loader()
179 inode_bl->i_flags = 0; in swap_inode_boot_loader()
180 ei_bl->i_flags = 0; in swap_inode_boot_loader()
284 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable()
309 if ((ei->i_flags ^ flags) & EXT4_DAX_FL) in ext4_dax_dontcache()
350 oldflags = ei->i_flags; in ext4_ioctl_setflags()
[all …]
/kernel/linux/linux-5.10/fs/gfs2/
Dglops.c261 set_bit(GIF_GLOP_PENDING, &ip->i_flags); in gfs2_glock2inode()
282 clear_bit_unlock(GIF_GLOP_PENDING, &ip->i_flags); in gfs2_clear_glop_pending()
283 wake_up_bit(&ip->i_flags, GIF_GLOP_PENDING); in gfs2_clear_glop_pending()
317 if (test_and_clear_bit(GIF_SW_PAGED, &ip->i_flags)) in inode_go_sync()
370 set_bit(GIF_INVALID, &ip->i_flags); in inode_go_inval()
484 clear_bit(GIF_INVALID, &ip->i_flags); in gfs2_inode_refresh()
507 if (test_bit(GIF_INVALID, &ip->i_flags)) { in inode_go_lock()
556 IF2DT(ip->i_inode.i_mode), ip->i_flags, in inode_go_dump()
/kernel/linux/linux-5.10/fs/f2fs/
Dinode.c34 unsigned int flags = F2FS_I(inode)->i_flags; in f2fs_set_inode_flags()
289 if ((fi->i_flags & F2FS_CASEFOLD_FL) && !f2fs_sb_has_casefold(sbi)) { in sanity_check_inode()
297 fi->i_flags & F2FS_COMPR_FL && in sanity_check_inode()
371 fi->i_flags = le32_to_cpu(ri->i_flags); in do_read_inode()
373 fi->i_flags &= ~F2FS_PROJINHERIT_FL; in do_read_inode()
434 if (fi->i_flags & F2FS_PROJINHERIT_FL) in do_read_inode()
451 (fi->i_flags & F2FS_COMPR_FL)) { in do_read_inode()
597 ri->i_flags = cpu_to_le32(F2FS_I(inode)->i_flags); in f2fs_update_inode()
/kernel/linux/linux-5.10/fs/jbd2/
Dcommit.c213 if (!jinode || !(jinode->i_flags & JI_WRITE_DATA)) in jbd2_submit_inode_data()
224 if (!jinode || !(jinode->i_flags & JI_WAIT_DATA) || in jbd2_wait_inode_data()
249 if (!(jinode->i_flags & JI_WRITE_DATA)) in journal_submit_data_buffers()
251 jinode->i_flags |= JI_COMMIT_RUNNING; in journal_submit_data_buffers()
262 jinode->i_flags &= ~JI_COMMIT_RUNNING; in journal_submit_data_buffers()
264 wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); in journal_submit_data_buffers()
293 if (!(jinode->i_flags & JI_WAIT_DATA)) in journal_finish_inode_data_buffers()
295 jinode->i_flags |= JI_COMMIT_RUNNING; in journal_finish_inode_data_buffers()
304 jinode->i_flags &= ~JI_COMMIT_RUNNING; in journal_finish_inode_data_buffers()
306 wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); in journal_finish_inode_data_buffers()
/kernel/linux/linux-5.10/fs/hfsplus/
Dioctl.c65 if (inode->i_flags & S_IMMUTABLE) in hfsplus_getflags()
67 if (inode->i_flags & S_APPEND) in hfsplus_getflags()
Dinode.c206 inode->i_flags |= S_IMMUTABLE; in hfsplus_get_perms()
208 inode->i_flags &= ~S_IMMUTABLE; in hfsplus_get_perms()
210 inode->i_flags |= S_APPEND; in hfsplus_get_perms()
212 inode->i_flags &= ~S_APPEND; in hfsplus_get_perms()
234 if (inode->i_flags & S_DEAD) { in hfsplus_file_release()
279 if (inode->i_flags & S_APPEND) in hfsplus_getattr()
281 if (inode->i_flags & S_IMMUTABLE) in hfsplus_getattr()
/kernel/linux/linux-5.10/net/ipv4/
Dip_gre.c789 ((p->i_flags | p->o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ctl()
793 p->i_flags = gre_flags_to_tnl_flags(p->i_flags); in ipgre_tunnel_ctl()
803 t->parms.i_flags = p->i_flags; in ipgre_tunnel_ctl()
810 p->i_flags = gre_tnl_flags_to_gre_flags(p->i_flags); in ipgre_tunnel_ctl()
1144 parms->i_flags = gre_flags_to_tnl_flags(nla_get_be16(data[IFLA_GRE_IFLAGS])); in ipgre_netlink_parms()
1407 t->parms.i_flags = p.i_flags; in ipgre_changelink()
1436 t->parms.i_flags = p.i_flags; in erspan_changelink()
1498 gre_tnl_flags_to_gre_flags(p->i_flags)) || in ipgre_fill_info()

1234567