/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_iso9660.c | 186 unsigned int name_len = idr->name_len.l; in iso9660_dir() local 189 if (name_len == 1) in iso9660_dir() 195 if (name_len > 2 && CHECK2(name + name_len - 2, ';', '1')) in iso9660_dir() 197 name_len -= 2; /* truncate trailing file version */ in iso9660_dir() 198 if (name_len > 1 && name[name_len - 1] == '.') in iso9660_dir() 199 name_len--; /* truncate trailing dot */ in iso9660_dir() 205 rr_len = (idr->length.l - idr->name_len.l in iso9660_dir() 208 rr_ptr.ptr = ((unsigned char *)idr + idr->name_len.l in iso9660_dir() 239 name_len = rr_ptr.rr->len - (4+sizeof(struct NM)); in iso9660_dir() 338 memcpy(NAME_BUF, name, name_len); in iso9660_dir() [all …]
|
H A D | fsys_ext2fs.c | 223 __u8 name_len; /* Name length */ member 236 #define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \ argument 810 int saved_c = dp->name[dp->name_len]; in ext2fs_dir() 812 dp->name[dp->name_len] = 0; in ext2fs_dir() 825 dp->name[dp->name_len] = saved_c; in ext2fs_dir()
|
H A D | fsys_zfs.c | 1327 int name_len, type; in nvpair_type() local 1333 name_len = BSWAP_32(*(uint32_t *)nvp); in nvpair_type() 1337 nvp = nvp + ((name_len + 3) & ~3); /* align */ in nvpair_type() 1347 int name_len, type, slen; in nvpair_value() local 1355 name_len = BSWAP_32(*(uint32_t *)nvp); in nvpair_value() 1359 nvp = nvp + ((name_len + 3) & ~3); /* align */ in nvpair_value() 1412 int name_len = BSWAP_32(*(uint32_t *)(nvpair + 4 * 2)); in nvlist_lookup_value() local 1415 if ((grub_strncmp(nvp_name, name, name_len) == 0) && in nvlist_lookup_value()
|
/titanic_41/usr/src/uts/common/fs/zev/ |
H A D | zev_callbacks.c | 280 int name_len; in zev_znode_create_cb() local 318 name_len = strlen(name); in zev_znode_create_cb() 319 msg_size = sizeof(*rec) + name_len + 1; in zev_znode_create_cb() 331 rec->name_len = name_len; in zev_znode_create_cb() 332 (void) memcpy(ZEV_NAME(rec), name, name_len + 1); in zev_znode_create_cb() 348 int name_len; in zev_znode_remove_cb() local 375 name_len = strlen(name); in zev_znode_remove_cb() 376 msg_size = sizeof(*rec) + name_len + 1; in zev_znode_remove_cb() 388 rec->name_len = name_len; in zev_znode_remove_cb() 389 (void) memcpy(ZEV_NAME(rec), name, name_len + 1); in zev_znode_remove_cb() [all …]
|
/titanic_41/usr/src/uts/common/crypto/core/ |
H A D | kcf_cryptoadm.c | 353 size_t name_len, final_size = 0; in crypto_get_soft_list() local 374 name_len = strlen(p->ce_name) + 1; in crypto_get_soft_list() 376 if ((namep + name_len) > end) { in crypto_get_soft_list() 383 namep += name_len; in crypto_get_soft_list() 384 final_size += name_len; in crypto_get_soft_list() 516 int name_len; in crypto_get_soft_info() local 519 name_len = strlen(name); in crypto_get_soft_info() 520 tmp = kmem_alloc(name_len + 8, KM_SLEEP); in crypto_get_soft_info() 522 bcopy(name, &tmp[7], name_len); in crypto_get_soft_info() 523 tmp[name_len + 7] = '\0'; in crypto_get_soft_info() [all …]
|
/titanic_41/usr/src/lib/libtnfprobe/ |
H A D | debug_funcs.c | 68 int num_args, i, str_len, name_len; in tnf_probe_debug() local 114 name_len = name_end - name_start; in tnf_probe_debug() 115 name_len = (name_len > (NAME_LIMIT - 1)) ? in tnf_probe_debug() 116 (NAME_LIMIT - 1) : name_len; in tnf_probe_debug() 117 str_len = sprintf(buf_p, "%.*s=", name_len, name_start); in tnf_probe_debug()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | getenv.c | 353 size_t name_len; in setenv() local 362 name_len = strlen(envname); in setenv() 365 new_chunk = malloc(sizeof (chunk_t) + name_len + val_len + 2); in setenv() 372 (void) memcpy(new_string, envname, name_len); in setenv() 373 new_string[name_len] = '='; in setenv() 374 (void) memcpy(new_string + name_len + 1, envval, val_len); in setenv() 375 new_string[name_len + 1 + val_len] = 0; in setenv()
|
H A D | gettxt.c | 92 size_t name_len; in gettxt() local 102 if ((name_len = (tokp - msg_id)) >= DB_NAME_LEN) in gettxt() 104 if (name_len > 0) { in gettxt() 105 (void) strncpy(msgfile, msg_id, name_len); in gettxt() 106 msgfile[name_len] = '\0'; in gettxt() 123 msgnum = atoi(msg_id + name_len + 1); in gettxt()
|
/titanic_41/usr/src/cmd/gss/gsscred/ |
H A D | gsscred_file.c | 267 int item_len, name_len; in matchEntry() local 293 name_len = name->length; in matchEntry() 297 if (item_len < name_len) in matchEntry() 300 if (strncmp(item, name->value, name_len) != 0) { in matchEntry() 339 if (strncmp(item_buf, name_buf, name_len - NAME_OFFSET) in matchEntry() 349 if (item_len != name_len) in matchEntry()
|
/titanic_41/usr/src/cmd/sgs/libld/common/ |
H A D | wrap.c | 96 size_t name_len, wrapname_len; in ld_wrap_enter() local 118 name_len = strlen(wsn.wsn_name); in ld_wrap_enter() 119 wrapname_len = MSG_STR_UU_WRAP_U_SIZE + name_len + 1; in ld_wrap_enter()
|
/titanic_41/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 137 int name_len; in hsfs_contents() local 191 name_len = IPE_NAME_LEN(p); in hsfs_contents() 192 ipe_len = IPE_FPESIZE + name_len + (name_len % 2); in hsfs_contents() 198 if ((name_len < 2) || (name_len > IDE_MAX_NAME_LEN)) { in hsfs_contents() 203 if (strncasecmp (name, "VIDEO_TS", min (8, name_len)) == 0) { in hsfs_contents() 206 } else if (strncasecmp (name, "VCD", min (3, name_len)) == 0) { in hsfs_contents() 209 } else if (strncasecmp (name, "SVCD", min (4, name_len)) == 0) { in hsfs_contents()
|
/titanic_41/usr/src/lib/libnisdb/yptol/ |
H A D | shim_ancil.c | 313 int name_len; in add_map_domain_to_list() local 348 name_len = (int)strlen(dp->d_name); in add_map_domain_to_list() 350 if (name_len < dbm_pag_len - 1) { in add_map_domain_to_list() 354 ext = &(dp->d_name[name_len - (dbm_pag_len - 1)]); in add_map_domain_to_list()
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_dhchap.h | 421 uint16_t name_len; /* set to 0x0008 */ member 442 uint16_t name_len; /* set to 0x0008 */ member 465 uint16_t name_len; /* set to 0x0008 */ member 486 uint16_t name_len; /* set to 0x0008 */ member 502 uint16_t name_len; /* set to 0x0008 */ member 528 uint16_t name_len; /* set to 0x0008 */ member
|
/titanic_41/usr/src/lib/libnisdb/ |
H A D | ldap_xdr.c | 92 size_t name_len, dom_len, min_len; in xdr_nis_name_abbrev() local 102 name_len = strlen(name); in xdr_nis_name_abbrev() 103 if (name_len == 0) in xdr_nis_name_abbrev() 106 min_len = (name_len < dom_len) ? name_len : dom_len; in xdr_nis_name_abbrev() 108 if (name[name_len - i] != domainname[dom_len - i]) in xdr_nis_name_abbrev() 112 memcpy(buf, name, name_len - i); in xdr_nis_name_abbrev() 113 sprintf(buf + name_len - i, ".%d", dom_len - i); in xdr_nis_name_abbrev()
|
/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | zev.h | 107 #define ZEV_LINK(rec) (((char *)(rec + 1)) + rec->name_len + 1) 193 uint32_t name_len; member 206 uint32_t name_len; member 218 uint32_t name_len; member 229 uint32_t name_len; member
|
/titanic_41/usr/src/cmd/du/ |
H A D | du.c | 67 static size_t name_len = PATH_MAX + 1; /* # of chars for name */ variable 198 if ((name = (char *)calloc(name_len, sizeof (char))) == NULL) { in main() 232 if (base_len > name_len) { in main() 233 name_len = base_len; in main() 234 if ((name = (char *)realloc(name, name_len * in main()
|
/titanic_41/usr/src/common/zev/ |
H A D | zev.h | 107 #define ZEV_LINK(rec) (((char *)(rec + 1)) + rec->name_len + 1) 193 uint32_t name_len; member 206 uint32_t name_len; member 218 uint32_t name_len; member 229 uint32_t name_len; member
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | chap.c | 796 int chal_len, name_len; local 800 name_len = strlen(cstate->chal_name); 801 outlen = CHAP_HEADERLEN + sizeof (u_char) + chal_len + name_len; 814 BCOPY(cstate->chal_name, outp, name_len); /* append hostname */ 899 int outlen, md_len, name_len; local 902 name_len = strlen(cstate->resp_name); 903 outlen = CHAP_HEADERLEN + sizeof (u_char) + md_len + name_len; 916 BCOPY(cstate->resp_name, outp, name_len); /* append our name */
|
/titanic_41/usr/src/lib/libtecla/common/ |
H A D | pcache.c | 1012 char *pca_lookup_file(PathCache *pc, const char *name, int name_len, in pca_lookup_file() argument 1020 if(!pc || !name || name_len==0) in pca_lookup_file() 1026 if(name_len < 0) in pca_lookup_file() 1027 name_len = strlen(name); in pca_lookup_file() 1036 if(cpa_cmd_contains_path(name, name_len)) { in pca_lookup_file() 1038 if(pca_expand_tilde(pc, name, name_len, literal, &nptr) || in pca_lookup_file() 1039 _pn_append_to_path(pc->path, nptr, name_len - (nptr-name), in pca_lookup_file() 1066 if(_pn_append_to_path(pc->path, name, name_len, !literal) == NULL) in pca_lookup_file()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | mdesc_impl.h | 97 uint8_t name_len; member 142 #define MDE_NAME_LEN(_p) mdtoh32((_p)->name_len)
|
/titanic_41/usr/src/uts/common/io/pciex/hotplug/ |
H A D | pcie_hp.c | 693 int ret, dev_num, func_num, name_len; in pcie_hp_create_port_name_num() local 729 name_len = strlen(tmp) + PCIE_HP_PORT_NAME_STRING_LEN + 1; in pcie_hp_create_port_name_num() 731 cn_info->cn_name = (char *)kmem_zalloc(name_len, KM_SLEEP); in pcie_hp_create_port_name_num() 732 (void) snprintf(cn_info->cn_name, name_len, "pci.%x,%x", in pcie_hp_create_port_name_num() 750 int name_len, ret; in pcie_hp_get_df_from_port_name() local 755 name_len = strlen(cn_name); in pcie_hp_get_df_from_port_name() 756 if ((name_len <= PCIE_HP_PORT_NAME_STRING_LEN) || in pcie_hp_get_df_from_port_name() 757 (name_len > (PCIE_HP_PORT_NAME_STRING_LEN + in pcie_hp_get_df_from_port_name()
|
/titanic_41/usr/src/uts/common/io/drm/ |
H A D | drm_ioctl.c | 375 version.name_len = version32.name_len; in drm_version() 410 version32.name_len = (uint32_t)version.name_len; in drm_version()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | pdu.c | 269 p, row, &vp->name_len); in snmp_add_null_vars() 448 p = snmp_build_variable(p, bufsz_p, vp->name, vp->name_len, in snmp_build_pdu() 478 snmp_build_variable(uchar_t *buf, size_t *bufsz_p, oid *name, size_t name_len, in snmp_build_variable() argument 499 if ((p = asn_build_objid(p, bufsz_p, id, name, name_len)) == NULL) in snmp_build_variable() 630 p = asn_parse_objid(p, msgsz_p, &vp->name, &vp->name_len); in snmp_parse_variable()
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_net.c | 158 name, int name_len, int backlog, int flags); 160 name, int name_len, int fflag, int flags); 289 iscsi_net_bind(void *socket, struct sockaddr *name, int name_len, in iscsi_net_bind() argument 294 error = ksocket_bind(ks, name, name_len, CRED()); in iscsi_net_bind() 306 iscsi_net_connect(void *socket, struct sockaddr *name, int name_len, in iscsi_net_connect() argument 313 rval = ksocket_connect(ks, name, name_len, CRED()); in iscsi_net_connect()
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 640 int name_len; in smb_netbios_getname() local 653 name_len = name_end - buf + 1; in smb_netbios_getname() 655 (void) strlcpy(name, buf, name_len); in smb_netbios_getname() 656 return (name_len); in smb_netbios_getname() 681 int name_len; in smb_name_buf_to_packet() local 765 name_len = smb_netbios_getname(name_buf, (char *)scan, in smb_name_buf_to_packet() 767 if (name_len <= 0) { in smb_name_buf_to_packet() 782 scan += name_len; in smb_name_buf_to_packet() 803 name_len = smb_netbios_getname(name_buf, (char *)scan, in smb_name_buf_to_packet() 805 if (name_len <= 0) { in smb_name_buf_to_packet() [all …]
|