Home
last modified time | relevance | path

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

12345678

/openbmc/linux/drivers/media/pci/cx18/
H 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()
673 clear_bit(CX18_F_S_APPL_IO, &s->s_flags); in cx18_stop_capture()
[all …]
H 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()
/openbmc/linux/fs/affs/
H 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 …]
H 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 …]
/openbmc/linux/drivers/media/pci/ivtv/
H 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 …]
H A Divtv-streams.c544 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_start_v4l2_encode_stream()
735 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_start_v4l2_decode_stream()
743 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_start_v4l2_decode_stream()
782 if (test_bit(IVTV_F_S_STREAMING, &s->s_flags)) { in ivtv_stop_all_captures()
835 if (!test_bit(IVTV_F_S_PASSTHROUGH, &s->s_flags)) { in ivtv_stop_v4l2_encode_stream()
869 set_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_stop_v4l2_encode_stream()
879 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_stop_v4l2_encode_stream()
925 if (!test_bit(IVTV_F_S_STREAMING, &s->s_flags)) in ivtv_stop_v4l2_decode_stream()
959 clear_bit(IVTV_F_S_NEEDS_DATA, &s->s_flags); in ivtv_stop_v4l2_decode_stream()
960 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_stop_v4l2_decode_stream()
[all …]
H 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 …]
H 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()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H 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()
H A Dtrace_rc.h23 __field(u32, s_flags)
34 __entry->s_flags = qp->s_flags;
46 __entry->s_flags,
H A Dtrace_qp.h54 __field(u32, s_flags)
61 __entry->s_flags = qp->s_flags;
69 __entry->s_flags,
/openbmc/linux/drivers/infiniband/hw/hfi1/
H 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 …]
H 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()
H 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 …]
H 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 …]
H 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 …]
H A Dtrace_rc.h23 __field(u32, s_flags)
34 __entry->s_flags = qp->s_flags;
46 __entry->s_flags,
H 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 …]
/openbmc/linux/fs/9p/
H A Dfid.h49 static inline void v9fs_fid_add_modes(struct p9_fid *fid, unsigned int s_flags, in v9fs_fid_add_modes() argument
53 ((fid->qid.version == 0) && !(s_flags & V9FS_IGNORE_QV)) || in v9fs_fid_add_modes()
54 (s_flags & V9FS_DIRECT_IO) || (f_flags & O_DIRECT)) { in v9fs_fid_add_modes()
57 (f_flags & O_DSYNC) || (s_flags & V9FS_SYNC)) { in v9fs_fid_add_modes()
/openbmc/linux/fs/udf/
H A Dudf_sb.h70 int s_flags; member
147 unsigned long s_flags; member
171 return test_bit(flag, &UDF_SB(sb)->s_flags); in UDF_QUERY_FLAG()
176 set_bit(flag, &UDF_SB(sb)->s_flags); in UDF_SET_FLAG()
181 clear_bit(flag, &UDF_SB(sb)->s_flags); in UDF_CLEAR_FLAG()
/openbmc/linux/drivers/infiniband/hw/qib/
H 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 …]
/openbmc/linux/fs/
H A Dsuper.c124 if (sb->s_flags & SB_DYING) in super_lock()
128 if (sb->s_flags & SB_BORN) in super_lock()
167 smp_store_release(&sb->s_flags, sb->s_flags | flag); in super_wake()
174 wake_up_var(&sb->s_flags); in super_wake()
364 s->s_flags = flags; in alloc_super()
442 if (sb->s_flags & SB_DEAD) in kill_super_notify()
1150 WRITE_ONCE(sb->s_flags, ((sb->s_flags & ~fc->sb_flags_mask) | in reconfigure_super()
1339 sb->s_flags |= SB_ACTIVE; in vfs_get_super()
1582 s->s_flags |= SB_ACTIVE; in get_tree_bdev()
1635 s->s_flags |= SB_ACTIVE; in mount_bdev()
[all …]
/openbmc/linux/fs/ufs/
H A Dutil.h35 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_state()
54 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_set_fs_state()
77 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_fs_npsect()
88 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qbmask()
112 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qfmask()
134 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_get_de_namlen()
143 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_set_de_namlen()
188 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_get_inode_uid()
203 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_set_inode_uid()
222 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_get_inode_gid()
[all …]
/openbmc/linux/fs/btrfs/
H A Dsuper.h19 sb->s_flags |= SB_RDONLY; in btrfs_set_sb_rdonly()
25 sb->s_flags &= ~SB_RDONLY; in btrfs_clear_sb_rdonly()
/openbmc/linux/fs/ext4/
H 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()

12345678