Home
last modified time | relevance | path

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

/openbmc/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()
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 …]
/openbmc/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()
/openbmc/linux/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()
/openbmc/linux/drivers/gpu/drm/msm/dsi/
H A 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()
/openbmc/linux/include/sound/
H A Dmemalloc.h25 bool need_sync; /* explicit sync needed? */ member
/openbmc/linux/drivers/md/
H A Dmd-bitmap.h198 int need_sync; member
H A Dmd-bitmap.c1336 if (bitmap->need_sync && in md_bitmap_daemon_work()
1341 bitmap->need_sync = 0; in md_bitmap_daemon_work()
1375 if (*bmc == 1 && !bitmap->need_sync) { in md_bitmap_daemon_work()
1559 bitmap->need_sync = 1; in md_bitmap_endwrite()
2655 len = sprintf(page, "%s\n", (mddev->bitmap->need_sync ? in can_clear_show()
2668 mddev->bitmap->need_sync = 1; in can_clear_store()
2672 mddev->bitmap->need_sync = 0; in can_clear_store()
/openbmc/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()
1108 rfkill->need_sync = true; in rfkill_register()
/openbmc/linux/sound/core/
H A 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()
H A Dpcm_native.c2760 substream->dma_buffer.dev.need_sync) in snd_pcm_open_substream()
/openbmc/u-boot/fs/ubifs/
H A Dio.c445 wbuf->need_sync = 1; in wbuf_timer_callback_nolock()
479 wbuf->need_sync = 0; in cancel_wbuf_timer_nolock()
637 if (!wbuf->need_sync) { in ubifs_bg_wbufs_sync()
H A Dubifs.h1297 unsigned int need_sync:1; member
/openbmc/linux/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.h706 unsigned int need_sync:1; member
/openbmc/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()
/openbmc/linux/fs/gfs2/
H A 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()
H A Dquota.c1115 static bool need_sync(struct gfs2_quota_data *qd) in need_sync() function
1166 sync = need_sync(qd); in gfs2_quota_unlock()
/openbmc/linux/drivers/hid/
H A 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()
/openbmc/linux/drivers/iommu/amd/
H A Damd_iommu_types.h730 bool need_sync; member
H A Diommu.c1161 iommu->need_sync = sync; in __iommu_queue_command_sync()
1196 if (!iommu->need_sync) in iommu_completion_wait()
/openbmc/linux/drivers/input/
H A 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()
/openbmc/linux/drivers/net/
H A 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()
/openbmc/linux/kernel/sched/
H A 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()