Searched refs:sm (Results 1 - 25 of 289) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dpath.c12 #include <sm/gen.h>
15 #include <sm/path.h>
16 #include <sm/string.h>
H A Dstrerror.c16 #include <sm/gen.h>
26 #include <sm/io.h> /* sm_snprintf */
27 #include <sm/string.h>
28 #include <sm/conf.h>
29 #include <sm/errstring.h>
H A Dvprintf.c17 #include <sm/gen.h>
19 #include <sm/io.h>
H A Dxtrap.c12 #include <sm/gen.h>
15 #include <sm/xtrap.h>
H A Dclrerr.c17 #include <sm/gen.h>
19 #include <sm/io.h>
20 #include <sm/assert.h>
H A Dfeof.c17 #include <sm/gen.h>
19 #include <sm/io.h>
20 #include <sm/assert.h>
H A Dferror.c17 #include <sm/gen.h>
19 #include <sm/io.h>
20 #include <sm/assert.h>
H A Dget.c17 #include <sm/gen.h>
19 #include <sm/io.h>
20 #include <sm/assert.h>
34 ** This is a function version of the macro (in <sm/io.h>).
H A Drewind.c17 #include <sm/gen.h>
20 #include <sm/io.h>
21 #include <sm/assert.h>
H A Dt-heap.c12 #include <sm/gen.h>
15 #include <sm/debug.h>
16 #include <sm/heap.h>
17 #include <sm/io.h>
18 #include <sm/test.h>
19 #include <sm/xtrap.h>
H A Dt-path.c12 #include <sm/gen.h>
16 #include <sm/path.h>
17 #include <sm/test.h>
H A Dfprintf.c17 #include <sm/gen.h>
19 #include <sm/varargs.h>
20 #include <sm/io.h>
21 #include <sm/assert.h>
H A Dfscanf.c17 #include <sm/gen.h>
19 #include <sm/varargs.h>
20 #include <sm/assert.h>
21 #include <sm/io.h>
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dversion.c14 #include <sm/gen.h>
/illumos-gate/usr/src/lib/libtecla/common/
H A Dstrngmem.c63 StringMem *sm; /* The container to be returned. */ local
74 sm = (StringMem *) malloc(sizeof(StringMem));
75 if(!sm) {
84 sm->nmalloc = 0;
85 sm->fl = NULL;
89 sm->fl = _new_FreeList(SM_STRLEN, blocking_factor);
90 if(!sm->fl)
91 return _del_StringMem(sm, 1);
95 return sm;
102 * sm StringMe
113 _del_StringMem(StringMem *sm, int force) argument
144 _new_StringMemString(StringMem *sm, size_t length) argument
192 _del_StringMemString(StringMem *sm, char *s) argument
[all...]
H A Dstrngmem.h70 StringMem *_del_StringMem(StringMem *sm, int force);
75 char *_new_StringMemString(StringMem *sm, size_t size);
80 char *_del_StringMemString(StringMem *sm, char *s);
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_implied.c94 static void print_debug_tf(struct sm_state *sm, int istrue, int isfalse) argument
100 printf("%s: %d: does not exist.\n", show_sm(sm), sm->line);
102 printf("'%s = %s' from %d is true. %s[stree %d]\n", sm->name, show_state(sm->state),
103 sm->line, sm->merged ? "[merged]" : "[leaf]",
104 get_stree_id(sm->pool));
106 printf("'%s = %s' from %d is false. %s[stree %d]\n", sm->name, show_state(sm
118 create_fake_history(struct sm_state *sm, int comparison, struct range_list *rl) argument
237 do_compare(struct sm_state *sm, int comparison, struct range_list *rl, struct state_list **true_stack, struct state_list **maybe_stack, struct state_list **false_stack, int *mixed, struct sm_state *gate_sm) argument
277 is_checked(struct state_list *checked, struct sm_state *sm) argument
296 __separate_pools(struct sm_state *sm, int comparison, struct range_list *rl, struct state_list **true_stack, struct state_list **maybe_stack, struct state_list **false_stack, struct state_list **checked, int *mixed, struct sm_state *gate_sm, struct timeval *start_time) argument
337 separate_pools(struct sm_state *sm, int comparison, struct range_list *rl, struct state_list **true_stack, struct state_list **false_stack, struct state_list **checked, int *mixed) argument
351 struct sm_state *sm; local
379 sm_in_keep_leafs(struct sm_state *sm, const struct state_list *keep_gates) argument
418 sm_state_info(struct sm_state *sm) argument
449 filter_pools(struct sm_state *sm, const struct state_list *remove_stack, const struct state_list *keep_stack, int *modified, int *recurse_cnt, struct timeval *start, int *skip, int *bail) argument
578 separate_and_filter(struct sm_state *sm, int comparison, struct range_list *rl, struct stree *pre_stree, struct stree **true_states, struct stree **false_states, int *mixed) argument
649 struct sm_state *sm; local
684 struct sm_state *sm = NULL; local
734 struct sm_state *sm; local
776 struct sm_state *sm; local
817 struct sm_state *sm; local
843 struct sm_state *sm; local
888 struct sm_state *sm; local
928 struct sm_state *sm; local
988 struct sm_state *sm; local
[all...]
H A Dcheck_check_deref.c43 static void is_ok(struct sm_state *sm, struct expression *mod_expr) argument
45 set_state(my_id, sm->name, sm->sym, &ok);
50 struct sm_state *sm; local
58 sm = get_sm_state_expr(my_id, expr);
59 if (!sm)
61 if (is_ignored(my_id, sm->name, sm->sym))
66 FOR_EACH_PTR(sm->possible, tmp) {
74 add_ignore(my_id, sm
82 struct sm_state *sm; local
[all...]
H A Dcheck_capable.c57 struct sm_state *sm; local
59 FOR_EACH_MY_SM(capable_id, __get_cur_stree(), sm) {
60 if (sm->state == &capable)
61 sql_insert_caller_info(call, CAPABLE, 0, sm->name, "");
62 } END_FOR_EACH_SM(sm);
64 FOR_EACH_MY_SM(ns_capable_id, __get_cur_stree(), sm) {
65 if (sm->state == &capable)
66 sql_insert_caller_info(call, NS_CAPABLE, 0, sm->name, "");
67 } END_FOR_EACH_SM(sm);
72 struct sm_state *sm; local
[all...]
H A Dcheck_snprintf.c24 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) argument
26 set_state(my_id, sm->name, sm->sym, &undefined);
42 static int get_old_buflen(struct sm_state *sm) argument
47 FOR_EACH_PTR(sm->possible, tmp) {
57 struct sm_state *sm; local
62 sm = get_sm_state_expr(my_id, arg);
63 if (!sm)
65 old_buflen = get_old_buflen(sm);
70 sm
[all...]
H A Dcheck_frees_param.c34 static void set_ignore(struct sm_state *sm, struct expression *mod_expr) argument
36 set_state(my_id, sm->name, sm->sym, &ignore);
55 struct sm_state *sm; local
61 sm = get_sm_state_expr(my_id, expr);
62 if (sm && slist_has_state(sm->possible, &ignore))
87 struct sm_state *sm; local
91 FOR_EACH_MY_SM(my_id, __get_cur_stree(), sm) {
92 if (sm
[all...]
H A Dcheck_return_enomem.c31 struct sm_state *sm; local
48 FOR_EACH_MY_SM(SMATCH_EXTRA, stree, sm) {
49 if (!estate_get_single_value(sm->state, &sval) || sval.value != 0)
51 expr = get_assigned_expr_name_sym(sm->name, sm->sym);
70 } END_FOR_EACH_SM(sm);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspace_map.c89 space_map_iterate(space_map_t *sm, uint64_t end, sm_cb_t callback, void *arg) argument
91 uint64_t blksz = sm->sm_blksz;
94 ASSERT3U(end, <=, space_map_length(sm));
97 dmu_prefetch(sm->sm_os, space_map_object(sm), 0, 0, end,
104 error = dmu_buf_hold(sm->sm_os, space_map_object(sm),
147 uint64_t entry_offset = (raw_offset << sm->sm_shift) +
148 sm->sm_start;
149 uint64_t entry_run = raw_run << sm
181 space_map_reversed_last_block_entries(space_map_t *sm, uint64_t *buf, uint64_t bufsz, uint64_t *nwords) argument
254 space_map_incremental_destroy(space_map_t *sm, sm_cb_t callback, void *arg, dmu_tx_t *tx) argument
399 space_map_load_length(space_map_t *sm, range_tree_t *rt, maptype_t maptype, uint64_t length) argument
426 space_map_load(space_map_t *sm, range_tree_t *rt, maptype_t maptype) argument
432 space_map_histogram_clear(space_map_t *sm) argument
441 space_map_histogram_verify(space_map_t *sm, range_tree_t *rt) argument
455 space_map_histogram_add(space_map_t *sm, range_tree_t *rt, dmu_tx_t *tx) argument
505 space_map_write_intro_debug(space_map_t *sm, maptype_t maptype, dmu_tx_t *tx) argument
528 space_map_write_seg(space_map_t *sm, uint64_t rstart, uint64_t rend, maptype_t maptype, uint64_t vdev_id, uint8_t words, dmu_buf_t **dbp, void *tag, dmu_tx_t *tx) argument
648 space_map_write_impl(space_map_t *sm, range_tree_t *rt, maptype_t maptype, uint64_t vdev_id, dmu_tx_t *tx) argument
734 space_map_write(space_map_t *sm, range_tree_t *rt, maptype_t maptype, uint64_t vdev_id, dmu_tx_t *tx) argument
775 space_map_open_impl(space_map_t *sm) argument
793 space_map_t *sm; local
819 space_map_close(space_map_t *sm) argument
833 space_map_truncate(space_map_t *sm, int blocksize, dmu_tx_t *tx) argument
923 space_map_free(space_map_t *sm, dmu_tx_t *tx) argument
938 space_map_estimate_optimal_size(space_map_t *sm, range_tree_t *rt, uint64_t vdev_id) argument
1060 space_map_object(space_map_t *sm) argument
1066 space_map_allocated(space_map_t *sm) argument
1072 space_map_length(space_map_t *sm) argument
1078 space_map_nblocks(space_map_t *sm) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncinit.c105 struct scc_mode sm; local
158 sioc.ic_dp = (char *)&sm;
170 sm.sm_baudrate = speed;
174 sm.sm_config |= CONN_LPBK;
176 sm.sm_config &= ~CONN_LPBK;
180 sm.sm_config |= CONN_ECHO;
182 sm.sm_config &= ~CONN_ECHO;
186 sm.sm_config |= CONN_NRZI;
188 sm.sm_config &= ~CONN_NRZI;
190 sm
[all...]
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dcf.h17 #include <sm/gen.h>

Completed in 272 milliseconds

1234567891011>>