Home
last modified time | relevance | path

Searched refs:lip (Results 1 – 20 of 20) sorted by relevance

/titanic_50/usr/src/cmd/fs.d/ufs/roll_log/
H A Droll_log.c81 static rl_result_t is_mounted(log_info_t *lip, char *dev);
82 static void cleanup(log_info_t *lip);
83 static rl_result_t make_mp(log_info_t *lip);
84 static rl_result_t rlflush(log_info_t *lip);
85 static rl_result_t rlmount(log_info_t *lip, int mntopt);
86 static rl_result_t rlumount(log_info_t *lip);
157 cleanup(log_info_t *lip) in cleanup() argument
159 if (lip->li_blkname != (char *)NULL) { in cleanup()
160 free(lip->li_blkname); in cleanup()
161 lip->li_blkname = (char *)NULL; in cleanup()
[all …]
/titanic_50/usr/src/lib/libdladm/common/
H A Dpropfuncs.c45 free_props(prop_db_info_t *lip) in free_props() argument
50 for (; lip != NULL; lip = lip_next) { in free_props()
51 lip_next = lip->li_nextprop; in free_props()
52 for (lvp = lip->li_val; lvp != NULL; lvp = lvp_next) { in free_props()
56 free(lip); in free_props()
71 prop_db_info_t *lip = listp; in generate_prop_line() local
77 if (lip == NULL || in generate_prop_line()
78 (lip->li_val == NULL && lip->li_nextprop == NULL)) { in generate_prop_line()
84 for (; lip != NULL; lip = lip->li_nextprop) { in generate_prop_line()
88 if (lip->li_val == NULL) in generate_prop_line()
[all …]
/titanic_50/usr/src/uts/common/os/
H A Ddriver_lyr.c225 struct ldi_ident *lip, **lipp, *retlip; in ident_alloc() local
236 lip = kmem_zalloc(sizeof (*lip), KM_SLEEP); in ident_alloc()
249 kmem_free(lip, sizeof (struct ldi_ident)); in ident_alloc()
254 lip->li_next = NULL; in ident_alloc()
255 lip->li_ref = 1; in ident_alloc()
256 lip->li_modid = modid; in ident_alloc()
257 lip->li_major = major; in ident_alloc()
258 lip->li_dip = dip; in ident_alloc()
259 lip->li_dev = dev; in ident_alloc()
260 (void) strncpy(lip->li_modname, mod_name, sizeof (lip->li_modname) - 1); in ident_alloc()
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dldi.c58 struct ldi_ident *lip; /* ldi handle pointer */ member
156 if ((mdb_vread(&liwp->lip, sizeof (struct ldi_ident *), in ldi_ident_walk_init()
162 wsp->walk_addr = (uintptr_t)liwp->lip; in ldi_ident_walk_init()
182 if ((mdb_vread(&liwp->lip, sizeof (struct ldi_ident *), in ldi_ident_walk_step()
189 wsp->walk_addr = (uintptr_t)liwp->lip; in ldi_ident_walk_step()
/titanic_50/usr/src/uts/common/io/chxge/com/
H A Dmc5.c116 u32 lip[MC5_LIP_NUM_OF_ENTRIES]; member
721 qsort(mc5->lip, mc5->lip_index, sizeof(u32), mc5_cmp); in t1_mc5_lip_write_entries()
722 filler = mc5->lip[mc5->lip_index - 1]; in t1_mc5_lip_write_entries()
725 mc5->lip[i] = filler; in t1_mc5_lip_write_entries()
726 mc5_set_lip_entries(mc5, mc5->lip, MC5_LIP_NUM_OF_ENTRIES); in t1_mc5_lip_write_entries()
737 int t1_mc5_lip_add_entry(struct pemc5 *mc5, u32 lip) in t1_mc5_lip_add_entry() argument
740 mc5->lip[mc5->lip_index++] = lip; in t1_mc5_lip_add_entry()
H A Dmc5.h75 int t1_mc5_lip_add_entry(struct pemc5 *mc5, u32 lip);
/titanic_50/usr/src/uts/sun4u/lw8/io/
H A Dlw8.c965 struct led_info *lip; in lw8_setled() local
973 lip = &fru_led_table[i].led_info[j]; in lw8_setled()
974 if (lip->id == NULL) in lw8_setled()
976 if (strncmp(set_ledp->id, lip->id, MAX_ID_LEN) != 0) in lw8_setled()
1009 struct led_info *lip; in lw8_getled() local
1022 lip = &fru_led_table[i].led_info[j]; in lw8_getled()
1023 if (lip->id == NULL) in lw8_getled()
1025 if (strncmp(get_ledp->id, lip->id, MAX_ID_LEN) != 0) in lw8_getled()
1053 get_ledp->status = lip->status; in lw8_getled()
1055 get_ledp->position = lip->position; in lw8_getled()
[all …]
/titanic_50/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_element_ctl.c170 ses2_lock_ctl_impl_t *lip; in elem_setprop_lock() local
174 if ((lip = ses_plugin_ctlpage_lookup(sp, ses_node_snapshot(np), in elem_setprop_lock()
182 lip->slci_rqst_fail = v; in elem_setprop_lock()
184 lip->slci_rqst_ident = v; in elem_setprop_lock()
186 lip->slci_unlock = v; in elem_setprop_lock()
427 ses2_lang_ctl_impl_t *lip; in elem_setprop_lang() local
432 if ((lip = ses_plugin_ctlpage_lookup(sp, ses_node_snapshot(np), in elem_setprop_lang()
440 SCSI_WRITE16(&lip->slci_language_code, v64); in elem_setprop_lang()
447 lip->slci_rqst_ident = v1; in elem_setprop_lang()
1529 ses2_lock_ctl_impl_t *lip = data; in elem_setdef_lock() local
[all …]
H A Dses2_element.c160 ses2_lock_status_impl_t *lip = (ses2_lock_status_impl_t *)esip; in elem_parse_lock() local
164 lip->slsi_fail); in elem_parse_lock()
166 lip->slsi_ident); in elem_parse_lock()
168 lip->slsi_unlocked); in elem_parse_lock()
329 ses2_lang_status_impl_t *lip = (ses2_lang_status_impl_t *)esip; in elem_parse_lang() local
333 lip->slsi_ident); in elem_parse_lang()
335 SCSI_READ16(&lip->slsi_language_code)); in elem_parse_lang()
/titanic_50/usr/src/cmd/filesync/
H A Danal.c834 struct fileinfo *fip, *lip; in has_other_links() local
848 lip = &lp->f_info[srcdst]; in has_other_links()
853 if (lip->f_mode == 0) in has_other_links()
861 if (lip->f_d_maj != fip->f_d_maj) in has_other_links()
863 if (lip->f_d_min != fip->f_d_min) in has_other_links()
865 if (lip->f_ino != fip->f_ino) in has_other_links()
/titanic_50/usr/src/uts/common/inet/ipf/
H A Dfil.c1676 u_32_t *ld, *lm, *lip; local
1684 lip = (u_32_t *)fi;
1692 i = ((*lip & *lm) != *ld);
1694 *lip, *lm, *ld));
1702 lip++, lm++, ld++;
1703 i |= ((*lip & *lm) != *ld);
1705 *lip, *lm, *ld));
1709 lip++, lm++, ld++;
1719 i = (*fr->fr_srcfunc)(fr->fr_srcptr, fi->fi_v, lip, fin, ifs);
1722 lip += 3;
[all …]
/titanic_50/usr/src/uts/common/fs/udfs/
H A Dudf_subr.c836 struct ud_inode *ip, *lip; in ud_flushi() local
850 lip = NULL; in ud_flushi()
852 for (ip = ih->ih_chain[0], lip = NULL; in ud_flushi()
876 if (lip != NULL) { in ud_flushi()
877 ITIMES(lip); in ud_flushi()
878 VN_RELE(ITOV(lip)); in ud_flushi()
880 lip = ip; in ud_flushi()
895 if (lip != NULL) { in ud_flushi()
896 ITIMES(lip); in ud_flushi()
897 VN_RELE(ITOV(lip)); in ud_flushi()
/titanic_50/usr/src/lib/libproc/common/
H A DPgcore.c177 const lwpsinfo_t *lip, prstatus_t *psp) in mkprstatus() argument
244 psp->pr_processor = (short)lip->pr_onpro; in mkprstatus()
245 psp->pr_bind = (short)lip->pr_bindpro; in mkprstatus()
302 const lwpsinfo_t *lip, prstatus32_t *psp) in mkprstatus32() argument
369 psp->pr_processor = (short)lip->pr_onpro; in mkprstatus32()
370 psp->pr_bind = (short)lip->pr_bindpro; in mkprstatus32()
457 old_per_lwp(void *data, const lwpstatus_t *lsp, const lwpsinfo_t *lip) in old_per_lwp() argument
472 mkprstatus(P, lsp, lip, &prstatus); in old_per_lwp()
483 mkprstatus32(P, lsp, lip, &pr32); in old_per_lwp()
508 new_per_lwp(void *data, const lwpstatus_t *lsp, const lwpsinfo_t *lip) in new_per_lwp() argument
[all …]
/titanic_50/usr/src/uts/common/io/
H A Dlofi.c2552 struct lofi_ioctl *lip = (struct lofi_ioctl *)arg; in lofi_ioctl() local
2563 return (lofi_map_file(dev, lip, 1, rvalp, credp, flag)); in lofi_ioctl()
2567 return (lofi_map_file(dev, lip, 0, rvalp, credp, flag)); in lofi_ioctl()
2571 return (lofi_unmap_file(lip, 1, credp, flag)); in lofi_ioctl()
2575 return (lofi_unmap_file(lip, 0, credp, flag)); in lofi_ioctl()
2577 return (lofi_get_info(dev, lip, LOFI_GET_FILENAME, in lofi_ioctl()
2580 return (lofi_get_info(dev, lip, LOFI_GET_MINOR, in lofi_ioctl()
2606 error = ddi_copyout(&minor, &lip->li_minor, in lofi_ioctl()
2613 return (lofi_get_info(dev, lip, LOFI_CHECK_COMPRESSED, in lofi_ioctl()
/titanic_50/usr/src/uts/common/fs/ufs/
H A Dufs_inode.c1621 struct inode *lip = NULL; /* last/previous inode */ in ufs_scan_inodes() local
1656 ip = lip->i_forw) { in ufs_scan_inodes()
1665 VN_RELE(ITOV(lip)); in ufs_scan_inodes()
1667 lip = ip; in ufs_scan_inodes()
1727 VN_RELE(ITOV(lip)); in ufs_scan_inodes()
/titanic_50/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_door.c1164 dlmgmt_door_linkprop_init_t *lip = argp; in dlmgmt_upcall_linkprop_init() local
1170 if ((linkp = link_by_id(lip->ld_linkid, zoneid)) == NULL) in dlmgmt_upcall_linkprop_init()
1180 s = dladm_init_linkprop(dld_handle, lip->ld_linkid, B_TRUE); in dlmgmt_upcall_linkprop_init()
1184 lip->ld_linkid, dladm_status2str(s, buf)); in dlmgmt_upcall_linkprop_init()
/titanic_50/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu.c1084 oplmsu_open_msu(dev_info_t *dip, ldi_ident_t *lip, ldi_handle_t *lhp) in oplmsu_open_msu() argument
1090 rval = ldi_ident_from_dip(dip, lip); in oplmsu_open_msu()
1100 ldi_open_by_dev(&devt, OTYP_CHR, (FREAD|FWRITE), kcred, lhp, *lip); in oplmsu_open_msu()
1104 ldi_ident_release(*lip); in oplmsu_open_msu()
/titanic_50/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_interface.h267 __u8 lip[16]; member
580 __be32 lip; member
/titanic_50/usr/src/cmd/look/
H A Dwords13571 lip
/titanic_50/usr/src/cmd/spell/
H A Dlist13569 lip