Home
last modified time | relevance | path

Searched refs:s_flags (Results 1 – 25 of 180) sorted by relevance

12345678

/linux/drivers/media/pci/cx18/
A Dcx18-fileops.c79 set_bit(CX18_F_S_CLAIMED, &s_assoc->s_flags); in cx18_claim_stream()
82 set_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags); in cx18_claim_stream()
104 test_bit(CX18_F_S_INTERNAL_USE, &s->s_flags)) { in cx18_release_stream()
127 clear_bit(CX18_F_S_CLAIMED, &s_assoc->s_flags); in cx18_release_stream()
437 clear_bit(CX18_F_S_STREAMOFF, &s->s_flags); in cx18_read()
438 clear_bit(CX18_F_S_APPL_IO, &s->s_flags); in cx18_read()
502 set_bit(CX18_F_S_APPL_IO, &s->s_flags); in cx18_start_capture()
538 set_bit(CX18_F_S_APPL_IO, &s->s_flags); in cx18_start_capture()
566 clear_bit(CX18_F_S_STREAMING, &s->s_flags); in cx18_start_capture()
732 clear_bit(CX18_F_S_APPL_IO, &s->s_flags); in cx18_stop_capture()
[all …]
A Dcx18-alsa-pcm.c159 if (test_bit(CX18_F_S_STREAMOFF, &s->s_flags) || in snd_cx18_pcm_capture_open()
160 test_and_set_bit(CX18_F_S_STREAMING, &s->s_flags)) { in snd_cx18_pcm_capture_open()
175 set_bit(CX18_F_S_STREAMING, &s->s_flags); in snd_cx18_pcm_capture_open()
193 clear_bit(CX18_F_S_STREAMING, &s->s_flags); in snd_cx18_pcm_capture_close()
/linux/drivers/media/pci/ivtv/
A Divtv-fileops.c135 clear_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags); in ivtv_release_stream()
435 set_bit(IVTV_F_S_APPL_IO, &s->s_flags); in ivtv_start_capture()
441 …if (test_bit(IVTV_F_S_STREAMOFF, &s->s_flags) || test_and_set_bit(IVTV_F_S_STREAMING, &s->s_flags)… in ivtv_start_capture()
442 set_bit(IVTV_F_S_APPL_IO, &s->s_flags); in ivtv_start_capture()
470 set_bit(IVTV_F_S_APPL_IO, &s->s_flags); in ivtv_start_capture()
488 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_start_capture()
565 set_bit(IVTV_F_S_APPL_IO, &s->s_flags); in ivtv_write()
577 set_bit(IVTV_F_S_APPL_IO, &s->s_flags); in ivtv_write()
586 clear_bit(IVTV_F_S_APPL_IO, &s->s_flags); in ivtv_write()
829 clear_bit(IVTV_F_S_APPL_IO, &s->s_flags); in ivtv_stop_capture()
[all …]
A Divtv-streams.c547 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_start_v4l2_encode_stream()
738 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_start_v4l2_decode_stream()
746 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_start_v4l2_decode_stream()
785 if (test_bit(IVTV_F_S_STREAMING, &s->s_flags)) { in ivtv_stop_all_captures()
838 if (!test_bit(IVTV_F_S_PASSTHROUGH, &s->s_flags)) { in ivtv_stop_v4l2_encode_stream()
872 set_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_stop_v4l2_encode_stream()
882 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_stop_v4l2_encode_stream()
928 if (!test_bit(IVTV_F_S_STREAMING, &s->s_flags)) in ivtv_stop_v4l2_decode_stream()
962 clear_bit(IVTV_F_S_NEEDS_DATA, &s->s_flags); in ivtv_stop_v4l2_decode_stream()
963 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_stop_v4l2_decode_stream()
[all …]
A Divtv-irq.c127 if (!test_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in stream_enc_dma_append()
404 set_bit(IVTV_F_S_DMA_PENDING, &s->s_flags); in ivtv_dma_stream_dec_prepare()
410 set_bit(IVTV_F_S_DMA_PENDING, &s->s_flags); in ivtv_dma_stream_dec_prepare()
469 clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags); in ivtv_dma_enc_start()
481 set_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags); in ivtv_dma_enc_start()
632 if (test_and_clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags)) { in ivtv_irq_enc_dma_complete()
661 if (test_and_clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags)) { in ivtv_irq_enc_pio_complete()
780 if (test_bit(IVTV_F_S_CLAIMED, &s->s_flags) && in ivtv_irq_dec_vbi_reinsert()
782 set_bit(IVTV_F_S_PIO_PENDING, &s->s_flags); in ivtv_irq_dec_vbi_reinsert()
811 set_bit(IVTV_F_S_NEEDS_DATA, &s->s_flags); in ivtv_irq_dec_data_req()
[all …]
A Divtv-alsa-pcm.c163 if (test_bit(IVTV_F_S_STREAMOFF, &s->s_flags) || in snd_ivtv_pcm_capture_open()
164 test_and_set_bit(IVTV_F_S_STREAMING, &s->s_flags)) { in snd_ivtv_pcm_capture_open()
179 set_bit(IVTV_F_S_STREAMING, &s->s_flags); in snd_ivtv_pcm_capture_open()
197 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in snd_ivtv_pcm_capture_close()
/linux/fs/affs/
A Dsuper.c356 sb->s_flags |= SB_NODIRATIME; in affs_fill_super()
381 sbi->s_flags = mount_flags; in affs_fill_super()
470 sb->s_flags |= SB_RDONLY; in affs_fill_super()
491 affs_set_opt(sbi->s_flags, SF_OFS); in affs_fill_super()
492 sb->s_flags |= SB_NOEXEC; in affs_fill_super()
501 affs_set_opt(sbi->s_flags, SF_OFS); in affs_fill_super()
502 sb->s_flags |= SB_NOEXEC; in affs_fill_super()
518 sb->s_flags |= SB_NODEV | SB_NOSUID; in affs_fill_super()
524 tmp_flags = sb->s_flags; in affs_fill_super()
528 sb->s_flags = tmp_flags; in affs_fill_super()
[all …]
A Dinode.c71 if (affs_test_opt(sbi->s_flags, SF_SETMODE)) in affs_iget()
77 if (id == 0 || affs_test_opt(sbi->s_flags, SF_SETUID)) in affs_iget()
79 else if (id == 0xFFFF && affs_test_opt(sbi->s_flags, SF_MUFS)) in affs_iget()
85 if (id == 0 || affs_test_opt(sbi->s_flags, SF_SETGID)) in affs_iget()
87 else if (id == 0xFFFF && affs_test_opt(sbi->s_flags, SF_MUFS)) in affs_iget()
99 affs_test_opt(sbi->s_flags, SF_SETMODE)) { in affs_iget()
199 if (affs_test_opt(AFFS_SB(sb)->s_flags, SF_MUFS)) { in affs_write_inode()
205 if (!affs_test_opt(AFFS_SB(sb)->s_flags, SF_SETUID)) in affs_write_inode()
207 if (!affs_test_opt(AFFS_SB(sb)->s_flags, SF_SETGID)) in affs_write_inode()
236 (AFFS_SB(inode->i_sb)->s_flags & in affs_notify_change()
[all …]
/linux/drivers/infiniband/sw/rdmavt/
A Drc.c133 if (!(qp->s_flags & RVT_S_UNLIMITED_CREDIT)) { in rvt_get_credit()
134 qp->s_flags |= RVT_S_UNLIMITED_CREDIT; in rvt_get_credit()
135 if (qp->s_flags & RVT_S_WAIT_SSN_CREDIT) { in rvt_get_credit()
136 qp->s_flags &= ~RVT_S_WAIT_SSN_CREDIT; in rvt_get_credit()
140 } else if (!(qp->s_flags & RVT_S_UNLIMITED_CREDIT)) { in rvt_get_credit()
145 if (qp->s_flags & RVT_S_WAIT_SSN_CREDIT) { in rvt_get_credit()
146 qp->s_flags &= ~RVT_S_WAIT_SSN_CREDIT; in rvt_get_credit()
A Dtrace_rc.h23 __field(u32, s_flags)
34 __entry->s_flags = qp->s_flags;
46 __entry->s_flags,
A Dtrace_qp.h54 __field(u32, s_flags)
61 __entry->s_flags = qp->s_flags;
69 __entry->s_flags,
/linux/drivers/infiniband/hw/hfi1/
A Druc.c178 qp->s_flags |= HFI1_S_AHG_VALID; in build_ahg()
275 if (qp->s_flags & RVT_S_ECN) { in hfi1_make_ruc_header_16B()
276 qp->s_flags &= ~RVT_S_ECN; in hfi1_make_ruc_header_16B()
353 if (qp->s_flags & RVT_S_ECN) { in hfi1_make_ruc_header_9B()
354 qp->s_flags &= ~RVT_S_ECN; in hfi1_make_ruc_header_9B()
439 qp->s_flags &= ~RVT_S_BUSY; in hfi1_schedule_send_yield()
444 if (priv->s_flags & in hfi1_schedule_send_yield()
446 qp->s_flags &= ~RVT_S_BUSY; in hfi1_schedule_send_yield()
447 priv->s_flags &= in hfi1_schedule_send_yield()
543 qp->s_flags |= RVT_S_BUSY; in hfi1_do_send()
[all …]
A Dqp.c238 qp->s_flags |= HFI1_S_AHG_CLEAR; in hfi1_modify_qp()
401 if (qp->s_flags & flag) { in hfi1_qp_wakeup()
402 qp->s_flags &= ~flag; in hfi1_qp_wakeup()
416 qp->s_flags &= ~RVT_S_BUSY; in hfi1_qp_unbusy()
432 priv->s_flags &= ~RVT_S_BUSY; in hfi1_qp_unbusy()
513 if (qp->s_flags & RVT_S_WAIT_DMA) { in iowait_sdma_drained()
514 qp->s_flags &= ~RVT_S_WAIT_DMA; in iowait_sdma_drained()
623 qp->s_flags, in qp_iter_print()
783 qp->s_flags |= HFI1_S_AHG_CLEAR; in hfi1_migrate_qp()
849 !(qp->s_flags & RVT_S_BUSY) && in notify_error_qp()
[all …]
A Dtid_rdma.c147 priv->s_flags |= RVT_S_ACK_PENDING; in tid_rdma_schedule_ack()
2322 qp->s_flags |= RVT_S_ECN; in hfi1_rc_rcv_tid_rdma_read_req()
3813 qp->s_flags |= RVT_S_ECN; in hfi1_rc_rcv_tid_rdma_write_req()
4201 qp->s_flags |= RVT_S_ECN; in hfi1_rc_rcv_tid_rdma_write_resp()
4407 qp->s_flags |= RVT_S_ECN; in hfi1_rc_rcv_tid_rdma_write_data()
4975 qp->s_flags |= RVT_S_ECN; in hfi1_rc_rcv_tid_rdma_resync()
5174 priv->s_flags &= ~RVT_S_BUSY; in hfi1_make_tid_rdma_pkt()
5372 priv->s_flags |= RVT_S_BUSY; in hfi1_do_tid_send()
5385 qp->s_flags |= RVT_S_BUSY; in hfi1_do_tid_send()
5403 qp->s_flags &= ~RVT_S_BUSY; in hfi1_do_tid_send()
[all …]
A Drc.c445 qp->s_flags |= RVT_S_WAIT_DMA; in hfi1_make_rc_req()
461 qp->s_flags |= RVT_S_WAIT_PSN; in hfi1_make_rc_req()
1142 qp->s_flags |= RVT_S_WAIT_ACK; in hfi1_make_rc_req()
1170 qp->s_flags &= ~RVT_S_BUSY; in hfi1_make_rc_req()
1211 qp->s_flags |= RVT_S_ECN; in hfi1_queue_rc_ack()
1555 qp->s_flags |= RVT_S_WAIT_PSN; in reset_psn()
1626 qp->s_flags |= RVT_S_SEND_ONE; in hfi1_restart_rc()
1687 qp->s_flags |= RVT_S_SEND_ONE; in hfi1_rc_verbs_aborted()
1760 !(qp->s_flags & in hfi1_rc_send_complete()
3076 qp->s_flags |= RVT_S_ECN; in hfi1_rc_rcv()
[all …]
A Dqp.h53 return !(qp->s_flags & (RVT_S_BUSY | HFI1_S_ANY_WAIT_IO)) && in hfi1_send_ok()
55 (qp->s_flags & RVT_S_RESP_PENDING) || in hfi1_send_ok()
56 !(qp->s_flags & RVT_S_ANY_WAIT_SEND)); in hfi1_send_ok()
67 qp->s_flags &= ~(HFI1_S_AHG_VALID | HFI1_S_AHG_CLEAR); in clear_ahg()
A Dtrace_rc.h23 __field(u32, s_flags)
34 __entry->s_flags = qp->s_flags;
46 __entry->s_flags,
A Dtrace_tid.h761 __field(u32, s_flags)
781 __entry->s_flags = qp->s_flags;
800 __entry->s_flags,
899 __entry->s_flags = qp->s_flags;
919 __entry->s_flags,
1004 __entry->s_flags = qp->s_flags;
1020 __entry->s_flags,
1290 __entry->s_flags = qp->s_flags;
1304 __entry->s_flags,
1502 __entry->s_flags = qp->s_flags;
[all …]
/linux/fs/udf/
A Dudf_sb.h65 int s_flags; member
142 unsigned long s_flags; member
166 return test_bit(flag, &UDF_SB(sb)->s_flags); in UDF_QUERY_FLAG()
171 set_bit(flag, &UDF_SB(sb)->s_flags); in UDF_SET_FLAG()
176 clear_bit(flag, &UDF_SB(sb)->s_flags); in UDF_CLEAR_FLAG()
/linux/drivers/infiniband/hw/qib/
A Dqib_rc.c181 qp->s_flags &= ~RVT_S_ACK_PENDING; in qib_make_rc_ack()
249 qp->s_flags |= RVT_S_WAIT_DMA; in qib_make_rc_req()
264 qp->s_flags |= RVT_S_WAIT_PSN; in qib_make_rc_req()
299 qp->s_flags |= RVT_S_WAIT_FENCE; in qib_make_rc_req()
574 qp->s_flags &= ~RVT_S_SEND_ONE; in qib_make_rc_req()
575 qp->s_flags |= RVT_S_WAIT_ACK; in qib_make_rc_req()
586 qp->s_flags &= ~RVT_S_BUSY; in qib_make_rc_req()
814 qp->s_flags |= RVT_S_WAIT_PSN; in reset_psn()
849 qp->s_flags |= RVT_S_SEND_ONE; in qib_restart_rc()
934 qp->s_flags &= ~RVT_S_WAIT_PSN; in qib_rc_send_complete()
[all …]
/linux/fs/
A Dsuper.c140 if (!(sb->s_flags & SB_BORN)) in super_cache_count()
242 s->s_flags = flags; in alloc_super()
449 sb->s_flags &= ~SB_ACTIVE; in generic_shutdown_super()
918 WRITE_ONCE(sb->s_flags, ((sb->s_flags & ~fc->sb_flags_mask) | in reconfigure_super()
1146 sb->s_flags |= SB_ACTIVE; in vfs_get_super()
1301 s->s_flags |= SB_ACTIVE; in get_tree_bdev()
1376 s->s_flags |= SB_ACTIVE; in mount_bdev()
1421 s->s_flags |= SB_ACTIVE; in mount_nodev()
1469 s->s_flags |= SB_ACTIVE; in mount_single()
1523 sb->s_flags |= SB_BORN; in vfs_get_tree()
[all …]
/linux/fs/ufs/
A Dutil.h41 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_state()
60 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_set_fs_state()
83 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_fs_npsect()
94 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qbmask()
118 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qfmask()
140 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_get_de_namlen()
149 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_set_de_namlen()
194 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_get_inode_uid()
209 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_set_inode_uid()
228 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_get_inode_gid()
[all …]
A Dialloc.c115 if (sb->s_flags & SB_SYNCHRONOUS) in ufs_free_inode()
149 if (sb->s_flags & SB_SYNCHRONOUS) in ufs2_init_inodes_chunk()
156 if (sb->s_flags & SB_SYNCHRONOUS) in ufs2_init_inodes_chunk()
287 if (sb->s_flags & SB_SYNCHRONOUS) in ufs_new_inode()
333 if (sb->s_flags & SB_SYNCHRONOUS) in ufs_new_inode()
/linux/fs/nilfs2/
A Dthe_nilfs.c207 unsigned int s_flags = sb->s_flags; in load_nilfs() local
214 if (s_flags & SB_RDONLY) { in load_nilfs()
278 if (s_flags & SB_RDONLY) { in load_nilfs()
301 sb->s_flags &= ~SB_RDONLY; in load_nilfs()
328 sb->s_flags = s_flags; in load_nilfs()
342 sb->s_flags = s_flags; in load_nilfs()
/linux/fs/ext4/
A Dorphan.c382 unsigned int s_flags = sb->s_flags; in ext4_orphan_cleanup() local
413 if (es->s_last_orphan && !(s_flags & SB_RDONLY)) { in ext4_orphan_cleanup()
422 if (s_flags & SB_RDONLY) { in ext4_orphan_cleanup()
424 sb->s_flags &= ~SB_RDONLY; in ext4_orphan_cleanup()
431 if (ext4_has_feature_quota(sb) && (s_flags & SB_RDONLY)) { in ext4_orphan_cleanup()
508 sb->s_flags = s_flags; /* Restore SB_RDONLY status */ in ext4_orphan_cleanup()

Completed in 86 milliseconds

12345678