Home
last modified time | relevance | path

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

/linux/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()
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/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/net/ipv4/
H A Dudp_tunnel_nic.c47 u8 need_sync:1; member
119 utn->need_sync = 1; in udp_tunnel_nic_entry_queue()
286 if (!utn->need_sync) in __udp_tunnel_nic_device_sync()
294 utn->need_sync = 0; in __udp_tunnel_nic_device_sync()
304 if (!utn->need_sync) in udp_tunnel_nic_device_sync()
555 utn->need_sync = false; in __udp_tunnel_nic_reset_ntf()
699 WARN_ON(utn->need_sync); in udp_tunnel_nic_flush()
/linux/include/sound/
H A Dmemalloc.h25 bool need_sync; /* explicit sync needed? */ member
/linux/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/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.c2791 substream->dma_buffer.dev.need_sync) in snd_pcm_open_substream()
/linux/drivers/md/
H A Dmd-bitmap.c170 int need_sync; member
1546 if (bitmap->need_sync && in bitmap_daemon_work()
1551 bitmap->need_sync = 0; in bitmap_daemon_work()
1585 if (*bmc == 1 && !bitmap->need_sync) { in bitmap_daemon_work()
1754 bitmap->need_sync = 1; in bitmap_end_write()
2894 len = sprintf(page, "%s\n", (bitmap->need_sync ? "false" : in can_clear_show()
2910 bitmap->need_sync = 1; in can_clear_store()
2917 bitmap->need_sync = 0; in can_clear_store()
/linux/fs/ubifs/
H A Dio.c496 wbuf->need_sync = 1; in wbuf_timer_callback_nolock()
536 wbuf->need_sync = 0; in cancel_wbuf_timer_nolock()
691 if (!wbuf->need_sync) { in ubifs_bg_wbufs_sync()
/linux/fs/gfs2/
H A Dsuper.c223 int need_sync = 0; in gfs2_statfs_change() local
237 need_sync = 1; in gfs2_statfs_change()
241 if (need_sync) in gfs2_statfs_change()
H A Dquota.c1109 static bool need_sync(struct gfs2_quota_data *qd) in need_sync() function
1161 sync = need_sync(qd); in gfs2_quota_unlock()
/linux/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/include/linux/
H A Dvirtio_config.h209 bool (*need_sync)(union virtio_map map, dma_addr_t map_handle); member
/linux/drivers/hid/
H A Dhid-multitouch.c1007 bool need_sync = false; in mt_release_pending_palms() local
1016 need_sync = true; in mt_release_pending_palms()
1019 if (need_sync) { in mt_release_pending_palms()
/linux/drivers/input/
H A Dinput.c676 bool need_sync = false; in input_dev_release_keys() local
684 need_sync = true; in input_dev_release_keys()
688 return need_sync; in input_dev_release_keys()
/linux/kernel/sched/
H A Dcore.c6017 bool need_sync; in pick_next_task() local
6060 need_sync = !!rq->core->core_cookie; in pick_next_task()
6074 need_sync = true; in pick_next_task()
6094 if (!need_sync) { in pick_next_task()
/linux/drivers/iommu/amd/
H A Diommu.c1413 iommu->need_sync = sync; in __iommu_queue_command_sync()
1454 if (!iommu->need_sync) in iommu_completion_wait()
/linux/drivers/net/
H A Dvirtio_net.c298 u16 need_sync; member
949 if (dma->need_sync && len) { in virtnet_rq_unmap()
1034 dma->need_sync = virtqueue_map_need_sync(rq->vq, addr); in virtnet_rq_alloc()
/linux/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c1050 .need_sync = vduse_dev_need_sync,
/linux/drivers/virtio/
H A Dvirtio_ring.c3869 return vdev->map->need_sync(vq->map, addr); in virtqueue_map_need_sync()