Searched refs:prop_size (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 112 size_t prop_size; in opl_pci_callback() local 141 prop_size = sizeof (parent_path) + 1; in opl_pci_callback() 142 if (prop_size > MAXSTRLEN) in opl_pci_callback() 143 prop_size = MAXSTRLEN; in opl_pci_callback() 144 (void) strlcpy(root_path, parent_path, prop_size); in opl_pci_callback() 180 prop_size = sizeof (path) + 1; in opl_pci_callback() 181 if (prop_size > MAXSTRLEN) in opl_pci_callback() 182 prop_size = MAXSTRLEN; in opl_pci_callback() 183 (void) strlcpy(pci_card.notes, path, prop_size); in opl_pci_callback() 268 prop_size = sizeof (name) + 1; in opl_pci_callback() [all …]
|
/illumos-gate/usr/src/lib/libraidcfg/common/ |
H A D | raidcfg_spi.h | 331 uint32_t prop_size; member
|
H A D | raidcfg.c | 764 if (dst->prop_size == 0) { in raidcfg_get_attr() 765 dst->prop_size = src->prop_size; in raidcfg_get_attr() 770 if (dst->prop_size < src->prop_size) in raidcfg_get_attr() 771 size = dst->prop_size; in raidcfg_get_attr() 773 size = src->prop_size; in raidcfg_get_attr() 3202 attr->prop_size = 0; in obj_prop_get_attr() 3210 attr_new = realloc(attr, sizeof (property_attr_t) + attr->prop_size); in obj_prop_get_attr()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/ |
H A D | inetconv.c | 384 size_t prop_size; in valid_basic_properties() local 390 inetd_properties = get_prop_table(&prop_size); in valid_basic_properties() 391 prop = safe_malloc(prop_size * sizeof (inetd_prop_t)); in valid_basic_properties() 393 prop_size * sizeof (inetd_prop_t)); in valid_basic_properties()
|
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | ptree_impl.h | 158 #define prop_size u.prop.info.piclinfo.size macro
|
H A D | picltree.c | 863 if (sz != propp->prop_size) in check_propsize() 877 if ((op == PROP_WRITE) && (sz > propp->prop_size)) in check_propsize() 882 if (sz > propp->prop_size) in check_propsize() 888 if (propp->prop_size != sz) in check_propsize() 1225 pobj->prop_size = pinfo->piclinfo.size; in create_propobj() 2074 pinfo->piclinfo.size = propp->prop_size; in copy_propinfo_ver_1() 2220 (void) strlcpy(vbuf, propp->prop_val, propp->prop_size); in read_propval_and_unlock() 2222 (void) memcpy(vbuf, propp->prop_val, propp->prop_size); in read_propval_and_unlock()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 6290 size_t prop_size; in vhci_get_phci_path_list() local 6312 status = mdi_prop_size(pip, &prop_size); in vhci_get_phci_path_list() 6314 *ret_pip->ret_prop.ret_buf_size = (uint_t)prop_size; in vhci_get_phci_path_list() 6328 prop_size && ret_pip->ret_prop.buf_size >= prop_size) { in vhci_get_phci_path_list() 6372 size_t prop_size; in vhci_get_client_path_list() local 6389 status = mdi_prop_size(pip, &prop_size); in vhci_get_client_path_list() 6391 *ret_pip->ret_prop.ret_buf_size = (uint_t)prop_size; in vhci_get_client_path_list() 6405 prop_size && ret_pip->ret_prop.buf_size >= prop_size) { in vhci_get_client_path_list()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 115 int prop_size; member 1958 prop_ptr->prop_size = FC_WWN_SIZE; in update_map_dev_fc_prop() 1979 prop_ptr->prop_size = FC_WWN_SIZE; in update_map_dev_fc_prop() 2045 prop_ptr->prop_size = sizeof (uchar_t); in update_map_dev_FCP_prop() 2960 *prop_data_count = impl_prop->prop_size; in g_dev_prop_lookup_bytes() 3219 *prop_data_count = impl_prop->prop_size; in g_get_dev_prop_bytes()
|
/illumos-gate/usr/src/cmd/raidctl/ |
H A D | raidctl.c | 2047 prop_attr->prop_size = 0; in print_disk_table() 2058 sizeof (raidcfg_prop_t) + prop_attr->prop_size); in print_disk_table()
|