Home
last modified time | relevance | path

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

12345678

/linux-6.6.21/drivers/media/pci/cx18/
Dcx18-fileops.c42 if (test_and_set_bit(CX18_F_S_CLAIMED, &s->s_flags)) { in cx18_claim_stream()
79 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()
108 if (!test_and_clear_bit(CX18_F_S_CLAIMED, &s->s_flags)) { in cx18_release_stream()
126 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream()
127 clear_bit(CX18_F_S_CLAIMED, &s_assoc->s_flags); in cx18_release_stream()
133 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream()
139 clear_bit(CX18_F_S_CLAIMED, &s_assoc->s_flags); in cx18_release_stream()
185 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) && in cx18_get_mdl()
[all …]
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-6.6.21/drivers/media/pci/ivtv/
Divtv-fileops.c39 if (test_and_set_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in ivtv_claim_stream()
78 if (!test_and_set_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags)) { in ivtv_claim_stream()
84 set_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags); in ivtv_claim_stream()
98 test_bit(IVTV_F_S_INTERNAL_USE, &s->s_flags)) { in ivtv_release_stream()
102 if (!test_and_clear_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in ivtv_release_stream()
124 if (!test_and_clear_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags)) { in ivtv_release_stream()
135 clear_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags); in ivtv_release_stream()
213 if (test_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags) && in ivtv_get_buffer()
214 !test_bit(IVTV_F_S_APPL_IO, &s_vbi->s_flags)) { in ivtv_get_buffer()
249 if (s->type != IVTV_DEC_STREAM_TYPE_VBI && !test_bit(IVTV_F_S_STREAMING, &s->s_flags)) { in ivtv_get_buffer()
[all …]
Divtv-streams.c544 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_start_v4l2_encode_stream()
728 if (test_and_set_bit(IVTV_F_S_STREAMING, &s->s_flags)) in ivtv_start_v4l2_decode_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()
[all …]
Divtv-irq.c127 if (!test_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in stream_enc_dma_append()
210 if (rc && !s->buffers_stolen && test_bit(IVTV_F_S_APPL_IO, &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()
758 set_bit(ivtv_use_pio(s) ? IVTV_F_S_PIO_PENDING : IVTV_F_S_DMA_PENDING, &s->s_flags); in ivtv_irq_enc_start_cap()
771 set_bit(ivtv_use_pio(s) ? IVTV_F_S_PIO_PENDING : IVTV_F_S_DMA_PENDING, &s->s_flags); in ivtv_irq_enc_vbi_cap()
[all …]
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-6.6.21/fs/affs/
Dsuper.c302 if (affs_test_opt(sbi->s_flags, SF_SETMODE)) in affs_show_options()
304 if (affs_test_opt(sbi->s_flags, SF_MUFS)) in affs_show_options()
306 if (affs_test_opt(sbi->s_flags, SF_NO_TRUNCATE)) in affs_show_options()
308 if (affs_test_opt(sbi->s_flags, SF_PREFIX)) in affs_show_options()
310 if (affs_test_opt(sbi->s_flags, SF_IMMUTABLE)) in affs_show_options()
316 if (affs_test_opt(sbi->s_flags, SF_SETGID)) in affs_show_options()
319 if (affs_test_opt(sbi->s_flags, SF_SETUID)) in affs_show_options()
322 if (affs_test_opt(sbi->s_flags, SF_VERBOSE)) in affs_show_options()
356 sb->s_flags |= SB_NODIRATIME; in affs_fill_super()
381 sbi->s_flags = mount_flags; in affs_fill_super()
[all …]
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()
138 inode->i_mapping->a_ops = affs_test_opt(sbi->s_flags, SF_OFS) ? 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()
[all …]
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
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()
Dtrace_rc.h23 __field(u32, s_flags)
34 __entry->s_flags = qp->s_flags;
46 __entry->s_flags,
Dtrace_qp.h54 __field(u32, s_flags)
61 __entry->s_flags = qp->s_flags;
69 __entry->s_flags,
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Druc.c167 if (unlikely(qp->s_flags & HFI1_S_AHG_CLEAR)) in build_ahg()
169 if (!(qp->s_flags & HFI1_S_AHG_VALID)) { in build_ahg()
178 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()
284 qp->s_flags &= ~HFI1_S_AHG_VALID; 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()
362 qp->s_flags &= ~HFI1_S_AHG_VALID; in hfi1_make_ruc_header_9B()
439 qp->s_flags &= ~RVT_S_BUSY; in hfi1_schedule_send_yield()
[all …]
Dqp.c238 qp->s_flags |= HFI1_S_AHG_CLEAR; in hfi1_modify_qp()
373 if (qp->s_flags & HFI1_S_ANY_WAIT_IO) in hfi1_schedule_send()
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()
426 if (priv->s_flags & HFI1_S_TID_BUSY_SET) { in hfi1_qp_unbusy()
427 priv->s_flags &= ~(HFI1_S_TID_BUSY_SET | in hfi1_qp_unbusy()
432 priv->s_flags &= ~RVT_S_BUSY; in hfi1_qp_unbusy()
469 qp->s_flags |= RVT_S_WAIT_DMA_DESC; in iowait_sleep()
513 if (qp->s_flags & RVT_S_WAIT_DMA) { in iowait_sdma_drained()
[all …]
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()
Dtid_rdma.c147 priv->s_flags |= RVT_S_ACK_PENDING; in tid_rdma_schedule_ack()
514 if (!fqp || (fqp == qp && (qp->s_flags & HFI1_S_WAIT_TID_SPACE))) in kernel_tid_waiters()
548 qp->s_flags &= ~HFI1_S_WAIT_TID_SPACE; in dequeue_tid_waiter()
573 qp->s_flags |= HFI1_S_WAIT_TID_SPACE; in queue_qp_for_tid_wait()
593 if (!(qp->s_flags & HFI1_S_WAIT_TID_SPACE)) in __trigger_tid_waiter()
653 if (qp->s_flags & HFI1_S_WAIT_TID_SPACE) { in tid_rdma_trigger_resume()
678 qp->s_flags &= ~HFI1_S_WAIT_TID_SPACE; in _tid_rdma_flush_wait()
682 qp->s_flags &= ~HFI1_S_WAIT_TID_SPACE; in _tid_rdma_flush_wait()
1812 qpriv->s_flags &= ~HFI1_R_TID_SW_PSN; in hfi1_build_tid_rdma_read_req()
2180 qpriv->s_flags &= ~HFI1_R_TID_WAIT_INTERLCK; in tid_rdma_rcv_error()
[all …]
Drc.c126 if (qp->s_flags & RVT_S_ACK_PENDING) in make_rc_ack()
133 if ((qpriv->s_flags & HFI1_R_TID_WAIT_INTERLCK) || in make_rc_ack()
348 qp->s_flags &= ~RVT_S_ACK_PENDING; in make_rc_ack()
373 qp->s_flags &= ~(RVT_S_RESP_PENDING in make_rc_ack()
433 if ((qp->s_flags & RVT_S_RESP_PENDING) && in hfi1_make_rc_req()
445 qp->s_flags |= RVT_S_WAIT_DMA; in hfi1_make_rc_req()
456 if (qp->s_flags & (RVT_S_WAIT_RNR | RVT_S_WAIT_ACK | HFI1_S_WAIT_HALT)) in hfi1_make_rc_req()
461 qp->s_flags |= RVT_S_WAIT_PSN; in hfi1_make_rc_req()
499 qp->s_flags |= RVT_S_WAIT_FENCE; in hfi1_make_rc_req()
548 if ((priv->s_flags & HFI1_S_TID_WAIT_INTERLCK) || in hfi1_make_rc_req()
[all …]
Dtrace_rc.h23 __field(u32, s_flags)
34 __entry->s_flags = qp->s_flags;
46 __entry->s_flags,
Dtrace_tid.h761 __field(u32, s_flags)
781 __entry->s_flags = qp->s_flags;
782 __entry->ps_flags = priv->s_flags;
800 __entry->s_flags,
881 __field(u32, s_flags)
899 __entry->s_flags = qp->s_flags;
900 __entry->ps_flags = ((struct hfi1_qp_priv *)qp->priv)->s_flags;
919 __entry->s_flags,
987 __field(u32, s_flags)
1004 __entry->s_flags = qp->s_flags;
[all …]
/linux-6.6.21/fs/9p/
Dfid.h49 static inline void v9fs_fid_add_modes(struct p9_fid *fid, unsigned int s_flags, in v9fs_fid_add_modes() argument
56 ((fid->qid.version == 0) && !(s_flags & V9FS_IGNORE_QV)) || in v9fs_fid_add_modes()
57 (s_flags & V9FS_DIRECT_IO) || (f_flags & O_DIRECT)) { in v9fs_fid_add_modes()
60 (f_flags & O_DSYNC) || (s_flags & V9FS_SYNC)) { in v9fs_fid_add_modes()
/linux-6.6.21/fs/udf/
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()
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_rc.c100 if (qp->s_flags & RVT_S_ACK_PENDING) in qib_make_rc_ack()
181 qp->s_flags &= ~RVT_S_ACK_PENDING; in qib_make_rc_ack()
203 qp->s_flags &= ~(RVT_S_RESP_PENDING | RVT_S_ACK_PENDING); in qib_make_rc_ack()
237 if ((qp->s_flags & RVT_S_RESP_PENDING) && in qib_make_rc_req()
249 qp->s_flags |= RVT_S_WAIT_DMA; in qib_make_rc_req()
259 if (qp->s_flags & (RVT_S_WAIT_RNR | RVT_S_WAIT_ACK)) 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()
340 if (newreq && !(qp->s_flags & RVT_S_UNLIMITED_CREDIT)) in qib_make_rc_req()
383 qp->s_flags |= RVT_S_WAIT_RDMAR; in qib_make_rc_req()
[all …]
/linux-6.6.21/fs/
Dsuper.c92 flags = smp_load_acquire(&sb->s_flags); in wait_born()
124 if (sb->s_flags & SB_DYING) in super_lock()
128 if (sb->s_flags & SB_BORN) in super_lock()
134 wait_var_event(&sb->s_flags, wait_born(sb)); 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()
263 if (!(sb->s_flags & SB_BORN)) in super_cache_count()
364 s->s_flags = flags; in alloc_super()
442 if (sb->s_flags & SB_DEAD) in kill_super_notify()
557 flags = smp_load_acquire(&sb->s_flags); in wait_dead()
[all …]
/linux-6.6.21/fs/ufs/
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()
152 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) != UFS_DE_44BSD) in ufs_set_de_type()
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()
[all …]
/linux-6.6.21/fs/btrfs/
Dsuper.h19 sb->s_flags |= SB_RDONLY; in btrfs_set_sb_rdonly()
25 sb->s_flags &= ~SB_RDONLY; in btrfs_clear_sb_rdonly()
/linux-6.6.21/fs/ext4/
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