Home
last modified time | relevance | path

Searched refs:wret (Results 1 – 8 of 8) sorted by relevance

/linux/samples/bpf/
H A Doffwaketime_user.c43 __u32 wret; member
61 if (bpf_map_lookup_elem(map_fd[1], &key->wret, ip) != 0) { in print_stack()
69 if ((key->tret == -EEXIST || key->wret == -EEXIST) && !warned) { in print_stack()
72 } else if (((int)(key->tret) < 0 || (int)(key->wret) < 0)) { in print_stack()
73 printf("err stackid %d %d\n", key->tret, key->wret); in print_stack()
H A Doffwaketime.bpf.c23 u32 wret; member
85 key.wret = 0; in update_counts()
89 key.wret = woke->ret; in update_counts()
/linux/drivers/rapidio/
H A Drio_cm.c869 long wret; in riocm_ch_receive() local
884 wret = wait_for_completion_interruptible_timeout(&ch->comp, timeout); in riocm_ch_receive()
886 riocm_debug(WAIT, "wait on %d returned %ld", ch->id, wret); in riocm_ch_receive()
888 if (!wret) in riocm_ch_receive()
890 else if (wret == -ERESTARTSYS) in riocm_ch_receive()
947 long wret; in riocm_ch_connect() local
1004 wret = wait_for_completion_interruptible_timeout(&ch->comp, in riocm_ch_connect()
1006 riocm_debug(WAIT, "wait on %d returns %ld", ch->id, wret); in riocm_ch_connect()
1008 if (!wret) in riocm_ch_connect()
1010 else if (wret == -ERESTARTSYS) in riocm_ch_connect()
[all …]
/linux/drivers/rapidio/devices/
H A Drio_mport_cdev.c684 long wret; in do_dma_request() local
746 wret = wait_for_completion_interruptible_timeout(&req->req_comp, tmo); in do_dma_request()
748 if (wret == 0) { in do_dma_request()
754 } else if (wret == -ERESTARTSYS) { in do_dma_request()
996 long wret; in rio_mport_wait_for_async_dma() local
1024 wret = wait_for_completion_interruptible_timeout(&req->req_comp, tmo); in rio_mport_wait_for_async_dma()
1026 if (wret == 0) { in rio_mport_wait_for_async_dma()
1033 } else if (wret == -ERESTARTSYS) { in rio_mport_wait_for_async_dma()
1934 long wret; in mport_cdev_release_dma() local
1967 wret = wait_for_completion_interruptible_timeout(&priv->comp, tmo); in mport_cdev_release_dma()
[all …]
/linux/fs/proc/
H A Dproc_sysctl.c1625 ssize_t wret; in process_sysctl_arg() local
1687 wret = kernel_write(file, val, len, &pos); in process_sysctl_arg()
1688 if (wret < 0) { in process_sysctl_arg()
1689 err = wret; in process_sysctl_arg()
1696 } else if (wret != len) { in process_sysctl_arg()
1698 wret, len, path, param, val); in process_sysctl_arg()
/linux/fs/btrfs/
H A Ddefrag.c438 int wret; in btrfs_defrag_leaves() local
490 wret = btrfs_search_slot(trans, root, &key, path, 0, 1); in btrfs_defrag_leaves()
492 if (wret < 0) { in btrfs_defrag_leaves()
493 ret = wret; in btrfs_defrag_leaves()
H A Dtree-log.c3130 int wret; in walk_log_tree() local
3146 wret = walk_down_log_tree(path, &level, wc); in walk_log_tree()
3147 if (wret > 0) in walk_log_tree()
3149 if (wret < 0) in walk_log_tree()
3150 return wret; in walk_log_tree()
3152 wret = walk_up_log_tree(path, &level, wc); in walk_log_tree()
3153 if (wret > 0) in walk_log_tree()
3155 if (wret < 0) in walk_log_tree()
3156 return wret; in walk_log_tree()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c790 ssize_t wret; in dm_handle_mst_sideband_msg_ready_event() local
792 wret = drm_dp_dpcd_writeb(&aconnector->dm_dp_aux.aux, in dm_handle_mst_sideband_msg_ready_event()
795 if (wret == 1) in dm_handle_mst_sideband_msg_ready_event()