| /osnet-11/usr/src/lib/librstp/common/ |
| H A D | statmch.c | 39 STATE_MACH_T *this; local 41 STP_MALLOC(this, STATE_MACH_T, "state machine"); 43 this->State = BEGIN; 44 this->name = (char*) strdup (name); 45 this->changeState = False; 47 this->debug = False; 48 this->ignoreHop2State = BEGIN; 50 this->concreteEnterState = concreteEnterState; 51 this->concreteCheckCondition = concreteCheckCondition; 52 this 59 STP_state_mach_delete(STATE_MACH_T *this) argument 66 STP_check_condition(STATE_MACH_T* this) argument 79 STP_change_state(STATE_MACH_T* this) argument 94 STP_hop_2_state(STATE_MACH_T* this, unsigned int new_state) argument [all...] |
| H A D | port.c | 47 PORT_T* this; local 53 for (this = stpm->ports; this; this = this->next) { 54 if (this->port_index == port_index) { 59 STP_NEW_IN_LIST(this, PORT_T, stpm->ports, "port create"); 61 this->owner = stpm; 62 this->machines = NULL; 63 this 133 STP_port_init(PORT_T* this, STPM_T* stpm, Bool check_link) argument 164 STP_port_delete(PORT_T* this) argument 197 STP_port_rx_bpdu(PORT_T* this, BPDU_T* bpdu, size_t len) argument 205 STP_port_trace_state_machine(PORT_T* this, char* mach_name, int enadis) argument 234 STP_port_trace_flags(char* title, PORT_T* this) argument [all...] |
| H A D | stpm.c | 32 _stp_stpm_init_machine (STATE_MACH_T* this) argument 34 this->State = BEGIN; 35 (*(this->concreteEnterState)) (this); 40 _stp_stpm_iterate_machines (STPM_T* this, argument 49 for (stater = this->machines; stater; stater = stater->next) { 58 for (port = this->ports; port; port = port->next) { 72 _stp_stpm_init_data (STPM_T* this) argument 74 STP_VECT_create (&this->rootPrio, 75 &this 86 _check_topoch(STPM_T* this) argument 101 STPM_T* this = (STPM_T*) param; local 130 STPM_T* this; local 154 STP_stpm_enable(STPM_T* this, UID_STP_MODE_T admin_state) argument 176 STP_stpm_delete(STPM_T* this) argument 217 STP_stpm_start(STPM_T* this) argument 260 STP_stpm_stop(STPM_T* this) argument 265 STP_stpm_update(STPM_T* this) argument 291 STP_compute_bridge_id(STPM_T* this) argument 318 STP_stpm_update_after_bridge_management(STPM_T* this) argument 329 STP_stpm_check_bridge_priority(STPM_T* this) argument 344 STP_stpm_get_port_name_by_id(STPM_T* this, PORT_ID port_id) argument [all...] |
| /osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/ |
| H A D | swapinfo.d | 40 * The contents of this file are subject to the terms of the 42 * (the "License"). You may not use this file except in compliance 54 * 11-Jun-2005 Brendan Gregg Created this. 67 this->ani_max = `k_anoninfo.ani_max; 68 this->ani_phys_resv = `k_anoninfo.ani_phys_resv; 69 this->ani_mem_resv = `k_anoninfo.ani_mem_resv; 70 this->ani_locked = `k_anoninfo.ani_locked_swap; 71 this->availrmem = `availrmem; 74 this->ram_total = `physinstalled; 75 this [all...] |
| H A D | loads.d | 6 * The purpose of this script is to demonstrate fetching these values 24 * The contents of this file are subject to the terms of the 26 * (the "License"). You may not use this file except in compliance 36 * 10-Jun-2005 Brendan Gregg Created this. 45 this->load1a = `hp_avenrun[0] / 65536; 46 this->load5a = `hp_avenrun[1] / 65536; 47 this->load15a = `hp_avenrun[2] / 65536; 48 this->load1b = ((`hp_avenrun[0] % 65536) * 100) / 65536; 49 this->load5b = ((`hp_avenrun[1] % 65536) * 100) / 65536; 50 this [all...] |
| H A D | stacksize.d | 12 * count number of samples at this size 20 * The contents of this file are subject to the terms of the 22 * (the "License"). You may not use this file except in compliance 32 * 16-Feb-2006 Jonathan Adams Created this. 38 this uintptr_t stkinfoptr; 39 this uintptr_t stkptr; 48 this->stkinfoptr = 0; 49 this->stkptr = 0; 55 this->stkinfoptr = curthread->t_lwp->lwp_ustack; 56 this [all...] |
| H A D | sh_calltime.d | 25 * The contents of this file are subject to the terms of the 27 * (the "License"). You may not use this file except in compliance 37 * 09-Sep-2007 Brendan Gregg Created this. 57 this->elapsed_incl = timestamp - self->function[self->depth]; 58 this->elapsed_excl = this->elapsed_incl - self->exclude[self->depth]; 61 this->file = basename(copyinstr(arg0)); 62 this->name = copyinstr(arg1); 64 @num[this->file, "func", this [all...] |
| H A D | j_calls.d | 33 * The contents of this file are subject to the terms of the 35 * (the "License"). You may not use this file except in compliance 45 * 09-Sep-2007 Brendan Gregg Created this. 57 this->class = (char *)copyin(arg1, arg2 + 1); 58 this->class[arg2] = '\0'; 59 this->method = (char *)copyin(arg3, arg4 + 1); 60 this->method[arg4] = '\0'; 61 this->name = strjoin(strjoin(stringof(this->class), "."), 62 stringof(this [all...] |
| H A D | j_methodcalls.d | 23 * The contents of this file are subject to the terms of the 25 * (the "License"). You may not use this file except in compliance 35 * 09-Sep-2007 Brendan Gregg Created this. 47 this->class = (char *)copyin(arg1, arg2 + 1); 48 this->class[arg2] = '\0'; 49 this->method = (char *)copyin(arg3, arg4 + 1); 50 this->method[arg4] = '\0'; 51 this->name = strjoin(strjoin(stringof(this->class), "."), 52 stringof(this [all...] |
| H A D | j_syscalls.d | 24 * The contents of this file are subject to the terms of the 26 * (the "License"). You may not use this file except in compliance 36 * 09-Sep-2007 Brendan Gregg Created this. 48 this->class = (char *)copyin(arg1, arg2 + 1); 49 this->class[arg2] = '\0'; 50 this->method = (char *)copyin(arg3, arg4 + 1); 51 this->method[arg4] = '\0'; 52 this->name = strjoin(strjoin(stringof(this->class), "."), 53 stringof(this [all...] |
| H A D | js_calls.d | 25 * The contents of this file are subject to the terms of the 27 * (the "License"). You may not use this file except in compliance 37 * 09-Sep-2007 Brendan Gregg Created this. 49 this->name = copyinstr(arg2); 50 @calls[basename(copyinstr(arg0)), "func", this->name] = count(); 55 this->filename = basename(copyinstr(arg0)); 56 @calls[this->filename, "exec", "."] = count(); 61 this->name = copyinstr(arg1); 62 this->filename = basename(copyinstr(arg0)); 63 @calls[this [all...] |
| H A D | rb_calltime.d | 25 * The contents of this file are subject to the terms of the 27 * (the "License"). You may not use this file except in compliance 37 * 09-Sep-2007 Brendan Gregg Created this. 57 this->elapsed_incl = timestamp - self->function[self->depth]; 58 this->elapsed_excl = this->elapsed_incl - self->exclude[self->depth]; 61 this->file = basename(copyinstr(arg2)); 62 this->name = strjoin(strjoin(copyinstr(arg0), "::"), copyinstr(arg1)); 64 @num[this->file, "func", this [all...] |
| H A D | rb_cputime.d | 25 * The contents of this file are subject to the terms of the 27 * (the "License"). You may not use this file except in compliance 37 * 09-Sep-2007 Brendan Gregg Created this. 57 this->oncpu_incl = vtimestamp - self->function[self->depth]; 58 this->oncpu_excl = this->oncpu_incl - self->exclude[self->depth]; 61 this->file = basename(copyinstr(arg2)); 62 this->name = strjoin(strjoin(copyinstr(arg0), "::"), copyinstr(arg1)); 64 @num[this->file, "func", this [all...] |
| H A D | js_calldist.d | 24 * The contents of this file are subject to the terms of the 26 * (the "License"). You may not use this file except in compliance 36 * 09-Sep-2007 Brendan Gregg Created this. 56 this->elapsed_incl = timestamp - self->function[self->depth]; 57 this->elapsed_excl = this->elapsed_incl - self->exclude[self->depth]; 60 this->file = basename(copyinstr(arg0)); 61 this->name = copyinstr(arg2); 63 @types_incl[this->file, "func", this [all...] |
| H A D | js_cpudist.d | 24 * The contents of this file are subject to the terms of the 26 * (the "License"). You may not use this file except in compliance 36 * 09-Sep-2007 Brendan Gregg Created this. 56 this->oncpu_incl = vtimestamp - self->function[self->depth]; 57 this->oncpu_excl = this->oncpu_incl - self->exclude[self->depth]; 60 this->file = basename(copyinstr(arg0)); 61 this->name = copyinstr(arg2); 63 @types_incl[this->file, "func", this [all...] |
| /osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Mem/ |
| H A D | swapinfo.d | 40 * The contents of this file are subject to the terms of the 42 * (the "License"). You may not use this file except in compliance 54 * 11-Jun-2005 Brendan Gregg Created this. 67 this->ani_max = `k_anoninfo.ani_max; 68 this->ani_phys_resv = `k_anoninfo.ani_phys_resv; 69 this->ani_mem_resv = `k_anoninfo.ani_mem_resv; 70 this->ani_locked = `k_anoninfo.ani_locked_swap; 71 this->availrmem = `availrmem; 74 this->ram_total = `physinstalled; 75 this [all...] |
| /osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Cpu/ |
| H A D | loads.d | 6 * The purpose of this script is to demonstrate fetching these values 24 * The contents of this file are subject to the terms of the 26 * (the "License"). You may not use this file except in compliance 36 * 10-Jun-2005 Brendan Gregg Created this. 45 this->load1a = `hp_avenrun[0] / 65536; 46 this->load5a = `hp_avenrun[1] / 65536; 47 this->load15a = `hp_avenrun[2] / 65536; 48 this->load1b = ((`hp_avenrun[0] % 65536) * 100) / 65536; 49 this->load5b = ((`hp_avenrun[1] % 65536) * 100) / 65536; 50 this [all...] |
| /osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Proc/ |
| H A D | stacksize.d | 12 * count number of samples at this size 20 * The contents of this file are subject to the terms of the 22 * (the "License"). You may not use this file except in compliance 32 * 16-Feb-2006 Jonathan Adams Created this. 38 this uintptr_t stkinfoptr; 39 this uintptr_t stkptr; 48 this->stkinfoptr = 0; 49 this->stkptr = 0; 55 this->stkinfoptr = curthread->t_lwp->lwp_ustack; 56 this [all...] |
| /osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Shell/ |
| H A D | sh_calltime.d | 25 * The contents of this file are subject to the terms of the 27 * (the "License"). You may not use this file except in compliance 37 * 09-Sep-2007 Brendan Gregg Created this. 57 this->elapsed_incl = timestamp - self->function[self->depth]; 58 this->elapsed_excl = this->elapsed_incl - self->exclude[self->depth]; 61 this->file = basename(copyinstr(arg0)); 62 this->name = copyinstr(arg1); 64 @num[this->file, "func", this [all...] |
| /osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Java/ |
| H A D | j_calls.d | 33 * The contents of this file are subject to the terms of the 35 * (the "License"). You may not use this file except in compliance 45 * 09-Sep-2007 Brendan Gregg Created this. 57 this->class = (char *)copyin(arg1, arg2 + 1); 58 this->class[arg2] = '\0'; 59 this->method = (char *)copyin(arg3, arg4 + 1); 60 this->method[arg4] = '\0'; 61 this->name = strjoin(strjoin(stringof(this->class), "."), 62 stringof(this [all...] |
| H A D | j_methodcalls.d | 23 * The contents of this file are subject to the terms of the 25 * (the "License"). You may not use this file except in compliance 35 * 09-Sep-2007 Brendan Gregg Created this. 47 this->class = (char *)copyin(arg1, arg2 + 1); 48 this->class[arg2] = '\0'; 49 this->method = (char *)copyin(arg3, arg4 + 1); 50 this->method[arg4] = '\0'; 51 this->name = strjoin(strjoin(stringof(this->class), "."), 52 stringof(this [all...] |
| H A D | j_syscalls.d | 24 * The contents of this file are subject to the terms of the 26 * (the "License"). You may not use this file except in compliance 36 * 09-Sep-2007 Brendan Gregg Created this. 48 this->class = (char *)copyin(arg1, arg2 + 1); 49 this->class[arg2] = '\0'; 50 this->method = (char *)copyin(arg3, arg4 + 1); 51 this->method[arg4] = '\0'; 52 this->name = strjoin(strjoin(stringof(this->class), "."), 53 stringof(this [all...] |
| /osnet-11/usr/src/cmd/dtrace_toolkit/DTT/JavaScript/ |
| H A D | js_calls.d | 25 * The contents of this file are subject to the terms of the 27 * (the "License"). You may not use this file except in compliance 37 * 09-Sep-2007 Brendan Gregg Created this. 49 this->name = copyinstr(arg2); 50 @calls[basename(copyinstr(arg0)), "func", this->name] = count(); 55 this->filename = basename(copyinstr(arg0)); 56 @calls[this->filename, "exec", "."] = count(); 61 this->name = copyinstr(arg1); 62 this->filename = basename(copyinstr(arg0)); 63 @calls[this [all...] |
| /osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Ruby/ |
| H A D | rb_calltime.d | 25 * The contents of this file are subject to the terms of the 27 * (the "License"). You may not use this file except in compliance 37 * 09-Sep-2007 Brendan Gregg Created this. 57 this->elapsed_incl = timestamp - self->function[self->depth]; 58 this->elapsed_excl = this->elapsed_incl - self->exclude[self->depth]; 61 this->file = basename(copyinstr(arg2)); 62 this->name = strjoin(strjoin(copyinstr(arg0), "::"), copyinstr(arg1)); 64 @num[this->file, "func", this [all...] |
| H A D | rb_cputime.d | 25 * The contents of this file are subject to the terms of the 27 * (the "License"). You may not use this file except in compliance 37 * 09-Sep-2007 Brendan Gregg Created this. 57 this->oncpu_incl = vtimestamp - self->function[self->depth]; 58 this->oncpu_excl = this->oncpu_incl - self->exclude[self->depth]; 61 this->file = basename(copyinstr(arg2)); 62 this->name = strjoin(strjoin(copyinstr(arg0), "::"), copyinstr(arg1)); 64 @num[this->file, "func", this [all...] |