Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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()
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()
491 reused = hweight_long((*need_sync) ^ (*in_use)); in mlx5_crypto_dek_bulk_reset_synced()
[all …]
/linux-6.15/tools/testing/selftests/bpf/benchs/
H A 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.15/net/ipv4/
H A 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.15/drivers/gpu/drm/msm/dsi/
H A Ddsi_manager.c501 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer() local
512 if (need_sync && (id == DSI_0)) in msm_dsi_manager_cmd_xfer()
515 if (need_sync && msm_dsi0) { in msm_dsi_manager_cmd_xfer()
535 if (need_sync && msm_dsi0) in msm_dsi_manager_cmd_xfer()
/linux-6.15/include/sound/
H A Dmemalloc.h25 bool need_sync; /* explicit sync needed? */ member
/linux-6.15/net/rfkill/
H A Dcore.c51 bool need_sync; member
376 if (!rfkill->need_sync) in rfkill_sync()
380 rfkill->need_sync = false; in rfkill_sync()
1104 rfkill->need_sync = true; in rfkill_register()
/linux-6.15/sound/core/
H A Dmemalloc.c217 if (!dmab || !dmab->dev.need_sync) in snd_dma_buffer_sync()
567 dmab->dev.need_sync = dma_need_sync(dmab->dev.dev, in snd_dma_noncontig_alloc()
841 dmab->dev.need_sync = dma_need_sync(dmab->dev.dev, dmab->addr); in snd_dma_noncoherent_alloc()
H A Dpcm_native.c2780 substream->dma_buffer.dev.need_sync) in snd_pcm_open_substream()
/linux-6.15/drivers/md/
H A Dmd-bitmap.c169 int need_sync; member
1544 if (bitmap->need_sync && in bitmap_daemon_work()
1549 bitmap->need_sync = 0; in bitmap_daemon_work()
1583 if (*bmc == 1 && !bitmap->need_sync) { in bitmap_daemon_work()
1753 bitmap->need_sync = 1; in bitmap_endwrite()
2910 len = sprintf(page, "%s\n", (bitmap->need_sync ? "false" : in can_clear_show()
2926 bitmap->need_sync = 1; in can_clear_store()
2933 bitmap->need_sync = 0; in can_clear_store()
/linux-6.15/fs/ubifs/
H A 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()
H A Dubifs.h694 unsigned int need_sync:1; member
/linux-6.15/fs/gfs2/
H A Dsuper.c231 int need_sync = 0; in gfs2_statfs_change() local
245 need_sync = 1; in gfs2_statfs_change()
249 if (need_sync) in gfs2_statfs_change()
H A Dquota.c1108 static bool need_sync(struct gfs2_quota_data *qd) in need_sync() function
1160 sync = need_sync(qd); in gfs2_quota_unlock()
/linux-6.15/arch/powerpc/kvm/
H A 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.15/drivers/hid/
H A Dhid-multitouch.c948 bool need_sync = false; in mt_release_pending_palms() local
956 need_sync = true; in mt_release_pending_palms()
959 if (need_sync) { in mt_release_pending_palms()
/linux-6.15/drivers/iommu/amd/
H A Damd_iommu_types.h757 bool need_sync; member
H A Diommu.c1339 iommu->need_sync = sync; in __iommu_queue_command_sync()
1374 if (!iommu->need_sync) in iommu_completion_wait()
/linux-6.15/drivers/input/
H A Dinput.c675 bool need_sync = false; in input_dev_release_keys() local
683 need_sync = true; in input_dev_release_keys()
687 return need_sync; in input_dev_release_keys()
/linux-6.15/kernel/sched/
H A Dcore.c6114 bool need_sync; in pick_next_task() local
6157 need_sync = !!rq->core->core_cookie; in pick_next_task()
6171 need_sync = true; in pick_next_task()
6191 if (!need_sync) { in pick_next_task()
/linux-6.15/drivers/net/
H A Dvirtio_net.c277 u16 need_sync; member
913 if (dma->need_sync && len) { in virtnet_rq_unmap()
998 dma->need_sync = virtqueue_dma_need_sync(rq->vq, addr); in virtnet_rq_alloc()