Searched defs:nm (Results 1 - 25 of 137) sorted by relevance

123456

/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_print.c45 char *nm; local
53 case ALIGN_KW: nm = "align"; break;
54 case STRUCT_KW: nm = "struct"; break;
55 case UNION_KW: nm = "union"; break;
56 case TYPEDEF_KW: nm = "typedef"; break;
57 case INTERFACE_KW: nm = "interface"; break;
58 case IN_KW: nm = "in"; break;
59 case OUT_KW: nm = "out"; break;
60 case SIZE_IS_KW: nm = "size_is"; break;
61 case LENGTH_IS_KW: nm
[all...]
/illumos-gate/usr/src/cmd/stat/common/
H A Dmnt.c49 lookup_mntent_byname(char *nm) argument
56 if (nm) {
60 if (strcmp(nm, minfo->device_name)) {
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_ndd.c61 nge_nd_get_prop_val(dev_info_t *dip, char *nm, long min, long max, int *pval) argument
69 if (NGE_PROP_EXISTS(dip, nm)) {
70 *pval = NGE_PROP_GET_INT(dip, nm);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypmatch.c74 static char nm[YPMAXMAP+1]; variable
114 (getmapname(map, nm))) {
115 map = nm;
H A Dypcat.c67 static char nm[YPMAXMAP+1]; variable
123 (getmapname(map, nm))) {
124 map = nm;
/illumos-gate/usr/src/common/zfs/
H A Dzfs_comutil.c74 char *nm; local
87 nm = nvpair_name(elem);
88 if (strcmp(nm, ZPOOL_REWIND_POLICY) == 0) {
92 } else if (strcmp(nm, ZPOOL_REWIND_REQUEST) == 0) {
96 } else if (strcmp(nm, ZPOOL_REWIND_REQUEST_TXG) == 0) {
98 } else if (strcmp(nm, ZPOOL_REWIND_META_THRESH) == 0) {
100 } else if (strcmp(nm, ZPOOL_REWIND_DATA_THRESH) == 0) {
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_all.c100 ctfs_adir_do_lookup(vnode_t *vp, const char *nm, vnode_t **vpp, ino64_t *inop, argument
106 i = stoi((char **)&nm);
107 if (*nm != '\0')
H A Dctfs_tdir.c138 ctfs_tdir_do_lookup(vnode_t *vp, const char *nm, vnode_t **vpp, ino64_t *inop, argument
144 i = stoi((char **)&nm);
145 if (*nm != '\0')
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_shadow.c178 nfs4_fname_t *nm; local
186 nm = *namepp;
200 if (sv_match(nm, drp->r_fh, master_svp)) {
202 fn_rele(&nm);
214 if (sv_match(nm, drp->r_fh, svp)) {
223 fn_rele(&nm);
250 svp->sv_name = nm;
265 sv_match(nfs4_fname_t *nm, nfs4_sharedfh_t *fhp, svnode_t *svp) argument
269 return (svp->sv_name != NULL && svp->sv_name == nm &&
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_root.c74 objfs_root_do_lookup(vnode_t *vp, const char *nm, vnode_t **vpp, ino64_t *inop, argument
88 strcmp(nm, mp->mod_modname) == 0) {
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_ndd.c61 bge_nd_get_prop_val(dev_info_t *dip, char *nm, long min, long max, int *pval) argument
68 if (BGE_PROP_EXISTS(dip, nm)) {
69 *pval = BGE_PROP_GET_INT(dip, nm);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set_med.c91 char *nm; local
101 nm = mhp->n_lst[i].a_nm[j];
103 for (cp = nm; *cp; cp++)
108 sp->setno, nm, NULL, sp->setname));
110 if (clnt_med_hostname(nm, &hostname, ep))
114 if (strcmp(nm, hostname) != 0) {
117 MDE_DS_NOTNODENAME, sp->setno, nm,
120 nodename = nm;
125 MDE_DS_ALIASNOMATCH, sp->setno, nm,
H A Dmeta_namespace.c57 struct mdnm_params nm; local
60 (void) memset(&nm, '\0', sizeof (nm));
61 nm.setno = setno;
62 nm.side = sideno;
63 nm.key = key;
64 nm.devname = (uintptr_t)device_name;
66 if (metaioctl(MD_IOCGET_NM, &nm, &nm.mde, NULL) != 0) {
67 (void) mdstealerror(ep, &nm
97 struct mdhspnm_params nm; local
134 struct mdhspnm_params nm; local
183 struct mdnm_params nm; local
213 struct mdnm_params nm; local
265 struct mdnm_params nm; local
345 struct mdnm_params nm; local
410 struct mdnm_params nm; local
444 struct mdnm_params nm; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/pcibus/
H A Dpci_sun4v.c105 char *nm, *plat, *pp, **cp; local
143 nm = topo_node_name(node);
144 if (strcmp(nm, PCI_DEVICE) != 0 &&
145 strcmp(nm, PCIEX_DEVICE) != 0 &&
146 strcmp(nm, PCIEX_BUS) != 0)
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c215 int fd, i, j, nm; local
273 value = nm = 0;
297 nm = s[j].st_name;
299 if (nm == 0)
303 *name = stbuf + stoffset + nm;
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_mem.c50 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); local
51 (void) snprintf(nm, sz, fmt, serdbase, serial);
53 return (nm);
62 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); local
63 (void) snprintf(nm, sz, fmt, serdbase, phys_addr);
65 return (nm);
74 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); local
75 (void) snprintf(nm, sz, fmt, serdbase, phys_addr, cw, pos);
77 return (nm);
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dref_subr.c54 str_to_utf8(char *nm, utf8string *str) argument
61 if (nm == NULL || *nm == '\0') {
67 len = strlen(nm);
75 bcopy(nm, str->utf8string_val, len);
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_ipnetops.c83 devipnet_create_rvp(struct sdev_node *ddv, char *nm, argument
90 if ((dev = ipnet_if_getdev(nm, getzoneid())) == (dev_t)-1)
105 devipnet_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument
114 error = devname_lookup_func(sdvp, nm, vpp, cred, devipnet_create_rvp,
H A Dsdev_netops.c77 devnet_create_rvp(const char *nm, struct vattr *vap, dls_dl_handle_t *ddhp) argument
83 if ((error = dls_devnet_open(nm, ddhp, &dev)) != 0) {
85 "network node: %s\n", nm));
112 devnet_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument
129 nmlen = strlen(nm);
130 if ((nmlen == 0) || ((nmlen == 1) && (nm[0] == '.'))) {
139 if ((nmlen == 2) && (strcmp(nm, "..") == 0)) {
150 if ((dv = sdev_cache_lookup(ddv, nm)) != NULL) {
162 error = devnet_create_rvp(nm, &vattr, &ddh);
166 error = sdev_mknode(ddv, nm,
[all...]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_ndd.c192 char *nm; local
212 nm = &ndp->ndp_name[0];
215 switch (*nm) {
228 if (!nd_load(nddpp, ++nm, unm_param_get, setfn, (caddr_t)ndp))
237 if (setfn && UNM_PROP_EXISTS(dip, nm)) {
238 pval = UNM_PROP_GET_INT(dip, nm);
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_ndd.c194 char *nm; local
214 nm = &ndp->ndp_name[0];
217 switch (*nm) {
230 if (!nd_load(nddpp, ++nm, rge_param_get, setfn, (caddr_t)ndp))
239 if (setfn && RGE_PROP_EXISTS(dip, nm)) {
240 pval = RGE_PROP_GET_INT(dip, nm);
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_printer.c686 register char *nm = getname(), local
689 strlen(nm) + 1)
694 (void) strcat (copy, nm);
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dhomedir.c105 char nm[ZFS_MAX_DATASET_NAME_LEN]; local
108 (void) snprintf(nm, sizeof (nm), "%s/%s",
111 if ((zfs_create(g_zfs, nm, ZFS_TYPE_FILESYSTEM, NULL)
113 ((zhp = zfs_open(g_zfs, nm, ZFS_TYPE_FILESYSTEM)) ==
218 char *nm, *rp; local
238 if ((nm = get_mnt_special(dir, stbuf.st_fstype)) != NULL) {
241 if ((zhp = zfs_open(g_zfs, nm, ZFS_TYPE_FILESYSTEM))
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_labels.c425 char *nm; local
434 nm = topo_node_name(node);
435 if (strcmp(nm, PCI_DEVICE) != 0 && strcmp(nm, PCIEX_DEVICE) != 0 &&
436 strcmp(nm, PCIEX_BUS) != 0) {
478 char *nm; local
481 nm = topo_node_name(node);
482 if (strcmp(nm, PCI_DEVICE) != 0 && strcmp(nm, PCIEX_DEVICE) != 0 &&
483 strcmp(nm, PCIEX_BU
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_vxvm.c362 char nm[MAXPATHLEN]; local
367 (void) snprintf(nm, sizeof (nm),
369 if (add_use_record(nm)) {

Completed in 82 milliseconds

123456