/titanic_50/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_node.c | 78 smbfs_hash(uint32_t ival, const char *name, int nmlen) in smbfs_hash() argument 82 for (v = ival; nmlen; name++, nmlen--) { in smbfs_hash() 107 smbfs_getino(struct smbnode *dnp, const char *name, int nmlen) in smbfs_getino() argument 121 ino = smbfs_hash(ino, name, nmlen); in smbfs_getino() 131 smbfs_name_alloc(const char *name, int nmlen) in smbfs_name_alloc() argument 135 cp = kmem_alloc(nmlen + 1, KM_SLEEP); in smbfs_name_alloc() 136 bcopy(name, cp, nmlen); in smbfs_name_alloc() 137 cp[nmlen] = 0; in smbfs_name_alloc() 147 smbfs_name_free(const char *name, int nmlen) in smbfs_name_free() argument 149 kmem_free((char *)name, nmlen + 1); in smbfs_name_free() [all …]
|
H A D | smbfs_subr.h | 174 int smbfs_smb_open(struct smbnode *np, const char *name, int nmlen, 183 int smbfs_smb_create(struct smbnode *dnp, const char *name, int nmlen, 202 struct smbnode *dnp, const char *name, int nmlen, uint8_t sep); 260 uint32_t smbfs_getino(struct smbnode *dnp, const char *name, int nmlen); 265 const char *name, int nmlen, 268 int smbfs_nget(vnode_t *dvp, const char *name, int nmlen, 272 char *smbfs_name_alloc(const char *name, int nmlen); 273 void smbfs_name_free(const char *name, int nmlen); 295 const char *name, int nmlen);
|
H A D | smbfs_smb.c | 70 int smbfs_smb_query_info(struct smbnode *np, const char *name, int nmlen, 782 smbfs_smb_query_info(struct smbnode *np, const char *name, int nmlen, in smbfs_smb_query_info() argument 804 name, nmlen, '\\'); in smbfs_smb_query_info() 1105 int nmlen, in smbfs_smb_ntcreatex() argument 1124 nmlen = 0; in smbfs_smb_ntcreatex() 1126 np, name, nmlen, xattr ? ':' : '\\'); in smbfs_smb_ntcreatex() 1195 int nmlen, in smbfs_smb_oldopen() argument 1238 error = smbfs_fullpath(mbp, vcp, np, name, nmlen, in smbfs_smb_oldopen() 1375 int nmlen, in smbfs_smb_open() argument 1391 name, nmlen, xattr, in smbfs_smb_open() [all …]
|
H A D | smbfs_xattr.c | 376 int error, skip, used, nmlen; in smbfs_xa_findnext() local 409 nmlen = min(size, SMB_MAXFNAMELEN * 2); in smbfs_xa_findnext() 415 nmlen = min(size, SMB_MAXFNAMELEN); in smbfs_xa_findnext() 418 ASSERT(nmlen < ctx->f_namesz); in smbfs_xa_findnext() 419 ctx->f_nmlen = nmlen; in smbfs_xa_findnext() 420 error = md_get_mem(mdp, ctx->f_name, nmlen, MB_MSYSTEM); in smbfs_xa_findnext() 423 used += nmlen; in smbfs_xa_findnext() 429 if (nmlen) in smbfs_xa_findnext()
|
H A D | smbfs_vnops.c | 1451 int nmlen = strlen(nm); in smbfslookup() local 1481 if (nmlen == 0) { in smbfslookup() 1504 if (nmlen == 1 && name[0] == '.') { in smbfslookup() 1514 if (nmlen > supplen) in smbfslookup() 1543 if (nmlen == 2 && name[0] == '.' && name[1] == '.') { in smbfslookup() 1603 error = smbfslookup_cache(dvp, nm, nmlen, &vp, cr); in smbfslookup() 1619 error = smbfs_smb_lookup(dnp, &name, &nmlen, &fa, &scred); in smbfslookup() 1633 error = smbfs_nget(dvp, name, nmlen, &fa, &vp); in smbfslookup() 1643 smbfs_name_free(name, nmlen); in smbfslookup() 1668 smbfslookup_cache(vnode_t *dvp, char *nm, int nmlen, in smbfslookup_cache() argument [all …]
|
H A D | smbfs_subr.c | 70 const char *name, int nmlen, u_int8_t sep) in smbfs_fullpath() argument 121 name, nmlen, caseopt, NULL); in smbfs_fullpath()
|
H A D | smbfs_subr2.c | 212 int nmlen, in smbfs_node_findcreate() argument 231 rplen += nmlen; in smbfs_node_findcreate() 246 bcopy(name, p, nmlen); in smbfs_node_findcreate() 247 p += nmlen; in smbfs_node_findcreate()
|
/titanic_50/usr/src/uts/common/fs/dev/ |
H A D | sdev_netops.c | 120 int nmlen; in devnet_lookup() local 129 nmlen = strlen(nm); in devnet_lookup() 130 if ((nmlen == 0) || ((nmlen == 1) && (nm[0] == '.'))) { in devnet_lookup() 139 if ((nmlen == 2) && (strcmp(nm, "..") == 0)) { in devnet_lookup()
|
H A D | sdev_profile.c | 1003 int nmlen; in prof_lookup() local 1008 nmlen = strlen(nm); in prof_lookup() 1009 if ((nmlen == 0) || ((nmlen == 1) && (nm[0] == '.'))) { in prof_lookup() 1018 if ((nmlen == 2) && (strcmp(nm, "..") == 0)) { in prof_lookup()
|
H A D | sdev_subr.c | 295 size_t nmlen, len; in sdev_nodeinit() local 298 nmlen = strlen(nm) + 1; in sdev_nodeinit() 299 if (nmlen > MAXNAMELEN) { in sdev_nodeinit() 308 dv->sdev_name = kmem_alloc(nmlen, KM_SLEEP); in sdev_nodeinit() 309 bcopy(nm, dv->sdev_name, nmlen); in sdev_nodeinit() 310 dv->sdev_namelen = nmlen - 1; /* '\0' not included */ in sdev_nodeinit() 1859 int rv = 0, nmlen; in devname_lookup_func() local 1878 nmlen = strlen(nm); in devname_lookup_func() 1879 if ((nmlen == 0) || ((nmlen == 1) && (nm[0] == '.'))) { in devname_lookup_func() 1888 if ((nmlen == 2) && (strcmp(nm, "..") == 0)) { in devname_lookup_func()
|
/titanic_50/usr/src/lib/libsmbfs/smb/ |
H A D | file.c | 78 int err, nmlen; in smb_fh_ntcreate() local 82 nmlen = strlen(path); in smb_fh_ntcreate() 83 if (nmlen >= SMBIOC_MAX_NAME) { in smb_fh_ntcreate()
|
/titanic_50/usr/src/uts/common/fs/devfs/ |
H A D | devfs_subr.c | 335 size_t nmlen; in dv_mkdir() local 341 nmlen = strlen(nm) + 1; in dv_mkdir() 342 dv->dv_name = kmem_alloc(nmlen, KM_SLEEP); in dv_mkdir() 343 bcopy(nm, dv->dv_name, nmlen); in dv_mkdir() 344 dv->dv_namelen = nmlen - 1; /* '\0' not included */ in dv_mkdir() 387 size_t nmlen; in dv_mknod() local 392 nmlen = strlen(nm) + 1; in dv_mknod() 393 dv->dv_name = kmem_alloc(nmlen, KM_SLEEP); in dv_mknod() 394 bcopy(nm, dv->dv_name, nmlen); in dv_mknod() 395 dv->dv_namelen = nmlen - 1; /* no '\0' */ in dv_mknod() [all …]
|
/titanic_50/usr/src/cmd/refer/ |
H A D | refer0.c | 35 int nmlen = 0, dtlen = 0; variable
|
H A D | refer..c | 41 extern int nmlen, dtlen;
|
H A D | refer5.c | 70 nmlen > 0 ? "%%.%ds%%s" : "%%s%%s", in putsig() 71 nmlen); in putsig()
|
H A D | refer1.c | 60 nmlen = atoi(s); in main()
|
/titanic_50/usr/src/cmd/fs.d/ufs/ncheck/ |
H A D | ncheck.c | 424 int nmlen; in pass2() local 436 nmlen = strlen(dp->d_name); in pass2() 438 if (strngloc + nmlen + 1 > MAX_STRNGTAB_INDEX()) { in pass2() 447 strngloc += nmlen + 1; in pass2()
|
/titanic_50/usr/src/common/fs/ |
H A D | hsfs.c | 648 uint_t nmlen; in parse_dir() local 688 nmlen = IDE_NAME_LEN(bufp); in parse_dir() 691 if (nmlen == 1 && c == '\0') { in parse_dir() 696 } else if (nmlen == 1 && c == '\001') { in parse_dir() 704 for (i = 0; i < nmlen; i++) { in parse_dir()
|
/titanic_50/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 466 int nmlen; in pass2() local 476 nmlen = strlen(dp->d_name); in pass2() 478 if (strngloc + nmlen + 1 > MAX_STRNGTAB_INDEX()) { in pass2() 487 strngloc += nmlen + 1; in pass2()
|
/titanic_50/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 742 uint_t nmlen; in parse_dir() local 775 nmlen = IDE_NAME_LEN(bufp); in parse_dir() 778 if (nmlen == 1 && c == '\0') { in parse_dir() 783 } else if (nmlen == 1 && c == '\001') { in parse_dir() 791 for (i = 0; i < nmlen; i++) { in parse_dir()
|
/titanic_50/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 358 int nmlen, lnklen; in output_file_header() local 390 nmlen = strlen(section_name); in output_file_header() 391 if (nmlen >= NAMSIZ) { in output_file_header() 410 "%011o ", nmlen); in output_file_header() 429 (void *)section_name, nmlen); in output_file_header()
|
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_usr.c | 444 int err, nmlen; in smb_usr_ntcreate() local 464 nmlen = strnlen(ioc->ioc_name, SMBIOC_MAX_NAME-1); in smb_usr_ntcreate() 466 ioc->ioc_name, nmlen, in smb_usr_ntcreate()
|
H A D | smb_rq.c | 947 int error, doff, poff, txdcount, txpcount, nmlen, nmsize; in smb_t2_request_int() local 996 nmlen = t2p->t_name ? t2p->t_name_len : 0; in smb_t2_request_int() 997 nmsize = nmlen + 1; /* null term. */ in smb_t2_request_int() 1036 error = smb_put_dmem(mbp, vcp, t2p->t_name, nmlen + 1, in smb_t2_request_int()
|
/titanic_50/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_node.c | 112 uint_t last_offset, char *nm, int nmlen, struct hsfs *fsp, 1447 int nmlen, /* length of name */ in process_dirblock() argument 1649 if (*nm != *dname || nmlen != dnamelen) in process_dirblock() 1652 if ((res = bcmp(dname, nm, nmlen)) == 0) { in process_dirblock()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | sunndi.c | 824 int nmlen; in ndi_dc_devi_create() local 940 nmlen = snprintf(devnm, MAXNAMELEN, "%s@%s", in ndi_dc_devi_create() 943 if (copyout(&devnm, dcp->cpyout_buf, nmlen) != 0) { in ndi_dc_devi_create()
|