Lines Matching refs:proc
95 { struct l3_process *proc; in ni1_new_l3_process() local
97 if (!(proc = new_l3_process(st, cr))) in ni1_new_l3_process()
100 proc->prot.ni1.invoke_id = 0; in ni1_new_l3_process()
101 proc->prot.ni1.remote_operation = 0; in ni1_new_l3_process()
102 proc->prot.ni1.uus1_data[0] = '\0'; in ni1_new_l3_process()
104 return(proc); in ni1_new_l3_process()
122 { struct l3_process *pc = st->l3.proc; /* start of processes */ in l3ni1_search_dummy_proc()
153 ic.parm.ni1_io.proc = pc->prot.ni1.proc; in l3ni1_dummy_return_result()
186 ic.parm.ni1_io.proc = pc->prot.ni1.proc; in l3ni1_dummy_error_return()
220 ic.parm.ni1_io.proc = ident; in l3ni1_dummy_invoke()
2044 for (proc_len = 1, i = ic->parm.ni1_io.proc >> 8; i; i++) in l3ni1_cmd_global()
2067 *p++ = (ic->parm.ni1_io.proc >> (i-1)) & 0xFF; in l3ni1_cmd_global()
2077 pc->prot.ni1.proc = ic->parm.ni1_io.proc; /* and procedure */ in l3ni1_cmd_global()
2126 ic.parm.ni1_io.proc = pc->prot.ni1.proc; in l3ni1_io_timer()
2568 up = pc->st->l3.proc; in l3ni1_global_restart()
2865 struct l3_process *proc = st->l3.global; in global_handler() local
2868 proc->callref = skb->data[2]; /* cr flag */ in global_handler()
2870 proc->callref = 0; in global_handler()
2873 ((1 << proc->state) & globalmes_list[i].state)) in global_handler()
2878 proc->state, mt); in global_handler()
2880 MsgHead(p, proc->callref, MT_STATUS); in global_handler()
2887 *p++ = proc->state & 0x3f; in global_handler()
2892 l3_msg(proc->st, DL_DATA | REQUEST, skb); in global_handler()
2896 proc->state, mt); in global_handler()
2898 globalmes_list[i].rout(proc, mt, skb); in global_handler()
2909 struct l3_process *proc; in ni1up() local
2986 } else if (!(proc = getl3proc(st, cr))) { in ni1up()
2999 if (!(proc = ni1_new_l3_process(st, cr))) { in ni1up()
3033 if ((proc = ni1_new_l3_process(st, cr))) { in ni1up()
3034 proc->para.cause = 101; in ni1up()
3035 l3ni1_msg_without_setup(proc, 0, NULL); in ni1up()
3049 if ((proc = ni1_new_l3_process(st, cr))) { in ni1up()
3050 proc->para.cause = 81; in ni1up()
3051 l3ni1_msg_without_setup(proc, 0, NULL); in ni1up()
3056 if (l3ni1_check_messagetype_validity(proc, mt, skb)) { in ni1up()
3061 l3ni1_deliver_display(proc, pr, p); /* Display IE included */ in ni1up()
3064 ((1 << proc->state) & datastatelist[i].state)) in ni1up()
3070 proc->state, mt); in ni1up()
3073 proc->para.cause = 101; in ni1up()
3074 l3ni1_status_send(proc, pr, skb); in ni1up()
3080 proc->state, mt); in ni1up()
3082 datastatelist[i].rout(proc, pr, skb); in ni1up()
3092 struct l3_process *proc; in ni1down() local
3102 if ((proc = ni1_new_l3_process(st, cr))) { in ni1down()
3103 proc->chan = chan; in ni1down()
3104 chan->proc = proc; in ni1down()
3105 memcpy(&proc->para.setup, &chan->setup, sizeof(setup_parm)); in ni1down()
3106 proc->callref = cr; in ni1down()
3109 proc = arg; in ni1down()
3111 if (!proc) { in ni1down()
3117 l3ni1_io_timer(proc); /* timer expires */ in ni1down()
3123 ((1 << proc->state) & downstatelist[i].state)) in ni1down()
3128 proc->state, pr); in ni1down()
3133 proc->state, pr); in ni1down()
3135 downstatelist[i].rout(proc, pr, arg); in ni1down()
3143 struct l3_process *proc = arg; in ni1man() local
3145 if (!proc) { in ni1man()
3151 ((1 << proc->state) & manstatelist[i].state)) in ni1man()
3156 proc->callref & 0x7f, proc->state, pr); in ni1man()
3161 proc->callref & 0x7f, proc->state, pr); in ni1man()
3163 manstatelist[i].rout(proc, pr, arg); in ni1man()