| /dragonfly/test/libpthread/ |
| HD | mutex_d.c | 159 static thread_state_t states[NUM_THREADS]; variable 285 (int) id, states[id].priority); in check_run_order() 535 assert (states[id].status == STAT_WAITCONDVAR); in send_cmd() 536 states[id].cmd.cmd_id = cmd; in send_cmd() 537 states[id].cmd.mutex = NULL; in send_cmd() 538 states[id].cmd.cond = NULL; in send_cmd() 540 states[id].flags &= ~(FLAGS_WAS_BUSY | FLAGS_IS_BUSY); in send_cmd() 541 assert (pthread_cond_signal (&states[id].cond_var) == 0); in send_cmd() 550 assert (states[id].status == STAT_WAITCONDVAR); in send_mutex_cmd() 551 states[id].cmd.cmd_id = cmd; in send_mutex_cmd() [all …]
|
| /dragonfly/sys/dev/drm/ |
| HD | drm_blend.c | 314 struct drm_plane_state **states; in drm_atomic_helper_crtc_normalize_zpos() local 322 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL); in drm_atomic_helper_crtc_normalize_zpos() 323 if (!states) in drm_atomic_helper_crtc_normalize_zpos() 337 states[n++] = plane_state; in drm_atomic_helper_crtc_normalize_zpos() 343 sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL); in drm_atomic_helper_crtc_normalize_zpos() 346 plane = states[i]->plane; in drm_atomic_helper_crtc_normalize_zpos() 348 states[i]->normalized_zpos = i; in drm_atomic_helper_crtc_normalize_zpos() 355 kfree(states); in drm_atomic_helper_crtc_normalize_zpos()
|
| /dragonfly/contrib/libarchive/libarchive/ |
| HD | archive_check_magic.c | 104 write_all_states(char *buff, unsigned int states) in write_all_states() argument 111 while ((lowbit = states & (1 + ~states)) != 0) { in write_all_states() 112 states &= ~lowbit; /* Clear the low bit. */ in write_all_states() 114 if (states != 0) in write_all_states()
|
| /dragonfly/contrib/dialog/ |
| HD | checklist.c | 48 const char *states; member 59 const char *states, in print_item() argument 82 states[item->state]); in print_item() 113 data->states, in print_list() 161 const char *states, in dlg_checklist() argument 218 DLG_TRACE2S("states", states); in dlg_checklist() 275 if (states == 0 || strlen(states) < 2) in dlg_checklist() 276 states = " *"; in dlg_checklist() 277 num_states = (int) strlen(states); in dlg_checklist() 278 all.states = states; in dlg_checklist() [all …]
|
| HD | treeview.c | 45 const char *states; member 55 const char *states, in print_item() argument 79 states[item->state]); in print_item() 117 data->states, in print_list() 165 const char *states, in dlg_treeview() argument 217 if (states == 0 || strlen(states) < 2) in dlg_treeview() 218 states = " *"; in dlg_treeview() 219 num_states = (int) strlen(states); in dlg_treeview() 226 all.states = states; in dlg_treeview()
|
| /dragonfly/crypto/openssh/ |
| HD | xmss_fast.c | 750 int xmssmt_keypair(unsigned char *pk, unsigned char *sk, bds_state *states, unsigned char *wots_sig… in xmssmt_keypair() argument 770 …treehash_setup(pk, params->xmss_par.h, 0, states + i, sk+params->index_len, &(params->xmss_par), p… in xmssmt_keypair() 775 …treehash_setup(pk, params->xmss_par.h, 0, states + i, sk+params->index_len, &(params->xmss_par), p… in xmssmt_keypair() 787 int xmssmt_sign(unsigned char *sk, bds_state *states, unsigned char *wots_sigs, unsigned char *sig_… in xmssmt_sign() argument 889 memcpy(sig_msg, states[0].auth, tree_h*n); in xmssmt_sign() 902 memcpy(sig_msg, states[i].auth, tree_h*n); in xmssmt_sign() 912 bds_state_update(&states[params->d], sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign() 923 bds_round(&states[i], idx_leaf, sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign() 925 … updates = bds_treehash_update(&states[i], updates, sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign() 929 if (i > 0 && updates > 0 && states[params->d + i].next_leaf < (1ULL << h)) { in xmssmt_sign() [all …]
|
| HD | xmss_fast.h | 97 int xmssmt_keypair(unsigned char *pk, unsigned char *sk, bds_state *states, unsigned char *wots_sig…
|
| /dragonfly/contrib/grep/lib/ |
| HD | dfa.c | 484 dfa_state *states; /* States of the dfa. */ member 572 return r->states[s].constraint != 0; in accepting() 579 return succeeds_in_context (dfa->states[state].constraint, prev, curr); in accepts_in_context() 2196 if (hash != d->states[i].hash || s->nelem != d->states[i].elems.nelem in state_index() 2197 || context != d->states[i].context) in state_index() 2201 if (s->elems[j].constraint != d->states[i].elems.elems[j].constraint in state_index() 2202 || s->elems[j].index != d->states[i].elems.elems[j].index) in state_index() 2247 d->states = maybe_realloc (d->states, d->sindex, &d->salloc, -1, in state_index() 2248 sizeof *d->states); in state_index() 2249 d->states[i].hash = hash; in state_index() [all …]
|
| /dragonfly/contrib/nvi2/regex/ |
| HD | engine.c | 79 states st; /* current states */ 80 states fresh; /* states for a fresh start */ 81 states tmp; /* temporary */ 82 states empty; /* empty set of states */ 96 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int flag, RCHAR_T ch, st… 104 static void print(struct match *m, char *caption, states st, int ch, FILE *d); 683 states st = m->st; in fast() 684 states fresh = m->fresh; in fast() 685 states tmp = m->tmp; in fast() 768 states st = m->st; in slow() [all …]
|
| HD | regexec.c | 61 #define states int macro 88 #undef states 109 #define states char * macro
|
| /dragonfly/usr.bin/top/ |
| HD | display.c | 1138 i_cpustates(int *states) in i_cpustates() argument 1168 value = *states; in i_cpustates() 1185 states++; in i_cpustates() 1188 memcpy(lcpustates, states, num_cpustates * sizeof(int)); in i_cpustates() 1199 value = *states; in i_cpustates() 1217 states++; in i_cpustates() 1221 memcpy(lcpustates, states, num_cpustates * sizeof(int)); in i_cpustates() 1227 u_cpustates(int *states) in u_cpustates() argument 1254 value = *states; in u_cpustates() 1271 states++; in u_cpustates() [all …]
|
| HD | display.h | 54 void i_cpustates(int *states); 55 void u_cpustates(int *states);
|
| /dragonfly/sys/dev/netif/ath/ath_hal/ar5416/ |
| HD | ar5416_misc.c | 621 if (check->states & dcu_chain_state) { in ar5416CompareDbgHang() 635 if (check->states & dcu_complete_state) { in ar5416CompareDbgHang() 639 if (check->states & qcu_stitch_state) { in ar5416CompareDbgHang() 643 if (check->states & qcu_fetch_state) { in ar5416CompareDbgHang() 647 if (check->states & qcu_complete_state) { in ar5416CompareDbgHang() 651 return (found_states == check->states); in ar5416CompareDbgHang() 662 .states = dcu_chain_state in ar5416DetectMacHang() 669 .states = qcu_stitch_state in ar5416DetectMacHang()
|
| /dragonfly/usr.sbin/pfctl/ |
| HD | pf_print_state.c | 285 const char *states[] = PFUDPS_NAMES; in print_state() local 287 printf(" %s:%s\n", states[src->state], states[dst->state]); in print_state() 291 const char *states[] = PFOTHERS_NAMES; in print_state() local 293 printf(" %s:%s\n", states[src->state], states[dst->state]); in print_state()
|
| /dragonfly/contrib/tcpdump/ |
| HD | print-hsrp.c | 52 static const struct tok states[] = { variable 112 tok2str(states, "Unknown (%u)", GET_U_1(hp->hsrp_state))); in hsrp_print()
|
| /dragonfly/contrib/byacc/ |
| HD | lalr.c | 364 Value_t *states; in build_relations() local 369 states = NEW2(maxrhs + 1, Value_t); in build_relations() 380 states[0] = state1; in build_relations() 396 states[length++] = stateno; in build_relations() 409 stateno = states[--length]; in build_relations() 437 FREE(states); in build_relations()
|
| /dragonfly/sys/dev/drm/amd/powerplay/hwmgr/ |
| HD | hardwaremanager.c | 63 struct phm_set_power_state_input states; in phm_set_power_state() local 67 states.pcurrent_state = pcurrent_state; in phm_set_power_state() 68 states.pnew_state = pnew_power_state; in phm_set_power_state() 71 return hwmgr->hwmgr_func->power_state_set(hwmgr, &states); in phm_set_power_state()
|
| /dragonfly/usr.bin/systat/ |
| HD | pftop.c | 236 struct pfsync_state *states; in fetchpftop() local 261 states = (void *)ps.ps_buf; in fetchpftop() 262 nstates = ps.ps_len / sizeof(*states); in fetchpftop() 268 updatestate(&states[i]); in fetchpftop() 271 states = NULL; in fetchpftop()
|
| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | genrecog.c | 3097 split_out_patterns (vec <merge_state_info> &states) in split_out_patterns() argument 3099 unsigned int first_transition = states.length (); in split_out_patterns() 3105 for (unsigned int i = 0; i < states.length (); ++i) in split_out_patterns() 3106 for (decision *d = states[i].s->first; d; d = d->next) in split_out_patterns() 3109 states.safe_push (trans->to); in split_out_patterns() 3110 states[i].num_transitions += 1; in split_out_patterns() 3115 for (unsigned int i = 0; i < states.length (); ++i) in split_out_patterns() 3117 merge_state_info *sinfo = &states[i]; in split_out_patterns() 3120 sinfo->to_states = &states[first_transition]; in split_out_patterns() 3167 for (unsigned int i2 = states.length (); i2-- > 0; ) in split_out_patterns() [all …]
|
| /dragonfly/sys/dev/disk/dm/dmirror/ |
| HD | dmirror_notes.txt | 61 or writing. Some states are in-memory-only states while others 62 can exist on-media or in-memory. The states are represented by 138 the combination of four states is just too complex. 149 * If one of the two conflicting states has the UNSTABLE or MASTER 160 Ok, now we have done that we can just consider two states, one for
|
| /dragonfly/contrib/file/magic/Magdir/ |
| HD | openfst | 10 >>>>&20 quad x \b, num states: %lld
|
| /dragonfly/test/debug/ |
| HD | README | 6 records are typically in one of three states:
|
| /dragonfly/usr.sbin/moused/ |
| HD | moused.c | 440 #define S_DELAYED(st) (states[st].s[A_TIMEOUT] != (st)) 447 } states[10] = { variable 2165 states[mouse_button_state].s[trans]); in r_statetrans() 2173 S_DELAYED(states[mouse_button_state].s[trans])) { in r_statetrans() 2177 states[mouse_button_state].s[A_TIMEOUT]; in r_statetrans() 2183 if (mouse_button_state != states[mouse_button_state].s[trans]) in r_statetrans() 2187 mouse_button_state = states[mouse_button_state].s[trans]; in r_statetrans() 2190 a2->button &= states[mouse_button_state].mask; in r_statetrans() 2191 a2->button |= states[mouse_button_state].buttons; in r_statetrans() 2395 if (states[mouse_button_state].timeout) in r_timeout()
|
| /dragonfly/sys/dev/drm/amd/powerplay/ |
| HD | amd_powerplay.c | 599 data->states[i] = POWER_STATE_TYPE_BATTERY; in pp_dpm_get_pp_num_states() 602 data->states[i] = POWER_STATE_TYPE_BALANCED; in pp_dpm_get_pp_num_states() 605 data->states[i] = POWER_STATE_TYPE_PERFORMANCE; in pp_dpm_get_pp_num_states() 609 data->states[i] = POWER_STATE_TYPE_INTERNAL_BOOT; in pp_dpm_get_pp_num_states() 611 data->states[i] = POWER_STATE_TYPE_DEFAULT; in pp_dpm_get_pp_num_states()
|
| /dragonfly/sys/dev/drm/amd/amdgpu/ |
| HD | amdgpu_pm.c | 341 … (data.states[i] == POWER_STATE_TYPE_INTERNAL_BOOT) ? "boot" : 342 (data.states[i] == POWER_STATE_TYPE_BATTERY) ? "battery" : 343 (data.states[i] == POWER_STATE_TYPE_BALANCED) ? "balanced" : 344 … (data.states[i] == POWER_STATE_TYPE_PERFORMANCE) ? "performance" : "default"); 365 if (pm == data.states[i]) 408 if (ret || idx >= ARRAY_SIZE(data.states)) { 412 idx = array_index_nospec(idx, ARRAY_SIZE(data.states)); 415 state = data.states[idx];
|