Home
last modified time | relevance | path

Searched refs:need_sync (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dcrypto.c71 unsigned long *need_sync; member
301 bulk->need_sync = bitmap_zalloc(num_deks, GFP_KERNEL); in mlx5_crypto_dek_bulk_create()
302 if (!bulk->need_sync) { in mlx5_crypto_dek_bulk_create()
328 bitmap_free(bulk->need_sync); in mlx5_crypto_dek_bulk_create()
352 bitmap_free(bulk->need_sync); in mlx5_crypto_dek_bulk_free()
380 pos = find_next_zero_bit(bulk->need_sync, bulk->num_deks, in mlx5_crypto_dek_pool_pop()
384 pos = find_first_zero_bit(bulk->need_sync, bulk->num_deks); in mlx5_crypto_dek_pool_pop()
402 bitmap_set(bulk->need_sync, pos, 1); in mlx5_crypto_dek_pool_pop()
482 unsigned long *need_sync = bulk->need_sync; in mlx5_crypto_dek_bulk_reset_synced() local
490 i++, need_sync++, in_use++) { in mlx5_crypto_dek_bulk_reset_synced()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/benchs/
Dbench_htab_mem.c20 bool need_sync; member
36 { .name = "add_del_on_diff_cpu", .progs = add_del_progs, .need_sync = true },
109 if (!ctx.uc->need_sync) in htab_mem_bench_init_barriers()
252 if (!ctx.uc->need_sync) { in htab_mem_producer()
/linux-6.6.21/net/ipv4/
Dudp_tunnel_nic.c44 u8 need_sync:1; member
116 utn->need_sync = 1; in udp_tunnel_nic_entry_queue()
283 if (!utn->need_sync) in __udp_tunnel_nic_device_sync()
291 utn->need_sync = 0; in __udp_tunnel_nic_device_sync()
304 if (!utn->need_sync) in udp_tunnel_nic_device_sync()
563 utn->need_sync = false; in __udp_tunnel_nic_reset_ntf()
675 WARN_ON(utn->need_sync); in udp_tunnel_nic_flush()
/linux-6.6.21/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c571 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer() local
582 if (need_sync && (id == DSI_0)) in msm_dsi_manager_cmd_xfer()
585 if (need_sync && msm_dsi0) { in msm_dsi_manager_cmd_xfer()
605 if (need_sync && msm_dsi0) in msm_dsi_manager_cmd_xfer()
/linux-6.6.21/include/sound/
Dmemalloc.h25 bool need_sync; /* explicit sync needed? */ member
/linux-6.6.21/drivers/md/
Dmd-bitmap.h198 int need_sync; member
Dmd-bitmap.c1333 if (bitmap->need_sync && in md_bitmap_daemon_work()
1338 bitmap->need_sync = 0; in md_bitmap_daemon_work()
1372 if (*bmc == 1 && !bitmap->need_sync) { in md_bitmap_daemon_work()
1556 bitmap->need_sync = 1; in md_bitmap_endwrite()
2652 len = sprintf(page, "%s\n", (mddev->bitmap->need_sync ? in can_clear_show()
2665 mddev->bitmap->need_sync = 1; in can_clear_store()
2669 mddev->bitmap->need_sync = 0; in can_clear_store()
/linux-6.6.21/net/rfkill/
Dcore.c51 bool need_sync; member
376 if (!rfkill->need_sync) in rfkill_sync()
380 rfkill->need_sync = false; in rfkill_sync()
1108 rfkill->need_sync = true; in rfkill_register()
/linux-6.6.21/sound/core/
Dmemalloc.c211 if (!dmab || !dmab->dev.need_sync) in snd_dma_buffer_sync()
557 dmab->dev.need_sync = dma_need_sync(dmab->dev.dev, in snd_dma_noncontig_alloc()
876 dmab->dev.need_sync = dma_need_sync(dmab->dev.dev, dmab->addr); in snd_dma_noncoherent_alloc()
Dpcm_native.c2760 substream->dma_buffer.dev.need_sync) in snd_pcm_open_substream()
/linux-6.6.21/fs/ubifs/
Dio.c501 wbuf->need_sync = 1; in wbuf_timer_callback_nolock()
541 wbuf->need_sync = 0; in cancel_wbuf_timer_nolock()
696 if (!wbuf->need_sync) { in ubifs_bg_wbufs_sync()
Dubifs.h706 unsigned int need_sync:1; member
/linux-6.6.21/fs/gfs2/
Dsuper.c227 int need_sync = 0; in gfs2_statfs_change() local
241 need_sync = 1; in gfs2_statfs_change()
245 if (need_sync) in gfs2_statfs_change()
Dquota.c1115 static bool need_sync(struct gfs2_quota_data *qd) in need_sync() function
1166 sync = need_sync(qd); in gfs2_quota_unlock()
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c455 long npages, int global, bool need_sync) in do_tlbies() argument
465 if (need_sync) in do_tlbies()
475 if (need_sync) in do_tlbies()
/linux-6.6.21/drivers/hid/
Dhid-multitouch.c935 bool need_sync = false; in mt_release_pending_palms() local
943 need_sync = true; in mt_release_pending_palms()
946 if (need_sync) { in mt_release_pending_palms()
/linux-6.6.21/drivers/iommu/amd/
Damd_iommu_types.h730 bool need_sync; member
Diommu.c1161 iommu->need_sync = sync; in __iommu_queue_command_sync()
1196 if (!iommu->need_sync) in iommu_completion_wait()
/linux-6.6.21/drivers/input/
Dinput.c734 bool need_sync = false; in input_dev_release_keys() local
742 need_sync = true; in input_dev_release_keys()
746 return need_sync; in input_dev_release_keys()
/linux-6.6.21/drivers/net/
Dvirtio_net.c140 u16 need_sync; member
620 if (dma->need_sync && len) { in virtnet_rq_unmap()
706 dma->need_sync = virtqueue_dma_need_sync(rq->vq, addr); in virtnet_rq_alloc()
/linux-6.6.21/kernel/sched/
Dcore.c6078 bool need_sync; in pick_next_task() local
6123 need_sync = !!rq->core->core_cookie; in pick_next_task()
6137 need_sync = true; in pick_next_task()
6157 if (!need_sync) { in pick_next_task()