Home
last modified time | relevance | path

Searched refs:lcp (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/cmd/isns/isnsd/
H A Dqry.c164 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2; in cb_qry_child_uids() local
165 isns_type_t type = lcp->data[1].ui; in cb_qry_child_uids()
176 lcp->id[2] = num; in cb_qry_child_uids()
177 lcp->data[2].ptr = (uchar_t *)p; in cb_qry_child_uids()
188 lookup_ctrl_t *lcp, in e2c() argument
194 uint32_t uid = lcp->curr_uid; /* last child */ in e2c()
202 lcp->data[1].ui = type; in e2c()
203 ec = cache_lookup(lcp, NULL, cb_qry_child_uids); in e2c()
206 num_of_child = lcp->id[2]; in e2c()
207 uids = (uint32_t *)lcp->data[2].ptr; in e2c()
[all …]
H A Dcache.c361 lookup_ctrl_t *lcp, in cache_lookup() argument
366 return (htab_lookup(imc->t[lcp->type], in cache_lookup()
367 lcp, in cache_lookup()
368 (lcp->op[0] == OP_INTEGER) ? lcp->data[0].ui : 0, in cache_lookup()
389 lookup_ctrl_t *lcp, in cache_rekey() argument
394 return (htab_lookup(imc->t[lcp->type], in cache_rekey()
395 lcp, in cache_rekey()
396 (lcp->op[0] == OP_INTEGER) ? lcp->data[0].ui : 0, in cache_rekey()
442 lookup_ctrl_t *lcp, in cache_remove() argument
446 return (htab_remove(imc->t[lcp->type], in cache_remove()
[all …]
H A Dobj.c361 lookup_ctrl_t *lcp; in entity_hval() local
370 lcp = (lookup_ctrl_t *)p; in entity_hval()
371 key = lcp->data[0].ptr; in entity_hval()
402 lookup_ctrl_t *lcp; in iscsi_hval() local
411 lcp = (lookup_ctrl_t *)p; in iscsi_hval()
412 key = lcp->data[0].ptr; in iscsi_hval()
444 lookup_ctrl_t *lcp; in portal_hval() local
458 lcp = (lookup_ctrl_t *)p; in portal_hval()
459 ip = lcp->data[0].ip; in portal_hval()
460 port = lcp->data[1].ui; in portal_hval()
[all …]
H A Dfunc.c318 lookup_ctrl_t *lcp, in setup_key_lcp() argument
327 lcp->curr_uid = 0; in setup_key_lcp()
328 lcp->op[0] = 0; in setup_key_lcp()
333 lcp->type = OBJ_ENTITY; in setup_key_lcp()
334 lcp->id[0] = ATTR_INDEX_ENTITY(ISNS_EID_ATTR_ID); in setup_key_lcp()
335 lcp->op[0] = OP_STRING; in setup_key_lcp()
336 lcp->data[0].ptr = (uchar_t *)value; in setup_key_lcp()
337 lcp->op[1] = 0; in setup_key_lcp()
342 lcp->type = OBJ_ISCSI; in setup_key_lcp()
343 lcp->id[0] = ATTR_INDEX_ISCSI(ISNS_ISCSI_NAME_ATTR_ID); in setup_key_lcp()
[all …]
H A Ddd.c78 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2; in cb_update_ds_attr() local
79 uint32_t tag = lcp->id[1]; in cb_update_ds_attr()
111 len = lcp->data[1].ui; in cb_update_ds_attr()
112 name = lcp->data[2].ptr; in cb_update_ds_attr()
113 lc.type = lcp->type; in cb_update_ds_attr()
143 attr->value.ui != lcp->data[1].ui) { in cb_update_ds_attr()
146 attr->value.ui = lcp->data[1].ui; in cb_update_ds_attr()
848 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2; in cb_clone_attrs() local
855 lcp->op[i] != 0) { in cb_clone_attrs()
861 lcp->id[i] != 0) { in cb_clone_attrs()
[all …]
H A Dadmintf.c131 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2; in cb_get_node_info() local
132 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; in cb_get_node_info()
267 lcp->id[2] = get_parent_uid(obj); in cb_get_node_info()
269 lcp->data[2].ptr = (uchar_t *)n_node; in cb_get_node_info()
296 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2; in cb_get_entity_info() local
297 xmlNodePtr n_node = (xmlNodePtr)lcp->data[2].ptr; in cb_get_entity_info()
414 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2; in cb_get_pg_info() local
420 (void) memcpy(lcp->data[1].ip, attr->value.ip, sizeof (in6_addr_t)); in cb_get_pg_info()
422 lcp->data[2].ui = attr->value.ui; in cb_get_pg_info()
424 lcp->id[2] = attr->value.ui; in cb_get_pg_info()
[all …]
H A Desi.c216 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2; in cb_portal_uids() local
231 lcp->data[1].ptr = (uchar_t *)p; in cb_portal_uids()
237 lcp->data[2].ui = attr->value.ui; in cb_portal_uids()
240 lcp->data[2].ui = INFINITY - 1; in cb_portal_uids()
268 lookup_ctrl_t *lcp; in cb_esi_portal() local
277 lcp = (lookup_ctrl_t *)p2; in cb_esi_portal()
278 ip = lcp->data[1].ip; in cb_esi_portal()
279 esip = lcp->data[2].ui; in cb_esi_portal()
283 lcp->data[0].ui = attr->value.ui; in cb_esi_portal()
H A Dscn.c704 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2; in cb_update_scn_bitmap() local
709 uint32_t bitmap = lcp->data[2].ui; in cb_update_scn_bitmap()
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Dexternal.c211 Lc_desc *lcp; in get_lcinterface() local
223 lcp = &lml->lm_lcs[0]; in get_lcinterface()
242 if ((lcp[tag].lc_lmp) && in get_lcinterface()
245 lcp[tag].lc_lmp, tag)); in get_lcinterface()
249 lcp[tag].lc_un.lc_ptr = lptr; in get_lcinterface()
250 lcp[tag].lc_lmp = lmp; in get_lcinterface()
370 if ((lcp[CI_TLS_MODADD].lc_un.lc_func && in get_lcinterface()
371 lcp[CI_TLS_MODREM].lc_un.lc_func && in get_lcinterface()
372 lcp[CI_TLS_STATMOD].lc_un.lc_func) == NULL) { in get_lcinterface()
373 lcp[CI_TLS_MODADD].lc_un.lc_func = NULL; in get_lcinterface()
[all …]
/titanic_41/usr/src/cmd/sendmail/db/hash/
H A Dhash.c1249 HASH_CURSOR *lcp; local
1282 lcp = (HASH_CURSOR *)cp->internal;
1284 if (!is_dup && lcp->pgno != chg_pgno)
1288 if (F_ISSET(hcp, H_DELETED) && lcp->pgno != chg_pgno)
1290 if (!F_ISSET(hcp, H_DELETED) && lcp->dpgno != chg_pgno)
1296 lcp->dpgno = hcp->dpgno;
1297 lcp->dndx = hcp->dndx;
1299 lcp->pgno = hcp->pgno;
1300 lcp->bndx = hcp->bndx;
1301 lcp->bucket = hcp->bucket;
[all …]
/titanic_41/usr/src/lib/libdscp/svc/
H A Ddscp.ppp.options64 lcp-echo-failure 6
65 lcp-echo-interval 5
66 lcp-max-configure 10
67 lcp-max-failure 10
68 lcp-max-terminate 3
69 lcp-restart 3
/titanic_41/usr/src/uts/common/syscall/
H A Dlwp_sobj.c161 lwpchan_data_t *lcp; in lwpchan_delete_mapping() local
169 lcp = p->p_lcp; in lwpchan_delete_mapping()
170 hashbucket = lcp->lwpchan_cache; in lwpchan_delete_mapping()
171 endbucket = hashbucket + lcp->lwpchan_size; in lwpchan_delete_mapping()
198 atomic_dec_32(&lcp->lwpchan_entries); in lwpchan_delete_mapping()
213 lwpchan_bucket(lwpchan_data_t *lcp, uintptr_t addr) in lwpchan_bucket() argument
223 i = (addr ^ (addr >> lcp->lwpchan_bits)) & lcp->lwpchan_mask; in lwpchan_bucket()
224 return (lcp->lwpchan_cache + i); in lwpchan_bucket()
233 lwpchan_data_t *lcp; in lwpchan_alloc_cache() local
244 lcp = kmem_alloc(sizeof (lwpchan_data_t), KM_SLEEP); in lwpchan_alloc_cache()
[all …]
/titanic_41/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_macro.c69 char *lcp; in dwarf_find_macro_value_start() local
72 for (lcp = str; *lcp; ++lcp) { in dwarf_find_macro_value_start()
73 switch (*lcp) { in dwarf_find_macro_value_start()
79 return lcp + 2; in dwarf_find_macro_value_start()
84 return lcp + 1; in dwarf_find_macro_value_start()
91 return lcp; in dwarf_find_macro_value_start()
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c659 register lcost *lcp; local
687 lcp = &LC(or+1,nr+1);
690 lcp->cost = LC(or,nr).cost;
691 lcp->op = 'm';
703 lcp->cost += 2;
704 lcp->op = 'r';
708 if ((cc = LC(or+1,nr).cost + 3) < lcp->cost) {
709 lcp->cost = cc;
710 lcp->op = 'i';
714 if ((cc = LC(or,nr+1).cost + 1) < lcp->cost) {
[all …]
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c794 lcost *lcp; in cost() local
824 lcp = &LC(or + 1, nr + 1); in cost()
827 lcp->cost = LC(or, nr).cost; in cost()
828 lcp->op = 'm'; in cost()
832 lcp->cost += REPLACE_COST; in cost()
833 lcp->op = 'r'; in cost()
838 lcp->cost) { in cost()
839 lcp->cost = cc; in cost()
840 lcp->op = 'i'; in cost()
845 lcp->cost) { in cost()
[all …]
/titanic_41/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c104 struct tz_continent *head = NULL, *lcp, *prev = NULL; in get_tz_continents() local
143 if ((lcp = (struct tz_continent *) in get_tz_continents()
149 (void) strncpy(lcp->ctnt_name, lp, len); in get_tz_continents()
150 lcp->ctnt_name[len] = '\0'; in get_tz_continents()
156 (void) free_tz_continents(lcp); in get_tz_continents()
163 lcp->ctnt_id_desc = ptr; in get_tz_continents()
166 lptr = dgettext(TEXT_DOMAIN, lcp->ctnt_id_desc); in get_tz_continents()
168 (void) free_tz_continents(lcp); in get_tz_continents()
173 lcp->ctnt_display_desc = ptr; in get_tz_continents()
176 head = lcp; in get_tz_continents()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Deft_mdb.c82 struct lut_cp *lcp; in lut_collect_addent() local
87 lcp = &lddp->ld_array[lddp->ld_nents++]; in lut_collect_addent()
89 lcp->lutcp_addr = addr; in lut_collect_addent()
90 bcopy(ent, &lcp->lutcp_lut, sizeof (struct lut)); in lut_collect_addent()
155 struct lut_cp *lcp = &lddp->ld_array[*ip]; in lut_walk_step() local
162 return (wsp->walk_callback(lcp->lutcp_addr, &lcp->lutcp_lut, in lut_walk_step()
/titanic_41/usr/src/lib/libcurses/screen/
H A Dsetupterm.c237 char *lcp, *ccp, **on_sequences, **str_array; in setupterm() local
580 lcp = getenv("LINES"); in setupterm()
582 if (lcp) in setupterm()
583 if ((ilines = atoi(lcp)) > 0) { in setupterm()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A DMakefile14 lcp.o magic.o main.o options.o sys-solaris.o upap.o utils.o \
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c7569 char *lcp; in scsi_hba_bus_configone() local
7662 lcp = strchr(addr, ','); /* "addr,lun[,sfunc]" */ in scsi_hba_bus_configone()
7663 if (lcp) { in scsi_hba_bus_configone()
7673 if (*(lcp + 1) == '*') { in scsi_hba_bus_configone()
7681 *lcp = '\0'; /* turn ',' into '\0' */ in scsi_hba_bus_configone()
7689 lun64 = scsi_addr_to_lun64(lcp + 1); in scsi_hba_bus_configone()
7696 sc1 = *(lcp + 1); in scsi_hba_bus_configone()
7697 sc2 = *(lcp + 2); in scsi_hba_bus_configone()
7698 *(lcp + 1) = '0'; in scsi_hba_bus_configone()
7699 *(lcp + 2) = '\0'; in scsi_hba_bus_configone()
[all …]
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c5785 int cp, lcp; in nxge_mii_check() local
5790 lcp = statsp->mac_stats.lp_cap_pause; in nxge_mii_check()
5792 if ((cp == 0) && (lcp == 1)) { in nxge_mii_check()
/titanic_41/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c734 mptsas_led_control_t *lcp = arg; in mptsas_target_eval_slot() local
737 if (tp->m_enclosure != lcp->Enclosure) in mptsas_target_eval_slot()
738 return ((int)tp->m_enclosure - (int)lcp->Enclosure); in mptsas_target_eval_slot()
740 return ((int)tp->m_slot_num - (int)lcp->Slot); in mptsas_target_eval_slot()
/titanic_41/usr/src/uts/common/io/sata/impl/
H A Dsata.c17635 char *lcp; in sata_hba_event_notify() local
17964 lcp = strrchr(buf1, ','); in sata_hba_event_notify()
17965 if (lcp != NULL) in sata_hba_event_notify()
17966 *lcp = '\0'; in sata_hba_event_notify()