Searched refs:rl (Results 1 - 25 of 157) sorted by relevance

1234567

/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dflockf.c57 rmutex_t *rl = IOB_LCK(iop); local
59 if (rl != NULL)
60 cancel_safe_mutex_lock(rl);
61 return (rl);
67 rmutex_t *rl = IOB_LCK(iop); local
69 if (rl != NULL)
70 return (mutex_trylock(rl));
77 rmutex_t *rl = IOB_LCK(iop); local
79 if (rl != NULL)
80 (void) mutex_lock(rl);
86 rmutex_t *rl = IOB_LCK(iop); local
[all...]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_annotate.c30 struct range_list *rl; local
33 if (get_implied_rl(expr, &rl) && rl_max(rl).value != 0)
34 *res = alloc_rl(sval_type_val(rl_type(rl), 0), rl_max(rl));
H A Dsmatch_common_functions.c22 static int match_strlen(struct expression *call, void *unused, struct range_list **rl) argument
28 if (get_implied_strlen(str, rl) && sval_is_positive(rl_min(*rl))) {
29 *rl = cast_rl(&ulong_ctype, *rl);
35 *rl = alloc_rl(sval_type_val(&ulong_ctype, 0),
39 *rl = alloc_rl(sval_type_val(&ulong_ctype, 0),
45 static int match_strnlen(struct expression *call, void *unused, struct range_list **rl) argument
52 match_strlen(call, NULL, rl);
58 if (rl_to_sval(*rl,
69 match_sprintf(struct expression *call, void *_arg, struct range_list **rl) argument
[all...]
H A Dsmatch_mtag_data.c33 unsigned long *rl = _rl; local
35 *rl = strtoul(argv[0], NULL, 10);
41 struct range_list *rl = NULL; local
43 mem_sql(&save_rl, &rl, "select value from mtag_data where tag = %lld and offset = %d;",
45 return rl;
84 static void insert_mtag_data(mtag_t tag, int offset, struct range_list *rl) argument
86 rl = clone_rl_permanent(rl);
91 tag, offset, DATA_VALUE, (unsigned long)rl);
142 struct range_list *rl; local
165 struct range_list *rl; local
189 struct range_list *rl; member in struct:db_info
208 struct range_list *rl; member in struct:db_cache_results
212 get_rl_from_mtag_offset(mtag_t tag, int offset, struct symbol *type, struct range_list **rl) argument
257 get_mtag_rl(struct expression *expr, struct range_list **rl) argument
[all...]
H A Dsmatch_real_absolute.c42 struct range_list *rl; local
47 rl = rl_intersection(estate_rl(abs), estate_rl(state));
48 set_state(my_id, name, sym, alloc_estate_rl(clone_rl(rl)));
54 struct range_list *rl; local
63 rl = rl_intersection(estate_rl(cur->state), estate_rl(extra));
64 set_state(my_id, cur->name, cur->sym, alloc_estate_rl(clone_rl(rl)));
95 struct range_list *rl; local
106 get_real_absolute_rl(expr->right, &rl);
115 rl = cast_rl(type, rl);
[all...]
H A Dcheck_kernel.c30 static int implied_err_cast_return(struct expression *call, void *unused, struct range_list **rl) argument
35 if (!get_implied_rl(arg, rl)) {
36 *rl = alloc_rl(err_ptr_min, err_ptr_max);
37 *rl = cast_rl(get_type(arg), *rl);
87 struct range_list *rl; local
92 rl = estate_rl(pre_state);
93 rl = remove_range(rl, null_ptr, null_ptr);
94 rl
107 struct range_list *pre, *rl; local
129 struct range_list *rl; local
148 struct range_list *rl; local
200 match_next_bit(struct expression *call, void *unused, struct range_list **rl) argument
227 match_fls(struct expression *call, void *unused, struct range_list **rl) argument
353 struct range_list *rl; local
[all...]
H A Dsmatch_array_values.c27 struct range_list *rl; member in struct:db_info
33 struct range_list *rl; local
35 str_to_rl(db_info->type, argv[0], &rl);
36 db_info->rl = rl_union(db_info->rl, rl);
109 int get_array_rl(struct expression *expr, struct range_list **rl) argument
135 if (!db_info.rl || db_info.count >= 10)
138 *rl = db_info.rl;
151 update_cache(char *name, int is_static, struct range_list *rl) argument
162 struct range_list *orig_rl, *rl; local
[all...]
H A Dsmatch_math.c29 static int get_absolute_rl_internal(struct expression *expr, struct range_list **rl, int *recurse_cnt);
94 struct range_list *rl; local
104 rl = custom_handle_variable(expr);
105 if (rl) {
106 *res = rl;
160 struct range_list *rl; local
163 if (!get_rl_sval(expr->unop, implied, recurse_cnt, &rl, &sval))
165 if (!sval.type && !rl_to_sval(rl, &sval))
175 struct range_list *rl; local
177 rl
183 struct range_list *rl; local
433 struct range_list *rl; local
543 struct range_list *left_rl, *rl; local
576 has_actual_ranges(struct range_list *rl) argument
623 struct range_list *rl; local
677 struct range_list *rl; local
945 struct range_list *rl; local
967 struct range_list *rl; local
1135 struct range_list *rl; local
1168 struct range_list *rl; local
1197 struct range_list *rl; local
1244 struct range_list *rl; local
1272 struct range_list *rl; local
1373 struct range_list *rl = (void *)-1UL; local
1473 struct range_list *rl = NULL; local
1488 struct range_list *rl = NULL; local
1588 struct range_list *rl; local
1601 struct range_list *rl; local
1611 struct range_list *rl; local
1631 struct range_list *rl; local
1641 struct range_list *rl; local
1649 get_implied_rl(struct expression *expr, struct range_list **rl) argument
1656 get_absolute_rl_internal(struct expression *expr, struct range_list **rl, int *recurse_cnt) argument
1665 get_absolute_rl(struct expression *expr, struct range_list **rl) argument
1674 get_real_absolute_rl(struct expression *expr, struct range_list **rl) argument
1683 custom_get_absolute_rl(struct expression *expr, struct range_list *(*fn)(struct expression *expr), struct range_list **rl) argument
1696 get_implied_rl_var_sym(const char *var, struct symbol *sym, struct range_list **rl) argument
1709 struct range_list *rl; local
1719 struct range_list *rl; local
1733 struct range_list *rl; local
1747 struct range_list *rl; local
1767 struct range_list *rl; local
[all...]
H A Dsmatch_strlen.c63 struct range_list *rl; local
67 if (!get_implied_strlen(expr->right, &rl))
69 set_state_expr(my_strlen_id, expr->left, alloc_estate_rl(clone_rl(rl)));
223 static int get_strlen_from_string(struct expression *expr, struct range_list **rl) argument
230 *rl = alloc_rl(sval, sval);
235 static int get_strlen_from_state(struct expression *expr, struct range_list **rl) argument
242 *rl = estate_rl(state);
246 static int get_strlen_from_equiv(struct expression *expr, struct range_list **rl) argument
253 if (!get_implied_rl((struct expression *)state->data, rl))
261 int get_implied_strlen(struct expression *expr, struct range_list **rl) argument
279 struct range_list *rl; local
293 struct range_list *rl = NULL; local
312 struct range_list *rl; local
[all...]
H A Dsmatch_imaginary_absolute.c61 int get_imaginary_absolute(struct expression *expr, struct range_list **rl) argument
65 *rl = NULL;
71 *rl = estate_rl(state);
H A Dsmatch_buf_size.c110 struct range_list *rl = NULL; local
119 str_to_rl(&int_ctype, value, &rl);
120 if (!rl || is_whole_rl(rl))
122 state = alloc_estate_rl(rl);
260 struct range_list *rl; local
262 rl = size_from_db_symbol(expr);
263 if (rl)
264 return rl;
271 struct range_list *rl; local
541 struct range_list *rl; local
554 struct range_list *rl; local
571 struct range_list *rl; local
612 info_record_alloction(struct expression *buffer, struct range_list *rl) argument
632 store_alloc(struct expression *expr, struct range_list *rl) argument
662 struct range_list *rl; local
704 struct range_list *rl; local
717 struct range_list *rl; local
777 is_type_bytes(struct range_list *rl, struct expression *arg) argument
803 struct range_list *rl; local
844 struct range_list *rl; local
[all...]
H A Dcheck_arm64_tagged.c132 int rl_is_larger_or_equal(struct range_list *rl, sval_t sval) argument
136 FOR_EACH_PTR(rl, tmp) {
143 int rl_range_has_min_value(struct range_list *rl, sval_t sval) argument
147 FOR_EACH_PTR(rl, tmp) {
155 static bool rl_is_tagged(struct range_list *rl) argument
170 if (!rl_is_larger_or_equal(rl, invalid))
182 if (rl_range_has_min_value(rl, invalid_kernel))
190 struct range_list *rl = NULL; local
230 if (!get_user_rl(val, &rl))
234 if (!rl_is_tagged(rl))
[all...]
H A Dsmatch_type_val.c67 struct range_list *rl; member in struct:expr_rl
72 static int get_cached(struct expression *expr, struct range_list **rl, int *ret) argument
80 if (cached_results[i].rl) {
81 *rl = clone_rl(cached_results[i].rl);
91 int get_db_type_rl(struct expression *expr, struct range_list **rl) argument
99 if (get_cached(expr, rl, &ret))
108 cached_results[res_idx].rl = NULL;
121 *rl = tmp;
122 cached_results[res_idx].rl
127 add_type_val(char *member, struct range_list *rl) argument
141 add_fake_type_val(char *member, struct range_list *rl, int ignore) argument
164 add_global_type_val(char *member, struct range_list *rl) argument
462 struct range_list *rl; local
521 struct range_list *rl; local
541 struct range_list *rl; local
558 struct range_list *rl; local
576 struct range_list *rl; local
593 struct range_list *rl; local
[all...]
H A Dsmatch_kernel_user_data.c91 struct range_list *rl; local
96 rl = rl_intersection(estate_rl(user), estate_rl(extra));
97 state = alloc_estate_rl(clone_rl(rl));
108 struct range_list *rl; local
113 rl = rl_intersection(estate_rl(user), estate_rl(state));
114 if (rl_equiv(rl, estate_rl(user)))
116 new = alloc_estate_rl(rl);
155 struct range_list *rl; local
172 if (get_user_rl(expr, &rl))
181 struct range_list *rl; local
424 get_rl_from_function(struct expression *expr, struct range_list **rl) argument
444 struct range_list *rl; local
578 struct range_list *rl; local
611 struct range_list *rl; local
681 strip_negatives(struct range_list *rl) argument
817 get_user_macro_rl(struct expression *expr, struct range_list **rl) argument
878 db_returned_user_rl(struct expression *call, struct range_list **rl) argument
903 struct range_list *rl; local
1003 get_user_rl(struct expression *expr, struct range_list **rl) argument
1024 get_user_rl_var_sym(const char *name, struct symbol *sym, struct range_list **rl) argument
1038 struct range_list *rl; local
1088 struct range_list *rl; local
1169 struct range_list *rl = NULL; local
1256 struct range_list *rl; local
1276 struct range_list *rl = NULL; local
1359 struct range_list *rl; local
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Drune.c57 _RuneLocale *rl; local
155 rl = (_RuneLocale *)(void *)data;
156 rl->__variable = rl + 1;
158 (void) memcpy(rl->__magic, _RUNE_MAGIC_1, sizeof (rl->__magic));
159 (void) memcpy(rl->__encoding, frl->encoding, sizeof (rl->__encoding));
161 rl->__variable_len = frl->variable_len;
162 rl
[all...]
H A Dsetrunelocale.c101 _RuneLocale *rl; local
115 if ((rl = _Read_RuneMagi(path)) == NULL) {
120 ldata->l_data[1] = rl;
127 lct->lc_ctype_mask = rl->__runetype;
128 lct->lc_trans_upper = rl->__mapupper;
129 lct->lc_trans_lower = rl->__maplower;
134 if ((strncmp(rl->__encoding, encodings[i].e_name, l) == 0) &&
135 (rl->__encoding[l] == '\0' || rl->__encoding[l] == '@')) {
H A Dwcwidth.c56 const _RuneLocale *rl = loc->runelocale; local
61 x = ((wc < 0 || wc >= _CACHED_RUNES) ? __runetype(rl, wc) :
62 rl->__runetype[wc]) & (_CTYPE_SWM|_CTYPE_R);
H A Drunetype.c41 __runetype(const _RuneLocale *rl, __ct_rune_t c) argument
44 const _RuneRange *rr = &rl->__runetype_ext;
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_utils.c70 RLEAF *rl; local
99 rl = GETRLEAF(e->page, e->index);
100 if (rl->flags & P_BIGDATA) {
101 if (__ovfl_get(t, rl->bytes,
107 if (rl->dsize + 1 > t->bt_rdata.size) {
109 malloc(rl->dsize + 1) :
110 realloc(t->bt_rdata.data, rl->dsize + 1));
114 t->bt_rdata.size = rl->dsize + 1;
116 memmove(t->bt_rdata.data, rl->bytes, rl
[all...]
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_rules.c100 ilb_rule_info_t *rl; local
107 rl = (ilb_rule_info_t *)&ic->ic_data;
114 (void) strlcpy(rl->rl_name, rd->r_name, sizeof (rl->rl_name));
115 (void) strlcpy(rl->rl_sgname, rd->r_sgname, sizeof (rl->rl_sgname));
116 (void) strlcpy(rl->rl_hcname, rd->r_hcname, sizeof (rl->rl_hcname));
117 rl->rl_flags = rd->r_flags;
118 rl
232 ilb_rule_info_t *rl = NULL; local
[all...]
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_stat.c178 rpcbs_rmtcalllist *rl; local
189 for (s = rl = inf[rtype].rmtinfo; rl; rl = rl->next) {
190 if ((rl->prog == prog) && (rl->vers == vers) &&
191 (rl->proc == proc) && (strcmp(rl->netid, netid) == 0)) {
195 atomic_add_int((uint_t *)&rl
[all...]
/illumos-gate/usr/src/cmd/localedef/
H A Dctype.c260 _FileRuneLocale rl; local
267 (void) memset(&rl, 0, sizeof (rl));
275 (void) memcpy(rl.magic, _FILE_RUNE_MAGIC_1, 8);
276 (void) strlcpy(rl.encoding, get_wide_encoding(), sizeof (rl.encoding));
282 rl.maplower[wc] = wc;
283 rl.mapupper[wc] = wc;
371 rl.runetype[wc] = ctn->ctype;
373 rl
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_rules.c134 ilbd_rule_t *rl; local
145 for (rl = list_head(rlist); rl != NULL; rl = list_next(rlist, rl)) {
146 r_minport = ntohs(rl->irl_minport);
147 r_maxport = ntohs(rl->irl_maxport);
151 if (rl->irl_topo == ILB_TOPO_DSR) {
166 if (rl->irl_hcpflag == ILB_HCI_PROBE_FIX &&
167 rl
257 ilbd_rule_t *rl; local
269 ilbd_rule_t *rl; local
285 ilb_get_krule(ilb_rule_info_t *rl) argument
1018 i_update_ksrv_rules(char *name, ilbd_sg_t *sg, ilbd_rule_t *rl) argument
1104 ilbd_create_rule(ilb_rule_info_t *rl, int ev_port, const struct passwd *ps, ucred_t *ucredp) argument
1250 ilbd_rule_t *rl, *del_rl; local
1348 ilbd_rule_t *rl, *add_rl; local
[all...]
/illumos-gate/usr/src/test/util-tests/tests/dis/risc-v/
H A D64.rv64a.s28 lr.d.rl s2, (s3)
32 sc.d.rl s2, s4, (s1)
36 amoswap.d.rl t2, t3, (t4)
40 amoadd.d.rl t2, t3, (t4)
44 amoxor.d.rl t2, t3, (t4)
48 amoand.d.rl t2, t3, (t4)
52 amoor.d.rl t2, t3, (t4)
56 amomin.d.rl t2, t3, (t4)
60 amomax.d.rl t2, t3, (t4)
64 amominu.d.rl t
[all...]
H A Dtst.rv32a.s28 lr.w.rl s2, (s3)
32 sc.w.rl s2, s4, (s1)
36 amoswap.w.rl t2, t3, (t4)
40 amoadd.w.rl t2, t3, (t4)
44 amoxor.w.rl t2, t3, (t4)
48 amoand.w.rl t2, t3, (t4)
52 amoor.w.rl t2, t3, (t4)
56 amomin.w.rl t2, t3, (t4)
60 amomax.w.rl t2, t3, (t4)
64 amominu.w.rl t
[all...]

Completed in 280 milliseconds

1234567