Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dqry.c223 lcp->id[2] = 0; in e2c()
238 lookup_ctrl_t *lcp in qry_c2e() argument
278 lcp->id[1] = n; in qry_ds2m()
281 n = lcp->id[1]; in qry_ds2m()
293 lcp->id[1] = 0; in qry_ds2m()
401 lcp->id[1] = 0; in qry_i2g()
470 lcp->id[1] = 0; in qry_p2g()
471 lcp->id[2] = 0; in qry_p2g()
520 lcp->id[1] = 0; in qry_g2i()
570 lcp->id[1] = 0; in qry_g2p()
[all …]
H A Dcache.c347 return (htab_lookup(imc->t[lcp->type], in cache_lookup()
348 lcp, in cache_lookup()
349 (lcp->op[0] == OP_INTEGER) ? lcp->data[0].ui : 0, in cache_lookup()
369 cache_rekey(lookup_ctrl_t *lcp, uint32_t *uid_p, in cache_rekey() argument
372 return (htab_lookup(imc->t[lcp->type], in cache_rekey()
373 lcp, in cache_rekey()
374 (lcp->op[0] == OP_INTEGER) ? lcp->data[0].ui : 0, in cache_rekey()
414 cache_remove(lookup_ctrl_t *lcp, int flag) in cache_remove() argument
416 return (htab_remove(imc->t[lcp->type], in cache_remove()
417 lcp, in cache_remove()
[all …]
H A Dobj.c361 lookup_ctrl_t *lcp; in entity_hval() local
402 lookup_ctrl_t *lcp; in iscsi_hval() local
732 if (lcp->curr_uid != 0 && uid >= lcp->curr_uid) { in obj_cmp()
1275 lcp->type = type; in set_lookup_ctrl()
1289 return (lcp); in set_lookup_ctrl()
3068 lcp->op[i] = 0; in setup_ref_lcp()
3084 lcp->type = t; in setup_deref_lcp()
3097 lcp->op[i] = 0; in setup_deref_lcp()
3203 t = lcp->id[2]; in cb_set_ref()
3534 et = lcp->id[2]; in cb_ref_new2old()
[all …]
H A Dfunc.c315 lcp->curr_uid = 0; in setup_key_lcp()
316 lcp->op[0] = 0; in setup_key_lcp()
325 lcp->op[1] = 0; in setup_key_lcp()
334 lcp->op[1] = 0; in setup_key_lcp()
357 lcp->op[2] = 0; in setup_key_lcp()
1332 lcp->curr_uid = 0;
1337 lcp->op[1] = 0;
1339 return (lcp);
1361 lcp->curr_uid = 0;
1366 lcp->op[1] = 0;
[all …]
H A Ddd.c79 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()
146 attr->value.ui = lcp->data[1].ui; in cb_update_ds_attr()
855 lcp->op[i] != 0) { in cb_clone_attrs()
861 lcp->id[i] != 0) { in cb_clone_attrs()
862 switch (lcp->id[i]) { in cb_clone_attrs()
896 if (lcp->data[i].ip != NULL) { in cb_clone_attrs()
927 lcp->data[i].ui = 0; in cb_clone_attrs()
[all …]
H A Dadmintf.c131 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2; in cb_get_node_info() local
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
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()
452 uint32_t tag = lcp->id[2]; in cb_get_portal_info()
1033 uchar_t *ddname = lcp->data[2].ptr; in cb_getAssociated_node_info()
1101 uchar_t *nodename = lcp->data[2].ptr; in cb_getAssociated_node_to_dd_info()
1169 uchar_t *ddsetname = lcp->data[2].ptr; in cb_getAssociated_dd_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()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dexternal.c212 Lc_desc *lcp; in get_lcinterface() local
224 lcp = &lml->lm_lcs[0]; in get_lcinterface()
243 if ((lcp[tag].lc_lmp) && in get_lcinterface()
246 lcp[tag].lc_lmp, tag)); in get_lcinterface()
250 lcp[tag].lc_un.lc_ptr = lptr; in get_lcinterface()
251 lcp[tag].lc_lmp = lmp; in get_lcinterface()
371 if (((lcp[CI_TLS_MODADD].lc_un.lc_func != NULL) && in get_lcinterface()
372 (lcp[CI_TLS_MODREM].lc_un.lc_func != NULL) && in get_lcinterface()
374 lcp[CI_TLS_MODADD].lc_un.lc_func = NULL; in get_lcinterface()
375 lcp[CI_TLS_MODREM].lc_un.lc_func = NULL; in get_lcinterface()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash.c1249 HASH_CURSOR *lcp; local
1297 lcp->dndx = hcp->dndx;
1299 lcp->pgno = hcp->pgno;
1300 lcp->bndx = hcp->bndx;
1303 F_CLR(lcp, H_ISDUP);
1308 lcp->bndx--;
1310 F_SET(lcp, H_DELETED);
1315 lcp->dndx++;
1317 lcp->dndx--;
1319 F_SET(lcp, H_DELETED);
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_tied.c96 const char *lcp = (const char *)&lp->dt_key.signature; in _dwarf_tied_compare_function() local
98 const char *lcpend = lcp + sizeof(Dwarf_Sig8); in _dwarf_tied_compare_function()
100 for(; lcp < lcpend; ++lcp,++rcp) { in _dwarf_tied_compare_function()
101 if (*lcp < *rcp) { in _dwarf_tied_compare_function()
103 } else if (*lcp > *rcp) { in _dwarf_tied_compare_function()
H A Ddwarf_macro.c54 char *lcp; in dwarf_find_macro_value_start() local
57 for (lcp = str; *lcp; ++lcp) { in dwarf_find_macro_value_start()
58 switch (*lcp) { in dwarf_find_macro_value_start()
64 return lcp + 2; in dwarf_find_macro_value_start()
69 return lcp + 1; in dwarf_find_macro_value_start()
76 return lcp; in dwarf_find_macro_value_start()
/illumos-gate/usr/src/lib/libdscp/svc/
H A Ddscp.ppp.options62 lcp-echo-failure 6
63 lcp-echo-interval 5
64 lcp-max-configure 10
65 lcp-max-failure 10
66 lcp-max-terminate 3
67 lcp-restart 3
/illumos-gate/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()
223 i = (addr ^ (addr >> lcp->lwpchan_bits)) & lcp->lwpchan_mask; in lwpchan_bucket()
246 lcp->lwpchan_size = 1 << lcp->lwpchan_bits; in lwpchan_alloc_cache()
247 lcp->lwpchan_mask = lcp->lwpchan_size - 1; in lwpchan_alloc_cache()
249 lcp->lwpchan_cache = kmem_zalloc(lcp->lwpchan_size * in lwpchan_alloc_cache()
258 kmem_free(lcp->lwpchan_cache, lcp->lwpchan_size * in lwpchan_alloc_cache()
310 p->p_lcp = lcp; in lwpchan_alloc_cache()
339 lcp = p->p_lcp; in lwpchan_destroy_cache()
361 kmem_free(lcp->lwpchan_cache, lcp->lwpchan_size * in lwpchan_destroy_cache()
[all …]
/illumos-gate/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';
715 lcp->cost = cc;
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c792 lcost *lcp; in cost() local
822 lcp = &LC(or + 1, nr + 1); in cost()
826 lcp->op = 'm'; in cost()
830 lcp->cost += REPLACE_COST; in cost()
831 lcp->op = 'r'; in cost()
836 lcp->cost) { in cost()
837 lcp->cost = cc; in cost()
838 lcp->op = 'i'; in cost()
843 lcp->cost) { in cost()
844 lcp->cost = cc; in cost()
[all …]
/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c145 if ((lcp = (struct tz_continent *) in get_tz_continents()
151 (void) strncpy(lcp->ctnt_name, lp, len); in get_tz_continents()
152 lcp->ctnt_name[len] = '\0'; in get_tz_continents()
158 (void) free_tz_continents(lcp); in get_tz_continents()
165 lcp->ctnt_id_desc = ptr; in get_tz_continents()
168 lptr = dgettext(TEXT_DOMAIN, lcp->ctnt_id_desc); in get_tz_continents()
170 (void) free_tz_continents(lcp); in get_tz_continents()
175 lcp->ctnt_display_desc = ptr; in get_tz_continents()
178 head = lcp; in get_tz_continents()
180 prev->ctnt_next = lcp; in get_tz_continents()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deft_mdb.c84 struct lut_cp *lcp; in lut_collect_addent() local
89 lcp = &lddp->ld_array[lddp->ld_nents++]; in lut_collect_addent()
91 lcp->lutcp_addr = addr; in lut_collect_addent()
92 bcopy(ent, &lcp->lutcp_lut, sizeof (struct lut)); in lut_collect_addent()
157 struct lut_cp *lcp = &lddp->ld_array[*ip]; in lut_walk_step() local
164 return (wsp->walk_callback(lcp->lutcp_addr, &lcp->lutcp_lut, in lut_walk_step()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dsetupterm.c235 char *lcp, *ccp, **on_sequences, **str_array; in setupterm() local
587 lcp = getenv("LINES"); in setupterm()
589 if (lcp) in setupterm()
590 if ((ilines = atoi(lcp)) > 0) { in setupterm()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A DMakefile15 lcp.o magic.o main.o options.o sys-solaris.o upap.o utils.o \
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c7574 char *lcp; in scsi_hba_bus_configone() local
7668 if (lcp) { in scsi_hba_bus_configone()
7678 if (*(lcp + 1) == '*') { in scsi_hba_bus_configone()
7686 *lcp = '\0'; /* turn ',' into '\0' */ in scsi_hba_bus_configone()
7694 lun64 = scsi_addr_to_lun64(lcp + 1); in scsi_hba_bus_configone()
7701 sc1 = *(lcp + 1); in scsi_hba_bus_configone()
7702 sc2 = *(lcp + 2); in scsi_hba_bus_configone()
7703 *(lcp + 1) = '0'; in scsi_hba_bus_configone()
7704 *(lcp + 2) = '\0'; in scsi_hba_bus_configone()
7709 *(lcp + 1) = sc1; in scsi_hba_bus_configone()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c5661 int cp, lcp; in nxge_mii_check() local
5666 lcp = statsp->mac_stats.lp_cap_pause; in nxge_mii_check()
5668 if ((cp == 0) && (lcp == 1)) { in nxge_mii_check()
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c17698 char *lcp; in sata_hba_event_notify() local
18027 lcp = strrchr(buf1, ','); in sata_hba_event_notify()
18028 if (lcp != NULL) in sata_hba_event_notify()
18029 *lcp = '\0'; in sata_hba_event_notify()