Home
last modified time | relevance | path

Searched refs:need_sync (Results 1 – 23 of 23) 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()
263 if (!ctx.uc->need_sync) { in htab_mem_producer()
/linux/kernel/dma/
H A Ddirect.c575 bool need_sync = false; in dma_direct_map_sg()
581 need_sync = true; in dma_direct_map_sg() local
586 if (need_sync && !dev_is_dma_coherent(dev)) in dma_direct_map_sg()
597 bool need_sync = false; in dma_direct_map_sg()
609 need_sync = true; in dma_direct_map_sg()
629 if (need_sync && !dev_is_dma_coherent(dev)) in dma_direct_get_sgtable()
559 bool need_sync = false; dma_direct_unmap_sg() local
/linux/net/ipv4/
H A Dudp_tunnel_nic.c46 u8 need_sync:1; member
117 utn->need_sync = 1; in udp_tunnel_nic_entry_queue()
284 if (!utn->need_sync) in __udp_tunnel_nic_device_sync()
292 utn->need_sync = 0; in __udp_tunnel_nic_device_sync()
302 if (!utn->need_sync) in udp_tunnel_nic_device_sync()
552 utn->need_sync = false; in __udp_tunnel_nic_reset_ntf()
696 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
390 if (!rfkill->need_sync) in rfkill_sync()
394 rfkill->need_sync = false; in rfkill_sync()
1120 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()
571 dmab->dev.need_sync = dma_need_sync(dmab->dev.dev, in snd_dma_noncontig_alloc()
845 dmab->dev.need_sync = dma_need_sync(dmab->dev.dev, dmab->addr); in snd_dma_noncoherent_free()
H A Dpcm_native.c2905 substream->dma_buffer.dev.need_sync) in snd_pcm_capture_open()
/linux/kernel/
H A Daudit_tree.c548 bool need_sync = false; in kill_rules() local
560 need_sync = true; in kill_rules()
570 if (need_sync) in kill_rules()
/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()
1761 bitmap->need_sync = 1; in bitmap_end_write()
2231 * All chunks should be clean, but some might need_sync. in bitmap_load()
2957 len = sprintf(page, "%s\n", (bitmap->need_sync ? "false" : in can_clear_show()
2973 bitmap->need_sync = 1; in can_clear_store()
2980 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()
H A Dubifs.h698 unsigned int need_sync:1; member
/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/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.c1129 static bool need_sync(struct gfs2_quota_data *qd) in need_sync()
1181 sync = need_sync(qd); in gfs2_quota_unlock()
1123 static bool need_sync(struct gfs2_quota_data *qd) need_sync() function
/linux/include/linux/
H A Dvirtio_config.h209 bool (*need_sync)(union virtio_map map, dma_addr_t map_handle); member
/linux/drivers/iommu/amd/
H A Damd_iommu_types.h709 bool need_sync;
703 bool need_sync; global() member
H A Diommu.c1423 iommu->need_sync = sync; in __iommu_queue_command_sync()
1466 if (!iommu->need_sync) { in get_cmdsem_val()
1470 * cleared need_sync; need_sync == false only means a covering in get_cmdsem_val()
/linux/drivers/input/
H A Dinput.c739 bool need_sync = false; in input_dev_release_keys() local
747 need_sync = true; in input_dev_release_keys()
751 return need_sync; in input_dev_release_keys()
/linux/drivers/hid/
H A Dhid-multitouch.c1052 bool need_sync = false; in mt_release_pending_palms()
1061 need_sync = true; in mt_release_pending_palms()
1064 if (need_sync) { in mt_release_pending_palms()
1053 bool need_sync = false; mt_release_pending_palms() local
/linux/kernel/sched/
H A Dcore.c6305 bool need_sync = false; in pick_next_task() local
6347 need_sync |= !!rq->core->core_cookie; in pick_next_task()
6361 need_sync = true; in pick_next_task()
6383 if (!need_sync) { in pick_next_task()
/linux/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c1189 .need_sync = vduse_dev_need_sync,
/linux/drivers/virtio/
H A Dvirtio_ring.c3959 return vdev->map->need_sync(vq->map, addr);