Lines Matching refs:ret
74 int ret; in fetch_store_symstrlen() local
76 ret = sprint_symbol(namebuf, addr); in fetch_store_symstrlen()
77 if (ret < 0) in fetch_store_symstrlen()
80 return ret + 1; in fetch_store_symstrlen()
127 int total = 0, ret = 0, i = 0; in process_fetch_insn_bottom() local
136 ret = probe_mem_read(&val, (void *)val + code->offset, in process_fetch_insn_bottom()
140 ret = probe_mem_read_user(&val, in process_fetch_insn_bottom()
144 if (ret) in process_fetch_insn_bottom()
145 return ret; in process_fetch_insn_bottom()
155 ret = fetch_store_strlen(val + code->offset); in process_fetch_insn_bottom()
159 ret = fetch_store_strlen_user(val + code->offset); in process_fetch_insn_bottom()
163 ret = fetch_store_symstrlen(val + code->offset); in process_fetch_insn_bottom()
183 ret = fetch_store_string(val + code->offset, dest, base); in process_fetch_insn_bottom()
187 ret = fetch_store_string_user(val + code->offset, dest, base); in process_fetch_insn_bottom()
191 ret = fetch_store_symstring(val + code->offset, dest, base); in process_fetch_insn_bottom()
207 if (ret < 0) in process_fetch_insn_bottom()
208 ret = 0; in process_fetch_insn_bottom()
209 total += ret; in process_fetch_insn_bottom()
222 *(u32 *)dest = update_data_loc(loc, ret); in process_fetch_insn_bottom()
227 ret = total; in process_fetch_insn_bottom()
230 return code->op == FETCH_OP_END ? ret : -EILSEQ; in process_fetch_insn_bottom()
238 int i, len, ret = 0; in __get_data_size() local
245 ret += len; in __get_data_size()
249 return ret; in __get_data_size()
261 int ret, i; in store_trace_args() local
269 ret = process_fetch_insn(arg->code, rec, edata, dl, base); in store_trace_args()
270 if (arg->dynamic && likely(ret > 0)) { in store_trace_args()
271 dyndata += ret; in store_trace_args()
272 maxlen -= ret; in store_trace_args()