Searched defs:nm (Results 76 - 100 of 137) sorted by relevance

123456

/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb.c1053 char *nm; member in struct:recu_dir
1057 list(char *nm, uint32_t in, uint32_t fl) argument
1078 (void) printf("%s\n", nm);
1116 temp->nm = malloc(strlen(nm) + 1 +
1118 if (temp->nm != NULL) {
1119 (void) strcpy(temp->nm, nm);
1120 (void) strcat(temp->nm, "/");
1121 (void) strncat(temp->nm,
[all...]
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_subr.c331 dv_mkdir(struct dv_node *ddv, dev_info_t *devi, char *nm) argument
338 dcmn_err4(("dv_mkdir: %s\n", nm));
341 nmlen = strlen(nm) + 1;
343 bcopy(nm, dv->dv_name, nmlen);
382 dv_mknod(struct dv_node *ddv, dev_info_t *devi, char *nm, argument
389 dcmn_err4(("dv_mknod: %s\n", nm));
392 nmlen = strlen(nm) + 1;
394 bcopy(nm, dv->dv_name, nmlen);
495 dv_findbyname(struct dv_node *ddv, char *nm) argument
502 dcmn_err3(("dv_findbyname: %s\n", nm));
676 dv_shadow_node( struct vnode *dvp, char *nm, struct vnode *vp, struct pathname *pnp, struct vnode *rdir, struct cred *cred, int flags) argument
924 dv_find(struct dv_node *ddv, char *nm, struct vnode **vpp, struct pathname *pnp, struct vnode *rdir, struct cred *cred, uint_t ndi_flags) argument
1032 dv_shadow_node(DVTOV(ddv), nm, vp, pnp, rdir, cred, local
1503 char *nm; local
1543 dv_shadow_node(DVTOV(ddv), nm, vp, local
1635 char *nm; local
1733 char *nm; local
[all...]
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_node.c112 uint_t last_offset, char *nm, int nmlen, struct hsfs *fsp,
115 static int strip_trailing(struct hsfs *fsp, char *nm, int len);
116 static int hs_namelen(struct hsfs *fsp, char *nm, int len);
1446 char *nm, /* upcase nm to compare against */
1566 rr_namelen = rrip_namecopy(nm, &rrip_name_str[0],
1644 !HSFS_HAVE_LOWER_CASE(fsp) && *nm < *dname) {
1645 RESTORE_NM(rrip_tmp_name, nm);
1649 if (*nm != *dname || nmlen != dnamelen)
1652 if ((res = bcmp(dname, nm, nmle
1442 process_dirblock( struct fbuf *fbp, uint_t *offset, uint_t last_offset, char *nm, int nmlen, struct hsfs *fsp, struct hsnode *dhp, struct vnode *dvp, struct vnode **vpp, int *error) argument
1721 strip_trailing(struct hsfs *fsp, char *nm, int len) argument
1740 hs_namelen(struct hsfs *fsp, char *nm, int len) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_rnode.c303 badrootfh_check(nfs4_sharedfh_t *fh, nfs4_fname_t *nm, mntinfo4_t *mi, argument
309 s = fn_name(nm);
503 * name. The reference to nm is consumed, so the caller must first do an
504 * fn_hold() if it wants to continue using nm after this call.
508 hrtime_t t, cred_t *cr, vnode_t *dvp, nfs4_fname_t *nm)
519 fh = badrootfh_check(fh, nm, mi, &had_badfh);
531 sv_activate(&vp, dvp, &nm, newnode);
507 makenfs4node(nfs4_sharedfh_t *fh, nfs4_ga_res_t *garp, struct vfs *vfsp, hrtime_t t, cred_t *cr, vnode_t *dvp, nfs4_fname_t *nm) argument
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c982 char *nm,
1018 if (*nm == '\0') {
1025 error = pc_dirlook(VTOPC(dvp), nm, &pcp);
1039 char *nm,
1080 if (*nm == '\0') {
1088 error = pc_direnter(VTOPC(dvp), nm, vap, &pcp);
1132 char *nm,
1157 error = pc_dirremove(pcp, nm, (struct vnode *)0, VREG, ct);
1211 char *nm,
1241 error = pc_direnter(VTOPC(dvp), nm, va
980 pcfs_lookup( struct vnode *dvp, char *nm, struct vnode **vpp, struct pathname *pnp, int flags, struct vnode *rdir, struct cred *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument
1037 pcfs_create( struct vnode *dvp, char *nm, struct vattr *vap, enum vcexcl exclusive, int mode, struct vnode **vpp, struct cred *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
1130 pcfs_remove( struct vnode *vp, char *nm, struct cred *cr, caller_context_t *ct, int flags) argument
1209 pcfs_mkdir( struct vnode *dvp, char *nm, struct vattr *vap, struct vnode **vpp, struct cred *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument
1255 pcfs_rmdir( struct vnode *dvp, char *nm, struct vnode *cdir, struct cred *cr, caller_context_t *ct, int flags) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport_fop.c228 static int port_fop_remove(femarg_t *vf, char *nm, cred_t *cr,
237 static int port_fop_rmdir(femarg_t *vf, char *nm, vnode_t *cdir, cred_t *cr,
2215 port_fop_remove(femarg_t *vf, char *nm, cred_t *cr, caller_context_t *ct, argument
2221 retval = vnext_remove(vf, nm, cr, ct, flags);
2269 port_fop_rmdir(femarg_t *vf, char *nm, vnode_t *cdir, cred_t *cr, argument
2275 retval = vnext_rmdir(vf, nm, cdir, cr, ct, flags);
/illumos-gate/usr/src/uts/common/os/
H A Dmodsubr.c687 char *nm = mod_major_to_name(bp->b_num); local
688 if (nm == NULL) {
693 bp->b_num, nm, bp->b_num);
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregcomp.c360 unsigned long nm; local
446 nm = env->stats.m;
452 if (env->stats.m < nm)
453 env->stats.m = nm;
455 nm = env->stats.m;
456 if ((env->stats.m += cm) < nm)
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_ioctl.c211 setnm_ioctl(mdnm_params_t *nm, int mode) argument
226 mdclrerror(&nm->mde);
231 if (md_snarf_db_set(MD_LOCAL_SET, &nm->mde) != 0)
234 if ((md_get_setstatus(nm->setno) & MD_SET_SNARFED) == 0)
237 if (md_get_setstatus(nm->setno) & MD_SET_STALE)
238 return (mdmddberror(&nm->mde, MDE_DB_STALE, NODEV32,
239 nm->setno));
243 err = ddi_copyin((caddr_t)(uintptr_t)nm->devname, name,
244 (size_t)nm->devname_len, mode);
250 if (nm
314 getnm_ioctl( mdnm_params_t *nm, int mode ) argument
433 gethspnm_ioctl( mdhspnm_params_t *nm, int mode ) argument
621 update_loc_namespace_ioctl( mdnm_params_t *nm, char *dname, char *pname, int mode ) argument
656 update_namespace_did_ioctl( mdnm_params_t *nm, int mode ) argument
687 update_namespace_ioctl( mdnm_params_t *nm, char *dname, char *pname, int mode ) argument
722 getnextkey_ioctl( mdnm_params_t *nm, int mode ) argument
751 remnm_ioctl(mdnm_params_t *nm, int mode) argument
972 getdid_ioctl( mdnm_params_t *nm, int mode ) argument
1066 setdid_ioctl( mdnm_params_t *nm, int mode ) argument
1104 getdidmin_ioctl( mdnm_params_t *nm, int mode ) argument
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_map.c1244 int i, nm, numap; local
1248 numMatches = &nm;
1275 for (i = 0, x = t, nm = 0; i < numap; i++, x = x->next) {
1297 tp[nm] = x;
1298 nm++;
1300 *numMatches = nm;
1301 if (nm == 0) {
1309 for (nm = 0, r = 0, x = t; x != 0; x = x->next) {
1331 tp[nm] = x;
1332 nm
[all...]
H A Dnis_db.cc1306 int nm; local
1310 tp = selectTableMapping(t, 0, 0, 1, t->dbId, &nm);
1311 if (tp != 0 && nm > 0) {
1332 tp = selectTableMapping(t, 0, 0, 0, t->dbId, &nm);
1333 if (tp == 0 || nm <= 0) {
1523 tp = selectTableMapping(t, 0, 0, 0, t->dbId, &nm);
1524 if (tp == 0 || nm <= 0) {
H A Dnis_parse_ldap_map.c103 int nm; local
133 nm = check_domain_specific_order(tmp_dbId,
140 if (nm != 0) {
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_statconcise.c1230 mddb_rb_t *nm,
1241 mddb_rb_t *rbp_nm = nm;
1544 mddb_rb_t *nm,
1667 rval = extract_mduser_data(nm, tmp_mdrec, rbp, is_32bit_record, ep);
1713 mddb_rb_t *nm,
1807 rval = read_mdrecord(mdimpp, mbp, nm, dep,
1835 mddb_rb_t *nm,
1849 rval = read_all_mdrecords(&mdimp, mb, lbp, nm, rsp, fd, lastaccess,
1229 extract_mduser_data( mddb_rb_t *nm, md_im_rec_t *mdrec, void *rbp, int is_32bit_record, md_error_t *ep ) argument
1541 read_mdrecord( md_im_rec_t **mdimpp, mddb_mb_t *mbp, mddb_rb_t *nm, mddb_de_t *dep, char *diskname, int fd, md_timeval32_t *lastaccess, md_error_t *ep ) argument
1709 read_all_mdrecords( md_im_rec_t **mdimpp, mddb_mb_t *mbp, mddb_lb_t *lbp, mddb_rb_t *nm, mdname_t *rsp, int fd, md_timeval32_t *lastaccess, md_error_t *ep ) argument
1832 report_metastat_info( mddb_mb_t *mb, mddb_lb_t *lbp, mddb_rb_t *nm, pnm_rec_t **pnm, mdname_t *rsp, int fd, md_timeval32_t *lastaccess, md_error_t *ep ) argument
H A Dmeta_import.c633 * correct the nm namespace so that the n_name is the right ctd name
639 mddb_rb_t *nm,
655 mddb_rb_t *rbp_nm = nm;
789 /* search in nm space for a match */
1008 mddb_rb_t *nm,
1039 if (nm != NULL && did_nm != NULL && did_shrnm != NULL) {
1040 get_disks_from_didnamespace(misp, pnm, nm, shrnm, did_nm,
1065 devid_nmlist_t *nm; local
1090 min, &nm) == 0) {
1093 assert(nm
636 get_disks_from_didnamespace( md_im_set_desc_t *misp, pnm_rec_t **pnm, mddb_rb_t *nm, mddb_rb_t *shrnm, mddb_rb_t *did_nm, mddb_rb_t *did_shrnm, uint_t imp_flags, int replicated, md_error_t *ep ) argument
1003 set_append( md_im_set_desc_t **mispp, did_list_t *did_listp, mddb_mb_t *mb, mddb_lb_t *lbp, mddb_rb_t *nm, mddb_rb_t *shrnm, pnm_rec_t **pnm, mddb_rb_t *did_nm, mddb_rb_t *did_shrnm, uint_t imp_flags, md_error_t *ep ) argument
1511 read_nm_rec( md_error_t *ep, int fd, mddb_mb_t *mbp, mddb_lb_t *lbp, char **nm, mddb_type_t rectype, char *diskname ) argument
1874 devid_nmlist_t *nm; local
2030 devid_nmlist_t *nm; local
2240 report_set_info( md_im_set_desc_t *misp, mddb_mb_t *mb, mddb_lb_t *lbp, mddb_rb_t *nm, pnm_rec_t **pnm, mdname_t *rsp, int fd, uint_t imp_flags, int set_count, int overlap, md_im_drive_info_t *overlap_disks, md_error_t *ep ) argument
2527 char *nm = NULL, *shrnm = NULL; local
[all...]
H A Dmeta_name.c2651 char *nm; local
2689 if ((nm = meta_getnmbykey(MD_LOCAL_SET, sideno,
2693 if ((nm = meta_getnmbykey(MD_LOCAL_SET,
2699 if ((rname = getrawnames(&sp, nm, &dname, &uname_type, ep)) == NULL) {
2742 if ((np = setup_slice(sp, uname_type, dnp, nm, rname,
H A Dmeta_raid.c2788 mdnm_params_t nm; local
2801 (void) memset(&nm, '\0', sizeof (nm));
H A Dmeta_set.c1868 char *nm; local
1915 if ((nm = meta_getnmbykey(MD_LOCAL_SET, sideno, key,
1920 if ((np = metaname_fast(&sp, nm,
1922 Free(nm);
1926 if ((np = metaname(&sp, nm, LOGICAL_DEVICE,
1928 Free(nm);
1932 Free(nm);
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c249 * Given a vnode of lofs type, lookup nm name and
293 char *nm,
318 if (nm[0] == '\0' && ! (flags & (CREATE_XATTR_DIR|LOOKUP_XATTR))) {
324 if (nm[0] == '.' && nm[1] == '.' && nm[2] == '\0') {
340 if (error = VOP_LOOKUP(realdvp, nm, &vp, pnp, flags, rdir, cr,
350 if (nm[0] == '.' && nm[1] == '\0') {
567 * auto_lookup(X_a,nm) whic
291 lo_lookup( vnode_t *dvp, char *nm, vnode_t **vpp, struct pathname *pnp, int flags, vnode_t *rdir, struct cred *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument
663 lo_create( vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, struct cred *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
745 lo_remove( vnode_t *dvp, char *nm, struct cred *cr, caller_context_t *ct, int flags) argument
902 lo_mkdir( vnode_t *dvp, char *nm, struct vattr *va, vnode_t **vpp, struct cred *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument
938 lo_rmdir( vnode_t *dvp, char *nm, vnode_t *cdir, struct cred *cr, caller_context_t *ct, int flags) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c451 zfsctl_root_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, argument
466 if (strcmp(nm, "..") == 0) {
469 err = gfs_vop_lookup(dvp, nm, vpp, pnp, flags, rdir,
563 zfsctl_rename_snap(zfsctl_snapdir_t *sdp, zfs_snapentry_t *sep, const char *nm) argument
584 sep->se_name = kmem_alloc(strlen(nm) + 1, KM_SLEEP);
585 (void) strcpy(sep->se_name, nm);
598 ASSERT3U(strlen(newpath) + strlen(nm), <, sizeof (newpath));
599 (void) strcat(newpath, nm);
607 ASSERT3U(strlen(newpath) + strlen(nm), <, sizeof (newpath));
608 (void) strcat(newpath, nm);
778 zfsctl_snapdir_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument
951 zfsctl_shares_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_zfs.c1356 char *nm; local
1393 nm = p? p : namep_v3->nm3_opath;
1396 (void) strlcat(dataset, nm,
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c572 tlm_readlink(char *nm, char *snap, char *buf, int bufsize) argument
584 errno, nm);
H A Dtlm_lib.c845 tlm_is_too_long(int checkpointed, char *dir, char *nm) argument
854 if (nm) {
855 if ((nlen = strlen(nm)) > 0)
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c111 const char *nm; local
113 nm = zfs_get_name(zhp);
120 if (strcmp(nm, entry.mnt_special) == 0) {
727 char nm[ZFS_MAX_DATASET_NAME_LEN]; local
730 (void) strlcpy(nm, zfs_get_name(cln_zhp), sizeof (nm));
735 (void) snprintf(template, sizeof (template), "%s@SUNWzone", nm);
767 if ((cln_zhp = zfs_open(g_zfs, nm, ZFS_TYPE_FILESYSTEM)) == NULL)
772 nm, libzfs_error_description(g_zfs));
788 char nm[ZFS_MAX_DATASET_NAME_LE local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c108 static int smbfslookup(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr,
1448 smbfs_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, struct pathname *pnp, argument
1488 error = smbfslookup(dvp, nm, vpp, cr, 1, ct);
1497 smbfslookup(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr, argument
1508 const char *name = (const char *)nm;
1509 int nmlen = strlen(nm);
1583 if (strpbrk(nm, ill))
1661 error = smbfslookup_cache(dvp, nm, nmlen, &vp, cr);
1700 if (name != nm)
1726 smbfslookup_cache(vnode_t *dvp, char *nm, in argument
1809 smbfs_create(vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, cred_t *cr, int lfaware, caller_context_t *ct, vsecattr_t *vsecp) argument
2055 smbfs_remove(vnode_t *dvp, char *nm, cred_t *cr, caller_context_t *ct, int flags) argument
2410 smbfs_mkdir(vnode_t *dvp, char *nm, struct vattr *va, vnode_t **vpp, cred_t *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument
2490 smbfs_rmdir(vnode_t *dvp, char *nm, vnode_t *cdir, cred_t *cr, caller_context_t *ct, int flags) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dxattr.c960 char *nm = ""; local
987 error = pn_get(nm, UIO_SYSSPACE, &pn);
990 error = VOP_LOOKUP(gfs_file_parent(gfs_dvp), nm, &realvp, &pn,
1303 readdir_xattr_casecmp(vnode_t *dvp, char *nm, cred_t *cr, caller_context_t *ct, argument
1312 error = pn_get(nm, UIO_SYSSPACE, &pn);
1314 error = VOP_LOOKUP(dvp, nm, &vp, &pn,
1528 xattr_lookup_cb(vnode_t *vp, const char *nm, vnode_t **vpp, ino64_t *inop, argument
1550 error = pn_get((char *)nm, UIO_SYSSPACE, &pn);
1552 error = VOP_LOOKUP(pvp, (char *)nm, vpp, &pn, flags, rootvp,
1634 char *nm local
1697 char *nm; local
[all...]

Completed in 179 milliseconds

123456