Home
last modified time | relevance | path

Searched refs:name_length (Results 1 – 17 of 17) sorted by relevance

/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dccdefname.c77 int name_length; in krb5_cc_set_default_name() local
107 name_length = strlen(name); in krb5_cc_set_default_name()
108 if (name_length >= MAXNAMLEN || name_length <=0) { in krb5_cc_set_default_name()
110 "bad file size %d\n", name_length); in krb5_cc_set_default_name()
113 new_name = malloc(name_length+1); in krb5_cc_set_default_name()
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_targetparam.c113 int name_length; in iscsi_targetparam_get_oid() local
117 name_length = strlen((char *)name); in iscsi_targetparam_get_oid()
122 if ((name_length == strlen((char *)curr_entry->target_name)) && in iscsi_targetparam_get_oid()
124 (char *)name, name_length) == 0)) { in iscsi_targetparam_get_oid()
H A Discsi_doorclt.c336 req->name_length = strlen(name); in kgetipnodebyname()
337 if (req->name_length > in kgetipnodebyname()
350 req->name_length); in kgetipnodebyname()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dget_names.c71 int name_length; local
101 name_length = HOST_NAME_LENGTH;
102 (void) sysinfo(SI_HOSTNAME, hostname, name_length);
/titanic_44/usr/src/lib/print/libipp-core/common/
H A Dread.c274 uint16_t name_length, value_length; in ipp_read_attribute_group() local
304 if (iread(fd, &name_length, 2) != 2) { in ipp_read_attribute_group()
309 name_length = (uint16_t)ntohs(name_length); in ipp_read_attribute_group()
312 if (name_length != 0) { in ipp_read_attribute_group()
313 if ((name = alloca(name_length + 1)) == NULL) { in ipp_read_attribute_group()
318 (void) memset(name, 0, name_length + 1); in ipp_read_attribute_group()
320 if (iread(fd, name, name_length) != name_length) { in ipp_read_attribute_group()
/titanic_44/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netlogon.c359 int name_length; in smb_netlogon_samlogon() local
370 name_length = strlen(hostname) + 2; in smb_netlogon_samlogon()
371 username = alloca(name_length); in smb_netlogon_samlogon()
372 (void) snprintf(username, name_length, "%s$", hostname); in smb_netlogon_samlogon()
379 name_length = strlen(mailbox)+1; in smb_netlogon_samlogon()
385 + name_length in smb_netlogon_samlogon()
/titanic_44/usr/src/cmd/csh/
H A Dsh.file.c530 int name_length, looking_for_lognames; in search2() local
556 name_length = strlen_(name); in search2()
561 if (name_length == 0 && entry[0] == '.' && in search2()
581 entry, name_length, ++numitems)) in search2()
636 recognize(tchar *extended_name, tchar *entry, int name_length, int numitems) in recognize() argument
652 if (len == name_length) /* Ambiguous to prefix? */ in recognize()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Din.talkd.c74 int name_length = sizeof (hostname); in main() local
78 (void) sysinfo(SI_HOSTNAME, hostname, name_length); in main()
/titanic_44/usr/src/cmd/make/bin/
H A Dread.cc743 int name_length; in parse_makefile() local
799 name_length = name_string.text.p - name_start; in parse_makefile()
802 name_length = source_p - string_start; in parse_makefile()
809 name_length -= 2; in parse_makefile()
813 (name_start[name_length - 1] == (int) doublequote_char)) { in parse_makefile()
815 name_length -= 2; in parse_makefile()
822 name_length -= 2; in parse_makefile()
835 name_length); in parse_makefile()
838 name_length = include_name.text.p - name_start; in parse_makefile()
845 makefile_name = GETNAME(name_start, name_length); in parse_makefile()
/titanic_44/usr/src/uts/common/sys/scsi/adapters/
H A Discsi_door.h59 uint32_t name_length; member
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c3035 uint8_t name_length; in tavor_pci_capability_vpd() local
3081 name_length = (uint8_t)vpd.vpd_char[vpd_str_id + 1]; in tavor_pci_capability_vpd()
3082 if (name_length > sizeof (state->ts_hca_name)) { in tavor_pci_capability_vpd()
3084 name_length); in tavor_pci_capability_vpd()
3088 name_length); in tavor_pci_capability_vpd()
3089 state->ts_hca_name[name_length] = 0; in tavor_pci_capability_vpd()
3092 vpd_ro_desc = name_length + 3; /* read-only tag location */ in tavor_pci_capability_vpd()
3107 name_length); in tavor_pci_capability_vpd()
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon.c4223 uint8_t name_length; in hermon_pci_capability_vpd() local
4267 name_length = (uint8_t)vpd.vpd_char[vpd_str_id + 1]; in hermon_pci_capability_vpd()
4268 if (name_length > sizeof (state->hs_hca_name)) { in hermon_pci_capability_vpd()
4270 name_length); in hermon_pci_capability_vpd()
4274 name_length); in hermon_pci_capability_vpd()
4275 state->hs_hca_name[name_length] = 0; in hermon_pci_capability_vpd()
4278 vpd_ro_desc = name_length + 3; /* read-only tag location */ in hermon_pci_capability_vpd()
4292 name_length); in hermon_pci_capability_vpd()
/titanic_44/usr/src/cmd/iscsid/
H A Discsid.c480 ((name + req->name_length) > ((char *)req + req_len))) { in _getipnodebyname_req()
/titanic_44/usr/src/lib/fm/libfmd_snmp/common/
H A Dproblem.c500 table_info->index_oid_len = table_info->indexes->name_length; in sunFmProblemTable_nextpr()
502 table_info->indexes->name_length); in sunFmProblemTable_nextpr()
H A Dmodule.c485 if (build_oid(&var->name, &var->name_length, tmpoid, in sunFmModuleTable_nextmod()
H A Dresource.c498 if (build_oid(&var->name, &var->name_length, tmpoid, in sunFmResourceTable_nextrsrc()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip_if.c3196 int name_length; in ill_glist_insert() local
3203 name_length = mi_strlen(name) + 1; in ill_glist_insert()
3215 if ((ill_interface->illif_name_len == name_length) && in ill_glist_insert()
3237 ill_interface->illif_name_len = name_length; in ill_glist_insert()