/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | printaps.c | 24 ftpinfo_t ftp; local 73 } else if (!strcmp(apr.apr_label, "ftp") && 74 (ap.aps_psiz == sizeof(ftp))) { 75 if (kmemcpy((char *)&ftp, (long)ap.aps_data, sizeof(ftp))) 78 printf("\t\tpassok: %d\n", ftp.ftp_passok); 79 ftp.ftp_side[0].ftps_buf[FTP_BUFSZ - 1] = '\0'; 80 ftp.ftp_side[1].ftps_buf[FTP_BUFSZ - 1] = '\0'; 83 ftp.ftp_side[0].ftps_seq[0], 84 ftp [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | sdssc_bind.c | 136 func_table_p ftp; local 173 for (ftp = dl_table; ftp->fptr != (void *)0; ftp++) { 174 if ((*ftp->fptr = dlsym(dp, ftp->fname)) == NULL) { 180 if (strcmp(ftp->fname, 182 *ftp->fptr = (void *)¬_bound_error;
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_dr.c | 79 fmd_topo_t *ftp, *prev; local 139 ftp = fmd_topo_hold(); 140 e = fmd_event_create(FMD_EVT_TOPO, ftp->ft_time_end, NULL, ftp);
|
H A D | fmd_topo.c | 51 fmd_topo_rele_locked(fmd_topo_t *ftp) argument 55 if (--ftp->ft_refcount == 0) { 56 fmd_list_delete(&fmd.d_topo_list, ftp); 57 topo_close(ftp->ft_hdl); 58 fmd_free(ftp, sizeof (fmd_topo_t)); 67 fmd_topo_t *ftp, *prev; local 85 ftp = fmd_alloc(sizeof (fmd_topo_t), FMD_SLEEP); 86 ftp->ft_hdl = tp; 87 ftp->ft_time_begin = fmd_time_gethrtime(); 95 ftp 114 fmd_topo_t *ftp; local 125 fmd_topo_addref(fmd_topo_t *ftp) argument 133 fmd_topo_rele(fmd_topo_t *ftp) argument 145 fmd_topo_t *ftp; local 168 fmd_topo_t *ftp; local [all...] |
H A D | fmd_fmri.c | 233 fmd_topo_t *ftp; local 238 ftp = fmd_topo_hold(); 240 return (ftp->ft_hdl);
|
H A D | fmd_mdb.c | 1588 fmd_topo_t ftp; local 1593 if (mdb_vread(&ftp, sizeof (ftp), addr) != sizeof (ftp)) { 1598 wsp->walk_addr = (uintptr_t)ftp.ft_list.l_next; 1599 return (wsp->walk_callback(addr, &ftp, wsp->walk_cbdata));
|
H A D | fmd_case.c | 473 fmd_topo_t *ftp = fmd_topo_hold(); local 495 topo_fmri_strcmp(ftp->ft_hdl, name, new_name))); 501 fmd_topo_rele(ftp);
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | hunt7.c | 36 char *p, **ftp; local 92 for (ftp = fgnames; ftp < fgnamp; ftp++) 93 if (strcmp(*ftp, name) == SAME)
|
/illumos-gate/usr/src/lib/libdtrace/sparc/ |
H A D | dt_isadep.c | 54 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) 56 ftp->ftps_type = DTFTP_ENTRY; 57 ftp->ftps_pc = (uintptr_t)symp->st_value; 58 ftp->ftps_size = (size_t)symp->st_size; 59 ftp->ftps_noffs = 1; 60 ftp->ftps_offs[0] = 0; 62 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { 73 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) 97 ftp->ftps_type = DTFTP_RETURN; 98 ftp 53 dt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) argument 72 dt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) argument 278 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) argument 301 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument [all...] |
/illumos-gate/usr/src/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 62 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) 64 ftp->ftps_type = DTFTP_ENTRY; 65 ftp->ftps_pc = (uintptr_t)symp->st_value; 66 ftp->ftps_size = (size_t)symp->st_size; 67 ftp->ftps_noffs = 1; 68 ftp->ftps_offs[0] = 0; 70 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { 81 uint8_t *text, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) 93 for (i = 0; i < ftp->ftps_size; i += size) { 114 ftp 61 dt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) argument 80 dt_pid_has_jump_table(struct ps_prochandle *P, dtrace_hdl_t *dtp, uint8_t *text, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) argument 124 dt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) argument 268 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) argument 350 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_mark.c | 178 * ftp (input) - pointer to the traverse parameters 186 fs_traverse_t *ftp) 191 if (!session || !nlp || !ftp) { 199 if (traverse_post(ftp) != 0) { 185 traverse(ndmpd_session_t *session, ndmp_lbr_params_t *nlp, fs_traverse_t *ftp) argument
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | anal.c | 651 struct fileinfo *chgp, *tgtp, *basp, *fcp, *ftp; local 658 ftp = &fp->f_info[tgtside]; 715 if ((ftp->f_d_maj == tgtp->f_d_maj) && 716 (ftp->f_d_min == tgtp->f_d_min) && 717 (ftp->f_ino == tgtp->f_ino)) 779 if ((ftp->f_d_maj == tgtp->f_d_maj) && 780 (ftp->f_d_min == tgtp->f_d_min) && 781 (ftp->f_ino == tgtp->f_ino))
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_filio.c | 565 struct fiotune ftp; local 578 if (copyin(uftp, &ftp, sizeof (ftp))) 584 if ((ftp.maxcontig <= 0) || 585 (ftp.rotdelay != 0) || 586 (ftp.maxbpg <= 0) || 587 (ftp.minfree < 0) || 588 (ftp.minfree > 99) || 589 ((ftp.optim != FS_OPTTIME) && (ftp [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_pid.c | 80 fasttrap_probe_spec_t *ftp, dt_errtag_t tag, const char *fmt, ...) 85 if (ftp != NULL) 86 dt_free(dtp, ftp); 111 fasttrap_probe_spec_t *ftp; local 126 (symp->st_size - 1) * sizeof (ftp->ftps_offs[0])); 128 if ((ftp = dt_alloc(dtp, sz)) == NULL) { 133 ftp->ftps_pid = pid; 134 (void) strncpy(ftp->ftps_func, func, sizeof (ftp->ftps_func)); 136 dt_pid_objname(ftp 79 dt_pid_error(dtrace_hdl_t *dtp, dt_pcb_t *pcb, dt_proc_t *dpr, fasttrap_probe_spec_t *ftp, dt_errtag_t tag, const char *fmt, ...) argument [all...] |
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_traverse.c | 86 (*(ftp)->ft_callbk)((ftp)->ft_arg, pp, ep) 144 static int traverse_level_nondir(struct fs_traverse *ftp, 327 traverse_post(struct fs_traverse *ftp) argument 340 if (!ftp || !ftp->ft_path || !*ftp->ft_path || !ftp->ft_callbk) { 347 if (!ftp->ft_logfp) { 348 ftp 639 traverse_level_nondir(struct fs_traverse *ftp, traverse_state_t *tsp, struct fst_node *pnp, dent_arg_t *darg) argument 745 traverse_level(struct fs_traverse *ftp) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_ftp_pxy.c | 159 ftpinfo_t *ftp; local 162 KMALLOC(ftp, ftpinfo_t *); 163 if (ftp == NULL) 169 aps->aps_data = ftp; 172 bzero((char *)ftp, sizeof(*ftp)); 173 f = &ftp->ftp_side[0]; 176 f = &ftp->ftp_side[1]; 179 ftp->ftp_passok = FTPXY_INIT; 180 ftp 1360 ftpinfo_t *ftp; local 1381 ftpinfo_t *ftp; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/ |
H A D | sunfire.c | 1159 struct ft_list *ftp; local 1168 for (i = 0, ftp = kstats->ft_array; i < kstats->nfaults; i++, ftp++) { 1175 if (ftp->fclass == FT_BOARD) { 1176 log_printf("Board %d fault: %s\n", ftp->unit, 1177 ftp->msg, 0); 1188 if (ftp->type == FT_PROM) { 1193 bn = find_board(tree, ftp->unit); 1210 } else if ((ftp->type == FT_CORE_PS) || (ftp [all...] |
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 983 mac_impl_t *mip, flow_tab_t **ftp) 1015 *ftp = ft; 1019 mac_flow_l2tab_create(mac_impl_t *mip, flow_tab_t **ftp) argument 1022 1024, mip, ftp); 982 mac_flow_tab_create(flow_ops_t *ops, flow_mask_t mask, uint_t size, mac_impl_t *mip, flow_tab_t **ftp) argument
|