Home
last modified time | relevance | path

Searched refs:aclass (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Drmdest.c51 void rmdest (aclass, dest) in rmdest() argument
52 int aclass; in rmdest()
59 if (!aclass)
73 aclass && delclass(dest) == -1
74 || !aclass && delprinter(dest) == -1
86 (rc == MNODEST? (aclass? E_LP_DELCLASS : E_LP_DELPRINTER) : E_ADM_DELSTRANGE),
101 if (!aclass)
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Deptstat.c85 if (*pinfo->aclass) in eptstat()
86 useclass = pinfo->aclass; in eptstat()
124 if (me->aclass[0]) in eptstat()
126 me->aclass); in eptstat()
129 useclass = me->aclass; in eptstat()
H A Dpkgdbmerg.c493 if (pkgpinfo->aclass[0] != '\0') { in do_like_ent()
494 (void) strcpy(el_ent->cf_ent.pkg_class, pkgpinfo->aclass); in do_like_ent()
910 (void) strcpy(pkgpinfo->aclass, in merg()
1109 (void) strlcpy(newclass, pinfo->aclass, sizeof (newclass)); in chgclass()
1121 if (pp->aclass[0] != '\0') { in chgclass()
1122 if (strcmp(pp->aclass, newclass) == 0) in chgclass()
1124 else if (strcmp(pp->aclass, oldclass) == 0) in chgclass()
1132 if (pp->aclass[0] == '\0') { in chgclass()
1133 (void) strcpy(pp->aclass, oldclass); in chgclass()
1134 } else if (strcmp(pp->aclass, newclass) == 0) { in chgclass()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_acl.c328 if (sp->aclass.acl_ismask) in ufs_si_store()
330 (((sp->aclass.acl_maskbits & 07) << 3) & in ufs_si_store()
646 ismask = sp->aclass.acl_ismask ? in ufs_acl_access()
647 sp->aclass.acl_ismask : 0; in ufs_acl_access()
650 mask = sp->aclass.acl_maskbits; in ufs_acl_access()
1042 sp->aclass.acl_ismask = 1; in vsecattr2aclentry()
1043 sp->aclass.acl_maskbits = aclentp->a_perm; in vsecattr2aclentry()
1134 if (sp->aclass.acl_ismask) in aclentry2vsecattr()
1154 if (sp->aclass.acl_ismask) { in aclentry2vsecattr()
1156 aclentp->a_perm = sp->aclass.acl_maskbits; in aclentry2vsecattr()
[all …]
H A Dufs_vnops.c1935 if (ip->i_ufs_acl && ip->i_ufs_acl->aclass.acl_ismask) { in ufs_getattr()
1938 (ip->i_ufs_acl->aclass.acl_maskbits & PERMMASK) << 3; in ufs_getattr()
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c181 if (ipgpc_cid_list[class_id].aclass.gather_stats) { in update_stats()
242 return (&ipgpc_cid_list[ipgpc_def_class_id].aclass); in ipgpc_classify()
256 return (&ipgpc_cid_list[ipgpc_def_class_id].aclass); in ipgpc_classify()
275 aclass); in ipgpc_classify()
291 aclass); in ipgpc_classify()
309 aclass); in ipgpc_classify()
325 aclass); in ipgpc_classify()
345 return (&ipgpc_cid_list[ipgpc_def_class_id].aclass); in ipgpc_classify()
354 return (&ipgpc_cid_list[class_id].aclass); in ipgpc_classify()
H A Dclassifierddi.c217 ipgpc_class_t *aclass; in ipgpc_modify_action() local
264 aclass = kmem_zalloc(sizeof (ipgpc_class_t), KM_SLEEP); in ipgpc_modify_action()
265 if ((rc = ipgpc_parse_class(aclass, nvlp)) != 0) { in ipgpc_modify_action()
267 kmem_free(aclass, sizeof (ipgpc_class_t)); in ipgpc_modify_action()
270 rc = ipgpc_addclass(aclass, flags); in ipgpc_modify_action()
271 kmem_free(aclass, sizeof (ipgpc_class_t)); in ipgpc_modify_action()
H A Dfilters.c548 (strcmp(name, ipgpc_cid_list[h].aclass.class_name) != 0)) { in class_name2id()
950 ipgpc_cid_list[class_id].aclass.class_name)); in insertfid()
1298 ipgpc_cid_list[in_class_id].aclass.next_action; in class_statinit()
1342 ipgpc_cid_list[class_id].aclass = *in_class; in insertcid()
1358 ipgpc_cid_list[class_id].aclass.class_name, MAXNAMELEN); in insertcid()
1520 ipgpc_cid_list[in_class_id].aclass.class_name[0] = '\0'; in removecid()
1521 ipgpc_cid_list[in_class_id].aclass.next_action = -1; in removecid()
1584 old_next_action = ipgpc_cid_list[class_id].aclass.next_action; in ipgpc_removeclass()
1652 name = ipgpc_cid_list[class_id].aclass.class_name; in ipgpc_modifyfilter()
1769 old_next_action = ipgpc_cid_list[class_id].aclass.next_action; in ipgpc_modifyclass()
[all …]
H A Dclassifier-objects.h257 ipgpc_class_t aclass; /* the class structure this cid describes */ member
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dsplpkgmap.c91 static void addclass(char *aclass, int vol);
403 store(struct data **sf, unsigned int eptnum, char *aclass, fsblkcnt_t limit, in store() argument
416 if (aclass && strcmp(aclass, sf[i]->ept->pkg_class)) in store()
434 return (store(sf, eptnum, aclass, limit, ilimit)); in store()
586 addclass(char *aclass, int vol) in addclass() argument
591 if (strcmp(cl[i].name, aclass) == 0) { in addclass()
601 cl[nclass].name = qstrdup(aclass); in addclass()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_acl.h109 #define aclass s_a.mask macro
177 ((ACL)->aclass.acl_ismask ? \
178 ((((ACL)->aclass.acl_maskbits & \
/illumos-gate/usr/src/lib/libpkg/common/
H A Dputcfile.c190 if (pinfo->aclass[0]) { in putcfile()
194 if (fputs(pinfo->aclass, a_fp) == EOF) { in putcfile()
367 if (pinfo->aclass[0]) { in putcvfpfile()
369 vfpPuts(a_vfp, pinfo->aclass); in putcvfpfile()
H A Dsrchcfile.c423 (void) strlcpy(pinfo->aclass, classname, in srchcfile()
424 sizeof (pinfo->aclass)); in srchcfile()
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Dmain.c129 static void rmclass(char *aclass, int rm_remote, char *a_zoneName);
1115 rmclass(char *aclass, int rm_remote, char *a_zoneName) in rmclass() argument
1126 if (aclass == NULL) { in rmclass()
1137 (void) snprintf(script, sizeof (script), "%s/r.%s", pkgbin, aclass); in rmclass()
1140 PKGSCR, aclass); in rmclass()
1161 echo(MSG_PKGREMOVE_REMPATHCLASS_GZ, aclass); in rmclass()
1163 echo(MSG_PKGREMOVE_REMPATHCLASS_LZ, aclass, a_zoneName); in rmclass()
1171 if ((ept == NULL) || strcmp(aclass, ept->pkg_class)) { in rmclass()
H A Ddelmap.c135 if (*pinfo->aclass) in delmap()
136 (void) strcpy(ept->pkg_class, pinfo->aclass); in delmap()
/illumos-gate/usr/src/head/
H A Dpkgstrct.h73 char aclass[ATRSIZ+1]; member