/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | ktdefname.c | 46 krb5_kt_default_name(krb5_context context, char *name, int namesize) in krb5_kt_default_name() argument 52 if ((size_t) namesize < (strlen(krb5_overridekeyname)+1)) in krb5_kt_default_name() 55 strncpy(name, krb5_overridekeyname, namesize); in krb5_kt_default_name() 58 if ((size_t) namesize < (strlen(cp)+1)) in krb5_kt_default_name() 61 strncpy(name, cp, namesize); in krb5_kt_default_name() 67 if ((size_t) namesize < (strlen(retval)+1)) in krb5_kt_default_name() 70 strncpy(name, retval, namesize); in krb5_kt_default_name() 80 if ( (len + strlen(krb5_defkeyname) + 1) > namesize ) in krb5_kt_default_name() 85 if ((size_t) namesize < (strlen(krb5_defkeyname)+1)) in krb5_kt_default_name() 88 strncpy(name, krb5_defkeyname, namesize); in krb5_kt_default_name()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | bofi.h | 107 uint_t namesize; member 130 uint_t namesize; member 154 uint_t namesize; member 160 uint_t namesize; member 168 uint_t namesize; member 187 uint_t namesize; member 194 uint_t namesize; member
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/ |
H A D | hashlib.h | 64 int namesize; /* fixed name size: 0 => string */ \ 84 #define HASH(r,n,h) if (r->local->hash) h = r->namesize ? (*r->local->hash)(n, r->namesize) : (*r->… 89 if (r->namesize)\ 91 register const char* _hash_s2 = _hash_s1 + r->namesize;\
|
H A D | hashlook.c | 109 if (tab->root->namesize) in hashlook() 111 register char* s3 = s1 + tab->root->namesize; in hashlook() 119 else if (tab->root->namesize) in hashlook() 121 if (!(*tab->root->local->compare)(hashname(b), name, tab->root->namesize)) goto found; in hashlook() 209 else if (b->name && tab->root->namesize) in hashlook() 211 memcpy(b->name, value, tab->root->namesize); in hashlook() 306 m = tab->root->namesize ? tab->root->namesize : strlen(name) + 1; in hashlook()
|
H A D | hashdump.c | 75 if (n = tab->root->namesize) in dumpbucket() 142 if (root->namesize) sfprintf(sfstderr, "namesize=%d ", root->namesize); in dumproot()
|
H A D | hashalloc.c | 133 tab->root->namesize = va_arg(ap, int); in hashalloc()
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | ldpart.c | 58 size_t namesize, bufsize; in __part_load_locale() local 63 namesize = strlen(name) + 1; in __part_load_locale() 78 bufsize = namesize + st.st_size; in __part_load_locale() 84 p = lbuf + namesize; in __part_load_locale()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_log.c | 260 size_t namesize = strlen(name) + 1; in zfs_log_create() local 281 txsize = sizeof (*lr) + namesize + fuidsz + xvatsize; in zfs_log_create() 285 sizeof (lr_acl_create_t) + namesize + fuidsz + in zfs_log_create() 352 bcopy(name, end, namesize); in zfs_log_create() 368 size_t namesize = strlen(name) + 1; in zfs_log_remove() local 373 itx = zil_itx_create(txtype, sizeof (*lr) + namesize); in zfs_log_remove() 376 bcopy(name, (char *)(lr + 1), namesize); in zfs_log_remove() 403 size_t namesize = strlen(name) + 1; in zfs_log_link() local 408 itx = zil_itx_create(txtype, sizeof (*lr) + namesize); in zfs_log_link() 412 bcopy(name, (char *)(lr + 1), namesize); in zfs_log_link() [all …]
|
/illumos-gate/usr/src/common/fs/ |
H A D | bootrd_cpio.c | 43 uint8_t namesize[6]; member 250 uint32_t namesize; in scan_archive_hdr() local 258 if (!get_uint32(hdr->namesize, sizeof (hdr->namesize), &namesize)) in scan_archive_hdr() 269 path = read_ramdisk(off, namesize); in scan_archive_hdr() 270 data = read_ramdisk(off + namesize, filesize); in scan_archive_hdr() 280 return (offsetof(struct cpio_hdr, data[namesize + filesize])); in scan_archive_hdr()
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_manage.c | 109 errctl.namesize = strlen(errctl.name); in main() 112 errctl.namesize = strlen(argv[1]); in main() 188 get_handles.namesize = errctl.namesize; in main() 207 hdli.namesize = errctl.namesize; in main()
|
H A D | th_define.c | 463 errctl.namesize = strlen(namep); in manage_instance() 1264 errdef->namesize, (char *)errdef->name, in add_edef() 1460 hdli.namesize = strlen(name); in get_hinfo() 2140 if ((errdef.namesize = strlen(errdef.name)) == 0) in main() 2242 errdef.namesize = strlen(errdef.name); in main() 2316 errdef.namesize, errdef.name, in main()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 957 errdef.namesize = errdef_32.namesize; in bofi_ioctl() 1023 if (errdef.namesize > NAMESIZE) in bofi_ioctl() 1025 namep = kmem_zalloc(errdef.namesize+1, KM_SLEEP); in bofi_ioctl() 1026 (void) strncpy(namep, errdef.name, errdef.namesize); in bofi_ioctl() 1031 kmem_free(namep, errdef.namesize+1); in bofi_ioctl() 1047 errdef_32.namesize = errdef.namesize; in bofi_ioctl() 1072 kmem_free(namep, errdef.namesize+1); in bofi_ioctl() 1082 kmem_free(namep, errdef.namesize+1); in bofi_ioctl() 1092 kmem_free(namep, errdef.namesize+1); in bofi_ioctl() 1116 if (errctl.namesize > NAMESIZE) in bofi_ioctl() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_debuglink.c | 723 Dwarf_Unsigned namesize = 0; in extract_buildid() local 752 ASNAR(dbg->de_copy_word,namesize, bu->bu_ownernamesize); in extract_buildid() 768 if ((strlen(bu->bu_owner) +1) != namesize) { in extract_buildid() 773 finalsize = sizeof(struct buildid_s)-1 + namesize + descrsize; in extract_buildid() 782 sizeof(struct buildid_s)-1 + namesize; in extract_buildid()
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 805 size_t n, namesize, text_align, data_align; in init_xen_module() local 857 namesize = shp->sh_size; in init_xen_module() 871 if (shp->sh_name >= namesize) in init_xen_module() 912 kmem_free(names, namesize); in init_xen_module() 984 kmem_free(names, namesize); in init_xen_module()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ttyname.c | 331 __posix_ttyname_r(int fildes, char *name, size_t namesize) in __posix_ttyname_r() argument 339 if (namesize > INT_MAX) in __posix_ttyname_r() 342 namelen = (int)namesize; in __posix_ttyname_r()
|
/illumos-gate/usr/src/uts/common/io/bpf/ |
H A D | bpf.c | 1310 bpf_setif(struct bpf_d *d, char *ifname, int namesize) in bpf_setif() argument 1324 cp[namesize - 1] = '\0'; /* sanity */ in bpf_setif() 1330 for (i = 0; i < (namesize - 1); ++i) { in bpf_setif()
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 1550 size_t namesize = strlen(name) + 1; in ztest_log_create() local 1556 itx = zil_itx_create(TX_CREATE, sizeof (*lr) + namesize); in ztest_log_create() 1558 sizeof (*lr) + namesize - sizeof (lr_t)); in ztest_log_create() 1567 size_t namesize = strlen(name) + 1; in ztest_log_remove() local 1573 itx = zil_itx_create(TX_REMOVE, sizeof (*lr) + namesize); in ztest_log_remove() 1575 sizeof (*lr) + namesize - sizeof (lr_t)); in ztest_log_remove() 2170 size_t namesize = name ? strlen(name) + 1 : 0; in ztest_lr_alloc() local 2172 lr = umem_zalloc(lrsize + namesize, UMEM_NOFAIL); in ztest_lr_alloc() 2175 bcopy(name, lr + lrsize, namesize); in ztest_lr_alloc() 2183 size_t namesize = name ? strlen(name) + 1 : 0; in ztest_lr_free() local [all …]
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 1567 int presize, namesize; in creat_hdr() local 1576 namesize = strlen(++lastslash); in creat_hdr() 1577 presize = fullnamesize - namesize - 1; in creat_hdr() 1579 namesize = fullnamesize; in creat_hdr() 1588 if (namesize > NAMSIZ) { in creat_hdr() 1595 namesize); in creat_hdr() 1609 Gen.g_tname = e_zalloc(E_EXIT, namesize + 1); in creat_hdr()
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 539 int namesize = strlen(name); in add_to_challenge() local 544 *curlen + 1 + namesize + 2 + valuesize + 2); in add_to_challenge() 547 *curlen = *curlen + 1 + namesize + 2 + valuesize + 2; in add_to_challenge()
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.msg | 316 offset: 0x%x namesize: 0x%x\n"
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 818 zonecfg_get_name(zone_dochandle_t handle, char *name, size_t namesize) in zonecfg_get_name() argument 820 return (getrootattr(handle, DTD_ATTR_NAME, name, namesize)); in zonecfg_get_name()
|