Searched refs:sync (Results 1 - 25 of 629) sorted by last modified time

1234567891011>>

/linux-master/drivers/nvme/host/
H A Dtcp.c376 bool sync, bool last)
390 sync && empty && mutex_trylock(&queue->send_mutex)) {
375 nvme_tcp_queue_request(struct nvme_tcp_request *req, bool sync, bool last) argument
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_object.c1458 * @resv: reservation object to sync to
1472 struct amdgpu_sync sync; local
1475 amdgpu_sync_create(&sync);
1476 amdgpu_sync_resv(adev, &sync, resv, sync_mode, owner);
1477 r = amdgpu_sync_wait(&sync, intr);
1478 amdgpu_sync_free(&sync);
H A Damdgpu_amdkfd_gpuvm.c486 static int vm_update_pds(struct amdgpu_vm *vm, struct amdgpu_sync *sync) argument
496 return amdgpu_sync_fence(sync, vm->last_update);
1117 * all the reservation info in a context structure. Optionally a sync
1125 /* Pointer to sync object */
1126 struct amdgpu_sync *sync; member in struct:bo_vm_reservation_context
1151 ctx->sync = &mem->sync;
1190 ctx->sync = &mem->sync;
1224 * @wait: Optionally wait for a sync objec
1244 unmap_bo_from_gpuvm(struct kgd_mem *mem, struct kfd_mem_attachment *entry, struct amdgpu_sync *sync) argument
1259 update_gpuvm_pte(struct kgd_mem *mem, struct kfd_mem_attachment *entry, struct amdgpu_sync *sync) argument
1281 map_bo_to_gpuvm(struct kgd_mem *mem, struct kfd_mem_attachment *entry, struct amdgpu_sync *sync, bool no_update_pte) argument
1331 process_sync_pds_resv(struct amdkfd_process_info *process_info, struct amdgpu_sync *sync) argument
1351 process_update_pds(struct amdkfd_process_info *process_info, struct amdgpu_sync *sync) argument
2177 struct amdgpu_sync sync; local
2605 struct amdgpu_sync sync; local
[all...]
H A Damdgpu_umsch_mm.c83 struct amdgpu_sync sync; local
87 amdgpu_sync_create(&sync);
120 amdgpu_sync_fence(&sync, (*bo_va)->last_pt_update);
126 amdgpu_sync_fence(&sync, vm->last_update);
128 amdgpu_sync_wait(&sync, false);
131 amdgpu_sync_free(&sync);
137 amdgpu_sync_free(&sync);
141 amdgpu_sync_free(&sync);
H A Damdgpu_mes.c1184 struct amdgpu_sync sync; local
1188 amdgpu_sync_create(&sync);
1226 amdgpu_sync_fence(&sync, bo_va->last_pt_update);
1233 amdgpu_sync_fence(&sync, vm->last_update);
1235 amdgpu_sync_wait(&sync, false);
1238 amdgpu_sync_free(&sync);
1247 amdgpu_sync_free(&sync);
/linux-master/drivers/firewire/
H A Dohci.c172 u8 sync; member in struct:iso_context
3095 s32 cycle, u32 sync, u32 tags)
3124 match = (tags << 28) | (sync << 8) | ctx->base.channel;
3135 ctx->sync = sync;
3245 ohci_start_iso(&ctx->base, 0, ctx->sync, ctx->tags);
3251 ohci_start_iso(&ctx->base, 0, ctx->sync, ctx->tags);
3094 ohci_start_iso(struct fw_iso_context *base, s32 cycle, u32 sync, u32 tags) argument
/linux-master/kernel/
H A Dworkqueue.c777 * queued anywhere after initialization until it is sync canceled. pwq is
2178 static int cwt_wakefn(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) argument
2184 return autoremove_wake_function(wait, mode, sync, key);
4995 /* sync @pwq with the current state of its associated wq and link it */
H A Dcpu.c313 int sync; local
317 sync = atomic_read(st);
319 if (sync == state) {
320 if (!atomic_try_cmpxchg(st, &sync, next_state))
335 sync = atomic_read(st);
363 int sync = atomic_read(st); local
367 if (sync == SYNC_STATE_DEAD)
369 } while (!atomic_try_cmpxchg(st, &sync, SYNC_STATE_SHOULD_DIE));
405 int sync = atomic_read(st); local
408 switch (sync) {
[all...]
/linux-master/fs/nfsd/
H A Dnfs4xdr.c1980 u32 consecutive, i, count, sync; local
2000 if (xdr_stream_decode_bool(argp->xdr, &sync) < 0)
2002 nfsd4_copy_set_sync(copy, sync);
/linux-master/kernel/sched/
H A Dfair.c4618 * sync, we are only sure that util_sum must be above or equal to
7023 wake_affine_idle(int this_cpu, int prev_cpu, int sync) argument
7040 if (sync && cpu_rq(this_cpu)->nr_running == 1)
7051 int this_cpu, int prev_cpu, int sync)
7058 if (sync) {
7081 * If sync, adjust the weight of prev_eff_load such that if
7086 if (sync)
7093 int this_cpu, int prev_cpu, int sync)
7098 target = wake_affine_idle(this_cpu, prev_cpu, sync);
7101 target = wake_affine_weight(sd, p, this_cpu, prev_cpu, sync);
7050 wake_affine_weight(struct sched_domain *sd, struct task_struct *p, int this_cpu, int prev_cpu, int sync) argument
7092 wake_affine(struct sched_domain *sd, struct task_struct *p, int this_cpu, int prev_cpu, int sync) argument
8159 int sync = (wake_flags & WF_SYNC) && !(current->flags & PF_EXITING); local
[all...]
H A Dsched.h2938 struct u64_stats_sync sync; member in struct:irqtime
2955 seq = __u64_stats_fetch_begin(&irqtime->sync);
2957 } while (__u64_stats_fetch_retry(&irqtime->sync, seq));
/linux-master/
H A DMakefile286 no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \
293 may-sync-config := 1
302 ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
303 ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
304 may-sync-config :=
308 need-compiler := $(may-sync-config)
311 may-sync-config :=
762 ifdef may-sync-config
790 else # !may-sync-config
805 endif # may-sync
[all...]
/linux-master/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c317 sync();
/linux-master/fs/ntfs3/
H A Dntfs_fs.h475 int al_update(struct ntfs_inode *ni, int sync);
562 int ni_write_inode(struct inode *inode, int sync, const char *hint);
621 u64 vbo, const void *buf, size_t bytes, int sync);
632 struct ntfs_buffers *nb, int sync);
701 const struct NTFS_DUP_INFO *dup, int sync);
/linux-master/include/linux/
H A Dblkdev.h518 /* Keep blk_queue_flag_name[] in sync with the definitions below */
1499 void (*sync)(struct block_device *bdev); member in struct:blk_holder_ops
/linux-master/fs/smb/server/
H A Dvfs.c485 * @sync: fsync after write
491 char *buf, size_t count, loff_t *pos, bool sync,
539 if (sync) {
490 ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, char *buf, size_t count, loff_t *pos, bool sync, ssize_t *written) argument
H A Dsmb2pdu.c6784 loff_t offset, size_t length, bool sync)
6803 ret = ksmbd_vfs_write(work, fp, data_buf, length, &offset, sync, &nbytes);
6781 smb2_write_rdma_channel(struct ksmbd_work *work, struct smb2_write_req *req, struct ksmbd_file *fp, loff_t offset, size_t length, bool sync) argument
/linux-master/fs/bcachefs/
H A Dbtree_io.c1576 static int btree_node_read_all_replicas(struct bch_fs *c, struct btree *b, bool sync) argument
1633 if (sync) {
1645 bool sync)
1657 !btree_node_read_all_replicas(c, b, sync))
1706 if (sync) {
1716 if (sync)
1644 bch2_btree_node_read(struct btree_trans *trans, struct btree *b, bool sync) argument
/linux-master/drivers/misc/mei/
H A Dvsc-tp.c48 __u8 sync; member in struct:vsc_tp_packet
283 pkt->sync = VSC_TP_PACKET_SYNC;
/linux-master/drivers/android/
H A Dbinder.c579 bool sync)
588 if (sync)
628 * @sync: whether to do a synchronous wake-up
642 bool sync)
647 if (sync)
667 binder_wakeup_poll_threads_ilocked(proc, sync);
674 binder_wakeup_thread_ilocked(proc, thread, /* sync = */false);
2759 * the sync transaction was rejected
2820 binder_wakeup_thread_ilocked(proc, thread, !oneway /* sync */);
578 binder_wakeup_poll_threads_ilocked(struct binder_proc *proc, bool sync) argument
640 binder_wakeup_thread_ilocked(struct binder_proc *proc, struct binder_thread *thread, bool sync) argument
/linux-master/block/
H A Dioctl.c380 if (bdev->bd_holder_ops && bdev->bd_holder_ops->sync)
381 bdev->bd_holder_ops->sync(bdev);
590 * Always keep this in sync with compat_blkdev_ioctl()
/linux-master/arch/x86/kvm/svm/
H A Dsev.c2672 static int setup_vmgexit_scratch(struct vcpu_svm *svm, bool sync, u64 len) argument
2740 svm->sev_es.ghcb_sa_sync = sync;
/linux-master/tools/include/uapi/sound/
H A Dasound.h279 #define SNDRV_PCM_INFO_SYNC_APPLPTR 0x00000020 /* need the explicit sync of appl_ptr update */
290 #define SNDRV_PCM_INFO_SYNC_START 0x00400000 /* pcm support some kind of sync go */
292 #define SNDRV_PCM_INFO_HAS_WALL_CLOCK 0x01000000 /* (Deprecated)has audio wall clock for audio/system time sync */
297 #define SNDRV_PCM_INFO_EXPLICIT_SYNC 0x10000000 /* needs explicit sync of pointers and data */
351 union snd_pcm_sync_id sync; /* hardware synchronization ID */ member in struct:snd_pcm_info
493 struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */
/linux-master/mm/
H A Dshmem.c1430 * Our capabilities prevent regular writeback or sync from ever calling
1434 * threads or sync.
2171 unsigned int mode, int sync, void *key)
2173 int ret = default_wake_function(wait, mode, sync, key);
2170 synchronous_wake_function(wait_queue_entry_t *wait, unsigned int mode, int sync, void *key) argument
/linux-master/fs/fuse/
H A Dfile.c102 static void fuse_file_put(struct fuse_file *ff, bool sync) argument
113 } else if (sync) {
292 unsigned int flags, int opcode, bool sync)
333 ra->inode = sync ? NULL : igrab(&fi->inode);
2507 * - sync(2)
3030 * In such case the aio will behave exactly like sync io.
291 fuse_prepare_release(struct fuse_inode *fi, struct fuse_file *ff, unsigned int flags, int opcode, bool sync) argument

Completed in 380 milliseconds

1234567891011>>