Home
last modified time | relevance | path

Searched refs:sync_mode (Results 1 – 25 of 94) sorted by relevance

1234

/linux-6.1.9/include/trace/events/
Dwriteback.h313 __field(int, sync_mode)
321 __entry->sync_mode = wbc->sync_mode;
328 __entry->sync_mode,
354 __field(int, sync_mode)
365 __entry->sync_mode = work->sync_mode;
377 __entry->sync_mode,
451 __field(int, sync_mode)
465 __entry->sync_mode = wbc->sync_mode;
481 __entry->sync_mode,
Dext4.h443 __field( int, sync_mode )
456 __entry->sync_mode = wbc->sync_mode;
467 __entry->range_end, __entry->sync_mode,
483 __field( int, sync_mode )
491 __entry->sync_mode = wbc->sync_mode;
498 __entry->nr_to_write, __entry->sync_mode)
541 __field( int, sync_mode )
551 __entry->sync_mode = wbc->sync_mode;
559 __entry->sync_mode,
/linux-6.1.9/drivers/iio/imu/
Dadis16475.c77 u16 sync_mode; member
105 u16 sync_mode; member
267 if (st->sync_mode == ADIS16475_SYNC_SCALED) { in adis16475_get_freq()
313 if (st->sync_mode == ADIS16475_SYNC_SCALED) { in adis16475_set_freq()
1128 u32 sync_mode; in adis16475_config_sync_mode() local
1133 ret = device_property_read_u32(dev, "adi,sync-mode", &sync_mode); in adis16475_config_sync_mode()
1137 if (sync_mode >= st->info->num_sync) { in adis16475_config_sync_mode()
1138 dev_err(dev, "Invalid sync mode: %u for %s\n", sync_mode, in adis16475_config_sync_mode()
1143 sync = &st->info->sync[sync_mode]; in adis16475_config_sync_mode()
1144 st->sync_mode = sync->sync_mode; in adis16475_config_sync_mode()
[all …]
/linux-6.1.9/fs/
Dfs-writeback.c45 enum writeback_sync_modes sync_mode; member
960 (base_work->sync_mode == WB_SYNC_NONE || in bdi_split_work_to_wbs()
1066 work->sync_mode = WB_SYNC_NONE; in cgroup_writeback_by_id()
1517 (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages)) in requeue_inode()
1596 if (wbc->sync_mode == WB_SYNC_ALL && !wbc->for_sync) { in __writeback_single_inode()
1608 (wbc->sync_mode == WB_SYNC_ALL || in __writeback_single_inode()
1689 if (wbc->sync_mode != WB_SYNC_ALL) in writeback_single_inode()
1702 (wbc->sync_mode != WB_SYNC_ALL || in writeback_single_inode()
1763 if (work->sync_mode == WB_SYNC_ALL || work->tagged_writepages) in writeback_chunk_size()
1790 .sync_mode = work->sync_mode, in writeback_sb_inodes()
[all …]
Dsync.c286 int sync_mode = WB_SYNC_NONE; in sync_file_range() local
290 sync_mode = WB_SYNC_ALL; in sync_file_range()
293 sync_mode); in sync_file_range()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_cpu.c49 enum amdgpu_sync_mode sync_mode) in amdgpu_vm_cpu_prepare() argument
54 return amdgpu_bo_sync_wait_resv(p->adev, resv, sync_mode, p->vm, true); in amdgpu_vm_cpu_prepare()
Damdgpu_vm_sdma.c62 enum amdgpu_sync_mode sync_mode) in amdgpu_vm_sdma_prepare() argument
78 return amdgpu_sync_resv(p->adev, &p->job->sync, resv, sync_mode, p->vm); in amdgpu_vm_sdma_prepare()
/linux-6.1.9/drivers/scsi/
Ddc395x.c270 u8 sync_mode; /* 0:async mode */ member
1128 dcb->sync_mode &= ~(SYNC_NEGO_DONE + WIDE_NEGO_DONE); in reset_dev_param()
1137 dcb->sync_mode &= ~WIDE_NEGO_ENABLE; in reset_dev_param()
1400 && (((dcb->sync_mode & WIDE_NEGO_ENABLE) in start_scsi()
1401 && !(dcb->sync_mode & WIDE_NEGO_DONE)) in start_scsi()
1402 || ((dcb->sync_mode & SYNC_NEGO_ENABLE) in start_scsi()
1403 && !(dcb->sync_mode & SYNC_NEGO_DONE))) in start_scsi()
1410 if (dcb->sync_mode & WIDE_NEGO_ENABLE in start_scsi()
1416 if (dcb->sync_mode & SYNC_NEGO_ENABLE in start_scsi()
1421 if (dcb->sync_mode & WIDE_NEGO_ENABLE in start_scsi()
[all …]
/linux-6.1.9/fs/gfs2/
Daops.c243 if (wbc->sync_mode != WB_SYNC_NONE) in gfs2_write_jdata_pagevec()
283 if (--wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) { in gfs2_write_jdata_pagevec()
334 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in gfs2_write_cache_jdata()
340 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in gfs2_write_cache_jdata()
392 if (ret == 0 && wbc->sync_mode == WB_SYNC_ALL) { in gfs2_jdata_writepages()
Dtrace_gfs2.h410 __field( int, sync_mode )
417 __entry->sync_mode = wbc->sync_mode;
423 __entry->sync_mode == WB_SYNC_ALL ? "all" : "none",
/linux-6.1.9/include/linux/
Dwriteback.h55 enum writeback_sync_modes sync_mode; member
103 if (wbc->sync_mode == WB_SYNC_ALL) in wbc_to_write_flags()
Domap-dma.h219 int sync_mode; /* sycn on element, frame , block or packet */ member
315 int sync_mode,
/linux-6.1.9/drivers/bluetooth/
Dbtbcm.h40 __u8 sync_mode; member
/linux-6.1.9/arch/arm/mach-omap1/
Domap-dma.c147 int frame_count, int sync_mode, in omap_set_dma_transfer_params() argument
160 if (sync_mode == OMAP_DMA_SYNC_FRAME) in omap_set_dma_transfer_params()
166 if (sync_mode == OMAP_DMA_SYNC_BLOCK) in omap_set_dma_transfer_params()
/linux-6.1.9/drivers/scsi/aacraid/
Dcomminit.c463 dev->sync_mode) { in aac_define_int_mode()
547 dev->sync_mode = aac_sync_mode; in aac_init_adapter()
564 dev->sync_mode = 1; in aac_init_adapter()
/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6afe-dai.c20 uint32_t sync_mode; member
266 tdm->sync_mode = dai_data->priv[dai->id].sync_mode; in q6tdm_hw_params()
1007 &priv->sync_mode); in of_q6afe_parse_dai_data()
Dq6afe.h191 u16 sync_mode; member
/linux-6.1.9/fs/ceph/
Daddr.c673 if (wbc->sync_mode == WB_SYNC_NONE && in ceph_writepage()
804 if (wbc->sync_mode == WB_SYNC_NONE && in ceph_writepages_start()
809 wbc->sync_mode == WB_SYNC_NONE ? "NONE" : in ceph_writepages_start()
810 (wbc->sync_mode == WB_SYNC_ALL ? "ALL" : "HOLD")); in ceph_writepages_start()
909 wbc->sync_mode != WB_SYNC_NONE) in ceph_writepages_start()
933 if (wbc->sync_mode == WB_SYNC_NONE) { in ceph_writepages_start()
1164 if (wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) in ceph_writepages_start()
1180 if (wbc->sync_mode != WB_SYNC_NONE && in ceph_writepages_start()
/linux-6.1.9/fs/nfs/
Dwrite.c394 if (wbc->sync_mode == WB_SYNC_ALL) in wb_priority()
637 if (wbc->sync_mode == WB_SYNC_NONE) in nfs_page_async_flush()
669 if (wbc->sync_mode == WB_SYNC_NONE && in nfs_writepage_locked()
716 if (wbc->sync_mode == WB_SYNC_NONE && in nfs_writepages()
1947 if (wbc && wbc->sync_mode == WB_SYNC_NONE) { in __nfs_commit_inode()
1975 if (wbc->sync_mode == WB_SYNC_NONE) { in nfs_write_inode()
2081 .sync_mode = WB_SYNC_ALL, in nfs_wb_page()
Dnfs4super.c53 wbc->sync_mode == WB_SYNC_ALL); in nfs4_write_inode()
/linux-6.1.9/fs/afs/
Dwrite.c726 if (wbc->sync_mode != WB_SYNC_NONE) { in afs_writepages_region()
750 if (wbc->sync_mode != WB_SYNC_NONE) { in afs_writepages_region()
759 if (wbc->sync_mode == WB_SYNC_NONE) { in afs_writepages_region()
802 if (wbc->sync_mode == WB_SYNC_ALL) in afs_writepages()
/linux-6.1.9/drivers/clk/
Dclk-lmk04832.c251 unsigned int sync_mode; member
819 lmk->sync_mode)); in lmk04832_sclk_sync_sequence()
995 FIELD_PREP(LMK04832_BIT_SYNC_MODE, lmk->sync_mode)); in lmk04832_register_sclk()
1439 lmk->sync_mode = LMK04832_VAL_SYNC_MODE_OFF; in lmk04832_probe()
1441 &lmk->sync_mode); in lmk04832_probe()
/linux-6.1.9/fs/ext4/
Dpage-io.c376 if (io->io_wbc->sync_mode == WB_SYNC_ALL) in ext4_io_submit()
521 (io->io_bio || wbc->sync_mode == WB_SYNC_ALL)) { in ext4_bio_write_page()
/linux-6.1.9/mm/
Dpage-writeback.c2307 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) { in write_cache_pages()
2349 if (wbc->sync_mode != WB_SYNC_NONE) in write_cache_pages()
2377 } else if (wbc->sync_mode != WB_SYNC_ALL) { in write_cache_pages()
2394 wbc->sync_mode == WB_SYNC_NONE) { in write_cache_pages()
2472 if ((ret != -ENOMEM) || (wbc->sync_mode != WB_SYNC_ALL)) in do_writepages()
2511 .sync_mode = WB_SYNC_ALL, in folio_write_one()
/linux-6.1.9/fs/sysv/
Dialloc.c144 .sync_mode = WB_SYNC_NONE in sysv_new_inode()

1234