Home
last modified time | relevance | path

Searched refs:call (Results 1 – 25 of 566) sorted by relevance

12345678910>>...23

/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/without_structs/
H A Dimplicit_dependencies_verbose.pretty1 {'acct': [{'call': 'fadvise64_64', 'reason': set([('file', 'f_mode')])},
2 {'call': 'swapoff', 'reason': set([('file', 'f_mode')])},
3 {'call': 'memfd_create', 'reason': set([('file', 'f_mode')])},
4 {'call': 'remap_file_pages', 'reason': set([('file', 'f_mode')])},
5 {'call': 'dup3', 'reason': set([('file', 'f_mode')])},
6 {'call': 'socketpair', 'reason': set([('file', 'f_mode')])},
7 {'call': 'epoll_create1', 'reason': set([('file', 'f_mode')])},
8 {'call': 'epoll_ctl', 'reason': set([('file', 'f_mode')])},
9 {'call': 'flock', 'reason': set([('file', 'f_mode')])},
10 {'call': 'openat', 'reason': set([('file', 'f_mode')])},
[all …]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/with_structs/
H A Dimplicit_dependencies_verbose1 {'accept4': [{'call': 'syncfs', 'reason': set([('fd', 'file')])},
2 {'call': 'vmsplice', 'reason': set([('fd', 'file')])},
3 {'call': 'pwritev64', 'reason': set([('fd', 'file')])},
4 {'call': 'fremovexattr', 'reason': set([('fd', 'file')])},
5 {'call': 'readahead', 'reason': set([('fd', 'file')])},
6 {'call': 'getdents', 'reason': set([('fd', 'file')])},
7 {'call': 'writev', 'reason': set([('fd', 'file')])},
8 {'call': 'preadv64', 'reason': set([('fd', 'file')])},
9 {'call': 'fchmod', 'reason': set([('fd', 'file')])},
10 {'call': 'pread64', 'reason': set([('fd', 'file')])},
[all …]
H A Dimplicit_dependencies_verbose.pretty1 {'acct': [{'call': 'eventfd2', 'reason': set([('file', 'f_mode')])},
2 {'call': 'swapoff', 'reason': set([('file', 'f_mode')])},
3 {'call': 'memfd_create', 'reason': set([('file', 'f_mode')])},
4 {'call': 'remap_file_pages', 'reason': set([('file', 'f_mode')])},
5 {'call': 'dup3', 'reason': set([('file', 'f_mode')])},
6 {'call': 'epoll_create1', 'reason': set([('file', 'f_mode')])},
7 {'call': 'epoll_ctl', 'reason': set([('file', 'f_mode')])},
8 {'call': 'flock', 'reason': set([('file', 'f_mode')])},
9 {'call': 'openat', 'reason': set([('file', 'f_mode')])},
10 {'call': 'uselib', 'reason': set([('file', 'f_mode')])},
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Ddial.c165 dial(call) in dial() argument
166 CALL call; in dial()
181 if (call.attr != NULL) {
182 if ( call.attr->c_cflag & PARENB ) {
183 Evenflag = ((call.attr->c_cflag & PARODD) ? 0 : 1);
184 Oddflag = ((call.attr->c_cflag & PARODD) ? 1 : 0);
186 line_8bit = (call.attr->c_cflag & CS8 ? 1 : 0);
189 if (call.speed <= 0)
192 sprintf(speed,"%d",call.speed);
195 if ( (call.telno != NULL) &&
[all …]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Ddial.c156 dial(CALL call) in dial() argument
171 if (call.attr != NULL) { in dial()
172 if (call.attr->c_cflag & PARENB) { in dial()
173 Evenflag = ((call.attr->c_cflag & PARODD) ? 0 : 1); in dial()
174 Oddflag = ((call.attr->c_cflag & PARODD) ? 1 : 0); in dial()
176 line_8bit = (call.attr->c_cflag & CS8 ? 1 : 0); in dial()
179 if (call.speed <= 0) in dial()
182 (void) sprintf(speed, "%d", call.speed); in dial()
185 if ((call.telno != NULL) && in dial()
186 (strlen(call.telno) != strspn(call.telno, "0123456789=-*#"))) { in dial()
[all …]
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_conn_util.c57 const struct t_call *call, in _t_snd_conn_req() argument
78 creq->DEST_length = call->addr.len; in _t_snd_conn_req()
80 creq->OPT_length = call->opt.len; in _t_snd_conn_req()
84 if (call->addr.len) { in _t_snd_conn_req()
85 if (_t_aligned_copy(ctlbufp, call->addr.len, size, in _t_snd_conn_req()
86 call->addr.buf, &creq->DEST_offset) < 0) { in _t_snd_conn_req()
97 if (call->opt.len) { in _t_snd_conn_req()
98 if (_t_aligned_copy(ctlbufp, call->opt.len, size, in _t_snd_conn_req()
99 call->opt.buf, &creq->OPT_offset) < 0) { in _t_snd_conn_req()
110 if (call->udata.len) { in _t_snd_conn_req()
[all …]
H A Dt_snddis.c45 _tx_snddis(int fd, const struct t_call *call, int api_semantics) in _tx_snddis() argument
87 if (call != NULL && call->udata.len) { in _tx_snddis()
90 (call->udata.len > in _tx_snddis()
108 (call == NULL)) { in _tx_snddis()
124 if ((tiptr->ti_lookcnt > 0) && (call == 0)) in _tx_snddis()
143 dreq.SEQ_number = (call? call->sequence: -1); in _tx_snddis()
145 databuf.maxlen = (call? call->udata.len: 0); in _tx_snddis()
146 databuf.len = (call? call->udata.len: 0); in _tx_snddis()
147 databuf.buf = (call? call->udata.buf: NULL); in _tx_snddis()
H A Dt_listen.c45 _tx_listen(int fd, struct t_call *call, int api_semantics) in _tx_listen() argument
196 call->sequence = pptr->conn_ind.SEQ_number; in _tx_listen()
198 if (_T_IS_TLI(api_semantics) || call->addr.maxlen > 0) { in _tx_listen()
200 call->addr.maxlen)) { in _tx_listen()
204 (void) memcpy(call->addr.buf, ctlbuf.buf + in _tx_listen()
207 call->addr.len = pptr->conn_ind.SRC_length; in _tx_listen()
209 if (_T_IS_TLI(api_semantics) || call->opt.maxlen > 0) { in _tx_listen()
211 call->opt.maxlen)) { in _tx_listen()
215 (void) memcpy(call->opt.buf, ctlbuf.buf + in _tx_listen()
218 call->opt.len = pptr->conn_ind.OPT_length; in _tx_listen()
[all …]
H A Dt_accept.c50 const struct t_call *call, in _tx_accept() argument
188 cres->OPT_length = call->opt.len; in _tx_accept()
190 cres->SEQ_number = call->sequence; in _tx_accept()
202 if (call->opt.len) { in _tx_accept()
203 if (_t_aligned_copy(&ctlbuf, call->opt.len, size, in _tx_accept()
204 call->opt.buf, &cres->OPT_offset) < 0) { in _tx_accept()
216 if (call->udata.len) { in _tx_accept()
219 (call->udata.len > (uint32_t)tiptr->ti_cdatasize))) { in _tx_accept()
243 (struct strbuf *)(call->udata.len? &call->udata: NULL), 0) < in _tx_accept()
256 strfdinsert.databuf.maxlen = call->udata.maxlen; in _tx_accept()
[all …]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dmisc.c90 labeld_data_t call; in blinset() local
91 labeld_data_t *callp = &call; in blinset()
95 call.callop = BLINSET; in blinset()
138 labeld_data_t call; in bslvalid() local
139 labeld_data_t *callp = &call; in bslvalid()
156 call.callop = BSLVALID; in bslvalid()
191 labeld_data_t call; in bclearvalid() local
192 labeld_data_t *callp = &call; in bclearvalid()
209 call.callop = BCLEARVALID; in bclearvalid()
239 labeld_data_t call; in labelinfo() local
[all …]
H A Dprivate.c236 labeld_data_t call; in bslcvtfull() local
237 labeld_data_t *callp = &call; in bslcvtfull()
243 call.callop = BSLCVT; in bslcvtfull()
272 if (callp != &call) in bslcvtfull()
288 if (callp != &call) in bslcvtfull()
327 labeld_data_t call; in bslcvt() local
328 labeld_data_t *callp = &call; in bslcvt()
336 call.callop = BSLCVT; in bslcvt()
358 if (callp != &call) in bslcvt()
366 if (callp != &call) in bslcvt()
[all …]
/illumos-gate/usr/src/uts/intel/dtrace/
H A Ddtrace_asm.S70 call smap_disable
77 call smap_enable
85 call smap_disable
102 call smap_enable
109 call smap_disable
111 call smap_enable
116 call smap_disable
119 call smap_enable
124 call smap_disable
127 call smap_enable
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_fn_arg_link.c76 static int print_calls_parameter(struct expression *call) in print_calls_parameter() argument
82 fn_param = get_param_num(call->fn); in print_calls_parameter()
86 arg = get_argument_from_call_expr(call->args, 0); in print_calls_parameter()
99 static int print_call_is_linked(struct expression *call) in print_call_is_linked() argument
107 fn = strip_expr(call->fn); in print_call_is_linked()
119 FOR_EACH_PTR(call->args, arg) { in print_call_is_linked()
134 static int is_recursive_call(struct expression *call) in is_recursive_call() argument
136 if (call->fn->type != EXPR_SYMBOL) in is_recursive_call()
138 if (call->fn->symbol == cur_func_sym) in is_recursive_call()
143 static void check_passes_fn_and_data(struct expression *call, struct expression *fn, char *key, cha… in check_passes_fn_and_data() argument
[all …]
H A Dsmatch_common_functions.c22 static int match_strlen(struct expression *call, void *unused, struct range_list **rl) in match_strlen() argument
27 str = get_argument_from_call_expr(call->args, 0); in match_strlen()
45 static int match_strnlen(struct expression *call, void *unused, struct range_list **rl) in match_strnlen() argument
52 match_strlen(call, NULL, rl); in match_strnlen()
53 limit = get_argument_from_call_expr(call->args, 1); in match_strnlen()
69 static int match_sprintf(struct expression *call, void *_arg, struct range_list **rl) in match_sprintf() argument
74 min = get_formatted_string_min_size(call, str_arg); in match_sprintf()
75 max = get_formatted_string_size(call, str_arg); in match_sprintf()
80 *rl = cast_rl(get_type(call), *rl); in match_sprintf()
H A Dcheck_string_len.c38 static int handle_format(struct expression *call, char **pp, int *arg_nr, bool use_max) in handle_format() argument
124 arg = get_argument_from_call_expr(call->args, *arg_nr); in handle_format()
178 int get_formatted_string_size_helper(struct expression *call, int arg, bool use_max) in get_formatted_string_size_helper() argument
184 expr = get_argument_from_call_expr(call->args, arg); in get_formatted_string_size_helper()
194 count += handle_format(call, &p, &arg, use_max); in get_formatted_string_size_helper()
206 int get_formatted_string_size(struct expression *call, int arg) in get_formatted_string_size() argument
208 return get_formatted_string_size_helper(call, arg, true); in get_formatted_string_size()
211 int get_formatted_string_min_size(struct expression *call, int arg) in get_formatted_string_min_size() argument
213 return get_formatted_string_size_helper(call, arg, false); in get_formatted_string_min_size()
216 static void match_not_limited(const char *fn, struct expression *call, void *info) in match_not_limited() argument
[all …]
H A Dcheck_passes_sizeof.c50 static int get_buf_number(struct expression *call, struct expression *size_arg) in get_buf_number() argument
58 arg = get_returned_expr(call); in get_buf_number()
62 FOR_EACH_PTR(call->args, arg) { in get_buf_number()
71 static void match_call(struct expression *call) in match_call() argument
78 if (call->fn->type != EXPR_SYMBOL) in match_call()
81 name = expr_to_var(call->fn); in match_call()
82 FOR_EACH_PTR(call->args, arg) { in match_call()
86 buf_nr = get_buf_number(call, arg); in match_call()
/illumos-gate/usr/src/uts/intel/ml/
H A Dswtch.S94 call __dtrace_probe___sched_off__cpu
124 call tsc_read; \
172 call smap_enable
180 call x86_rsb_stuff
190 call x86_bhb_clear
216 call savectx /* call ctx ops */
222 call kernel_fpu_no_swtch
232 call savepctx /* call ctx ops */
251 call hat_switch
323 call HYPERVISOR_stack_switch
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dtlx.c387 struct t_call *call; in get_new_conind() local
390 if ((call = (struct t_call *)t_alloc(fd, T_CALL, T_ALL)) == NULL) { in get_new_conind()
394 if (t_listen(fd, call) < 0) { in get_new_conind()
396 (void) t_free((char *)call, T_CALL); in get_new_conind()
400 return (call); in get_new_conind()
405 queue_conind(uu_list_t *queue, struct t_call *call) in queue_conind() argument
414 ci->call = call; in queue_conind()
434 ret = ci->call; in dequeue_conind()
453 struct t_call *call; in process_tlook() local
456 if ((call = get_new_conind(fd)) == NULL) in process_tlook()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dconf.sh200 shift; call=$1
279 ?*) call=$sys ;;
281 case $call in
283 *) sys=$call ;;
289 eval CONF_call_${key}='$'call
316 …printf "%29s %35s %8s %2s %1d %5s %s$nl" "$name" "$key" "$standard" "$call" "$section" "$flags" "$…
466 *R*) case $call in
475 case $call in
490 case $call in
494 case $call in
[all …]
/illumos-gate/usr/src/cmd/listen/
H A Dnlsaddr.c113 struct t_call *call; local
126 if (!(call = (struct t_call *)t_alloc(fd, T_CALL, T_NONE))) {
134 if (call->addr.maxlen = size)
135 call->addr.buf = p;
140 if (call->opt.maxlen = size)
141 call->opt.buf = p;
146 if (call->udata.maxlen = size)
147 call->udata.buf = p;
149 return(call);
153 t_free((char *)call, T_CALL); /* t_free will release allocated mem*/
H A Dlisten.c180 static void clr_call(struct t_call *call);
1080 struct t_call *call; in doevent() local
1092 call = current->c_cp; in doevent()
1093 if (t_listen(fd, call) < 0) { in doevent()
1095 clr_call(call); in doevent()
1100 DEBUG((9, "incoming call seq # %d", call->sequence)); in doevent()
1139 struct t_call *call; in send_dis() local
1146 call = current->c_cp; in send_dis()
1147 if (t_snddis(fd, call) < 0) { in send_dis()
1156 sprintf(scratch, "Incoming call while disabled: fd %d, seq %d", fd, call->sequence); in send_dis()
[all …]
/illumos-gate/usr/src/lib/libnls/common/
H A Dnlsenv.c129 struct t_call *call; in nlsgetcall() local
132 if (!(call = (struct t_call *) calloc(1, sizeof(struct t_call)))) in nlsgetcall()
139 call->addr.len = nlsenv(&call->addr, NLSADDR); in nlsgetcall()
140 call->opt.len = nlsenv(&call->opt, NLSOPT); in nlsgetcall()
141 call->udata.len = nlsenv(&call->udata, NLSUDATA); in nlsgetcall()
143 return (call); in nlsgetcall()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dasm.S154 DATA32 call EXT_C(real_to_prot)
194 call EXT_C(init_bios_info)
203 call EXT_C(prot_to_real)
230 call EXT_C(prot_to_real)
253 DATA32 call EXT_C(real_to_prot)
276 call 1f /* Position-independent access to */
356 call EXT_C(prot_to_real)
360 DATA32 call EXT_C(real_to_prot)
371 call EXT_C(prot_to_real)
393 call EXT_C(prot_to_real)
[all …]
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kfree.c69 struct t_call *call; in t_kfree() member
93 p.call = (struct t_call *)ptr; in t_kfree()
94 if (p.call->addr.buf != NULL) in t_kfree()
95 kmem_free(p.call->addr.buf, p.call->addr.maxlen); in t_kfree()
96 if (p.call->opt.buf != NULL) in t_kfree()
97 kmem_free(p.call->opt.buf, p.call->opt.maxlen); in t_kfree()
98 if (p.call->udata.buf != NULL) in t_kfree()
99 kmem_free(p.call->udata.buf, p.call->udata.maxlen); in t_kfree()
/illumos-gate/usr/src/common/crypto/aes/amd64/
H A Daes_intel.S452 call _key_expansion_256a
454 call _key_expansion_256b
456 call _key_expansion_256a
458 call _key_expansion_256b
460 call _key_expansion_256a
462 call _key_expansion_256b
464 call _key_expansion_256a
466 call _key_expansion_256b
468 call _key_expansion_256a
470 call _key_expansion_256b
[all …]

12345678910>>...23