Lines Matching refs:prot
58 retval = p->prot.ni1.last_invoke_id + 1; /* try new id */ in new_invoke_id()
59 while ((i) && (p->prot.ni1.invoke_used[retval >> 3] == 0xFF)) { in new_invoke_id()
60 p->prot.ni1.last_invoke_id = (retval & 0xF8) + 8; in new_invoke_id()
64 while (p->prot.ni1.invoke_used[retval >> 3] & (1 << (retval & 7))) in new_invoke_id()
68 p->prot.ni1.last_invoke_id = retval; in new_invoke_id()
69 p->prot.ni1.invoke_used[retval >> 3] |= (1 << (retval & 7)); in new_invoke_id()
85 p->prot.ni1.invoke_used[id >> 3] &= ~(1 << (id & 7)); in free_invoke_id()
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()
113 free_invoke_id(p->st,p->prot.ni1.invoke_id); in ni1_release_l3_process()
127 { if ((pc->callref == -1) && (pc->prot.ni1.invoke_id == id)) in l3ni1_search_dummy_proc()
151 ic.parm.ni1_io.hl_id = pc->prot.ni1.invoke_id; in l3ni1_dummy_return_result()
152 ic.parm.ni1_io.ll_id = pc->prot.ni1.ll_id; in l3ni1_dummy_return_result()
153 ic.parm.ni1_io.proc = pc->prot.ni1.proc; in l3ni1_dummy_return_result()
157 free_invoke_id(pc->st, pc->prot.ni1.invoke_id); in l3ni1_dummy_return_result()
158 pc->prot.ni1.invoke_id = 0; /* reset id */ in l3ni1_dummy_return_result()
184 ic.parm.ni1_io.hl_id = pc->prot.ni1.invoke_id; in l3ni1_dummy_error_return()
185 ic.parm.ni1_io.ll_id = pc->prot.ni1.ll_id; in l3ni1_dummy_error_return()
186 ic.parm.ni1_io.proc = pc->prot.ni1.proc; in l3ni1_dummy_error_return()
190 free_invoke_id(pc->st, pc->prot.ni1.invoke_id); in l3ni1_dummy_error_return()
191 pc->prot.ni1.invoke_id = 0; /* reset id */ in l3ni1_dummy_error_return()
374 if ((pc->prot.ni1.invoke_id) && (pc->prot.ni1.invoke_id == id)) in l3ni1_parse_facility()
376 free_invoke_id(st,pc->prot.ni1.invoke_id); in l3ni1_parse_facility()
377 pc->prot.ni1.remote_result = 0; /* success */ in l3ni1_parse_facility()
378 pc->prot.ni1.invoke_id = 0; in l3ni1_parse_facility()
379 pc->redir_result = pc->prot.ni1.remote_result; in l3ni1_parse_facility()
419 if ((pc->prot.ni1.invoke_id) && (pc->prot.ni1.invoke_id == id)) in l3ni1_parse_facility()
421 free_invoke_id(st,pc->prot.ni1.invoke_id); in l3ni1_parse_facility()
422 pc->prot.ni1.remote_result = err_ret; /* result */ in l3ni1_parse_facility()
423 pc->prot.ni1.invoke_id = 0; in l3ni1_parse_facility()
424 pc->redir_result = pc->prot.ni1.remote_result; in l3ni1_parse_facility()
894 if (pc->prot.ni1.uus1_data[0]) in l3ni1_msg_with_uus()
896 *p++ = strlen(pc->prot.ni1.uus1_data) + 1; in l3ni1_msg_with_uus()
898 strcpy(p,pc->prot.ni1.uus1_data); in l3ni1_msg_with_uus()
899 p += strlen(pc->prot.ni1.uus1_data); in l3ni1_msg_with_uus()
900 pc->prot.ni1.uus1_data[0] = '\0'; in l3ni1_msg_with_uus()
915 if (!pc->prot.ni1.uus1_data[0]) in l3ni1_release_req()
1640 if (pc->prot.ni1.uus1_data[0]) in l3ni1_disconnect_req()
1642 *p++ = strlen(pc->prot.ni1.uus1_data) + 1; in l3ni1_disconnect_req()
1644 strcpy(p,pc->prot.ni1.uus1_data); in l3ni1_disconnect_req()
1645 p += strlen(pc->prot.ni1.uus1_data); in l3ni1_disconnect_req()
1646 pc->prot.ni1.uus1_data[0] = '\0'; in l3ni1_disconnect_req()
1762 if (!pc->prot.ni1.uus1_data[0]) in l3ni1_alert_req()
1960 strcpy(pc->prot.ni1.uus1_data,pc->chan->setup.eazmsn); /* copy uus element if available */ in l3ni1_redir_req()
1967 if (pc->prot.ni1.invoke_id) in l3ni1_redir_req()
1968 free_invoke_id(pc->st,pc->prot.ni1.invoke_id); in l3ni1_redir_req()
1970 if (!(pc->prot.ni1.invoke_id = new_invoke_id(pc->st))) in l3ni1_redir_req()
1986 *p++ = pc->prot.ni1.invoke_id; /* invoke id */ in l3ni1_redir_req()
2076 pc->prot.ni1.ll_id = ic->parm.ni1_io.ll_id; /* remember id */ in l3ni1_cmd_global()
2077 pc->prot.ni1.proc = ic->parm.ni1_io.proc; /* and procedure */ in l3ni1_cmd_global()
2087 { pc->prot.ni1.invoke_id = id; /* remember id */ in l3ni1_cmd_global()
2124 ic.parm.ni1_io.hl_id = pc->prot.ni1.invoke_id; in l3ni1_io_timer()
2125 ic.parm.ni1_io.ll_id = pc->prot.ni1.ll_id; in l3ni1_io_timer()
2126 ic.parm.ni1_io.proc = pc->prot.ni1.proc; in l3ni1_io_timer()
2130 free_invoke_id(pc->st, pc->prot.ni1.invoke_id); in l3ni1_io_timer()
2131 pc->prot.ni1.invoke_id = 0; /* reset id */ in l3ni1_io_timer()
3178 st->prot.ni1.last_invoke_id = 0; in setstack_ni1()
3179 st->prot.ni1.invoke_used[0] = 1; /* Bit 0 must always be set to 1 */ in setstack_ni1()
3182 st->prot.ni1.invoke_used[i++] = 0; in setstack_ni1()
3193 st->l3.global->prot.ni1.invoke_id = 0; in setstack_ni1()