Searched defs:shadow (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/avs/dsw/
H A Diicpbmp.c64 char shadow[DSW_NAMELEN]; variable
158 (void) strncpy(args.shadow_vol, shadow, DSW_NAMELEN);
234 shadow, old_bitmap, new_bitmap);
254 (void) snprintf(key, sizeof (key), "ii.set%d.shadow",
256 (void) cfg_get_cstring(cfg, key, shadow, DSW_NAMELEN);
H A Diiadm.c499 * iiadm -E (export shadow [needs to update dsvol section])
500 * iiadm -I (import shadow [ditto])
501 * iiadm -J (join shadow [ditto])
518 * If in a Sun Cluster, can't Import an II shadow
634 "must specify delay, unit and shadow with -P"));
776 (void) snprintf(key, sizeof (key), "ii.set%d.shadow", setno);
888 (void) snprintf(key, sizeof (key), "ii.set%d.shadow",
942 for ((void) snprintf(key, sizeof (key), "ii.set%d.shadow", setnumber);
944 (void) snprintf(key, sizeof (key), "ii.set%d.shadow",
1006 remove_iiset(int setno, char *shadow, in argument
[all...]
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcseekable.c34 Sfio_t* shadow; /* to shadow data */ member in struct:_skable_s
36 Sfoff_t extent; /* shadow extent */
69 sf = sk->shadow;
117 sf = sk->shadow;
181 sfclose(sk->shadow);
188 sfseek(sk->shadow,(Sfoff_t)0,SEEK_SET);
215 sk->shadow = sftmp(SF_BUFSIZE);
221 { sfclose(sk->shadow);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetspent_r.c32 #include <shadow.h>
167 * str2spwd() -- convert a string to a shadow passwd entry. The parser is
182 struct spwd *shadow = (struct spwd *)ent; local
213 shadow->sp_namp = bufp = buffer;
214 shadow->sp_pwdp = 0;
215 shadow->sp_lstchg = -1;
216 shadow->sp_min = -1;
217 shadow->sp_max = -1;
218 shadow->sp_warn = -1;
219 shadow
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass1.c132 fsck_ino_t shadow, attrinode; local
429 shadow = dp->di_shadow;
430 if (shadow != 0) {
434 } else if ((shadow <= UFSROOTINO) ||
435 (shadow > maxinumber)) {
439 registershadowclient(shadow,
496 * we assume we're working on a shadow, otherwise an extended attribute.
528 * The file had a bad shadow/acl, so lock it down
H A Dfsck.h62 #define SSTATE 0x08 /* inode is a shadow/acl */
219 #define ACL 2 /* an acl/shadow */
220 #define ADDR 3 /* anything but a directory or an acl/shadow */
274 * shadow inodes that exist, and which regular inodes use them (i.e. are
284 fsck_ino_t shadow; /* the shadow inode that this info is for */ member in struct:shadowclientinfo
287 struct shadowclientinfo *next; /* link to the next shadow inode */
289 /* global pointer to this shadow/client information */
H A Dutilities.c1687 * Shadow inode support. To register a shadow with a client is to note
1688 * that an inode (the client) refers to the shadow.
1698 errexit("newshadowclient: cannot malloc shadow client");
1710 registershadowclient(fsck_ino_t shadow, fsck_ino_t client, argument
1717 * Already have a record for this shadow?
1720 if (sci->shadow == shadow)
1724 * It's a new shadow, add it to the list
1731 sci->shadow = shadow;
1750 clearshadow(fsck_ino_t shadow, struct shadowclientinfo **info) argument
[all...]
/illumos-gate/usr/src/ucbcmd/vipw/
H A Dvipw.c61 char *shadow = "/etc/shadow"; variable
115 "Press 'e' to edit the shadow file for consistency,\n 'q' to quit: ");
135 if (stat(shadow, &oshdbuf) < 0) {
137 "vipw: can't stat shadow file.\n");
141 if (copyfile(shadow, stemp))
149 if (editfile(editor, stemp, shadow, &o_mtime))
173 if (rename(stemp, shadow) < 0) {
179 (chown(shadow, oshdbuf.st_uid, oshdbuf.st_gid) < 0)) {
267 if (!strcmp(orig, shadow))
[all...]
/illumos-gate/usr/src/lib/passwdutil/
H A Dswitch_utils.c40 #include <shadow.h>
504 * str2spwd() -- convert a string to a shadow passwd entry. The parser is
524 struct spwd *shadow = (struct spwd *)ent; local
546 shadow->sp_namp = bufp = buffer;
547 shadow->sp_pwdp = 0;
548 shadow->sp_lstchg = -1;
549 shadow->sp_min = -1;
550 shadow->sp_max = -1;
551 shadow->sp_warn = -1;
552 shadow
[all...]
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptraverse.c167 ino_t shadow; local
174 shadow = (ino_t)(unsigned)(ip->di_shadow);
175 while ((shadow > shc->ino) && (shc->higher))
177 while ((shadow < shc->ino) && (shc->lower))
179 if (shadow != shc->ino) {
189 shc->ino = shadow;
193 BIS(shadow, shamap);
/illumos-gate/usr/src/cmd/sulogin/
H A Dsulogin.c64 #include <shadow.h>
259 * if no 'root' entry in /etc/shadow, give maint. mode single
265 "in shadow password file ***\n\n");
456 struct spwd *lshpw; /* local shadow */
457 char shadow[NSS_BUFLEN_SHADOW]; local
519 lshpw = getspnam_r(user, &spwd, shadow, sizeof (shadow));
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrsyncd.c786 char shadow[NSC_MAXPATH]; local
824 (void) snprintf(key, sizeof (key), "ndr_ii.set%d.shadow",
828 (void) strncpy(shadow, buf, NSC_MAXPATH);
863 (void) snprintf(key, sizeof (key), "ii.set%d.shadow",
867 if (strcmp(buf, shadow) != 0)
870 /* Matching shadow found, so ii already enabled */
885 (void) sprintf(cmd, "%s %s -u s %s", IIADM, ctag, shadow);
934 ctag, master, shadow, bitmap);
938 shadow, bitmap);
947 master, shadow, bitma
[all...]
H A Dsndradm.c803 char shadow[NSC_MAXPATH]; local
810 bzero(&shadow, sizeof (shadow));
814 (void) sscanf(buf, "%s %s %s", master, shadow, bitmap);
817 if (strcmp(shadow, sh) != 0)
830 char *shadow; local
854 shadow = argv[++optind];
880 "ndr_ii.set%d.shadow",
884 if (strcmp(buf, shadow) != 0)
907 master, shadow, bitma
[all...]
/illumos-gate/usr/src/uts/common/inet/nca/
H A Dncadoorhdr.h237 uint8_t shadow; /* flag used by kernel when copyin */ member in struct:nca_io2_s
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c64 #include <shadow.h>
649 struct spwd *shadow; local
668 * Since there are no shadow maps this is done by accessing
673 /* Try to get shadow information */
674 shadow = get_old_shadow(yppwd->newpw.pw_name, domain);
676 /* If there is shadow information make password aging checks */
677 if (NULL != shadow) {
680 if (shadow->sp_max != -1) {
681 if (now < shadow->sp_lstchg + shadow
[all...]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_acl.c102 int shadow; local
119 * create a shadow inode. If there is already a shadow with
149 * Check cache. If in cache, use existing shadow inode.
150 * Increment the shadow link count, then attach to the
164 shadow = (int)csp->s_shadow;
172 if ((err = ufs_iget(vfsp, shadow, &sip, cr)) != 0) {
189 /* See if we got the right shadow */
190 if (csp->s_shadow != shadow) {
221 /* Alloc a shadow inod
433 int shadow; local
1645 int shadow; local
[all...]
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_mii.h74 uchar_t shadow; member in struct:_mii_regs
379 uint16_t shadow:5; member in struct:_mii_mode_control_stat::__anon8470
399 uint16_t shadow:5;
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vgatext.c76 char shadow[TEXT_ROWS*TEXT_COLS*2]; member in struct:vgatext_softc
77 caddr_t current_base; /* hardware or shadow */
448 softc->current_base = softc->shadow;
679 for (i = 0; i < sizeof (softc->shadow); i++)
680 softc->shadow[i] = softc->current_base[i];
689 for (i = 0; i < sizeof (softc->shadow); i++) {
690 softc->text_base[i] = softc->shadow[i];
765 for (i = 0; i < sizeof (softc->shadow); i++) {
766 softc->text_base[i] = softc->shadow[i];
781 softc->current_base = softc->shadow;
[all...]
/illumos-gate/usr/src/uts/common/io/audio/ac97/
H A Dac97.c59 * We only need to shadow the normal audio registers by default.
61 * We cannot necessarily meaningfully shadow them.
65 #define SHADOW(ac, reg) ((ac)->shadow[((reg) / sizeof (uint16_t))])
103 uint16_t shadow[NUM_SHADOW]; member in struct:ac97
718 * This will update all the codec registers from the shadow table.
1880 * Populate the initial shadow table.
/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c150 char shadow[TEXT_ROWS*TEXT_COLS*2]; member in struct:vgatext_softc
151 caddr_t current_base; /* hardware or shadow */
566 softc->current_base = softc->shadow;
870 for (i = 0; i < sizeof (softc->shadow); i++)
871 softc->shadow[i] = softc->current_base[i];
891 for (i = 0; i < sizeof (softc->shadow); i++) {
892 softc->text_base[i] = softc->shadow[i];
907 softc->current_base = softc->shadow;
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_var.h313 mcp_kreq_ether_recv_t *shadow; /* host shadow of recv ring */ member in struct:__anon6229
/illumos-gate/usr/src/uts/common/avs/ns/dsw/
H A Ddsw_dev.h147 kstat_named_t shdbits; /* # bits set shadow bitmap */
166 kstat_named_t shd_io; /* kstat_io of shadow */
304 * of the kstats for a given set; all master/shadow/bmp/overflow mutexes
310 kstat_t *shadow; member in struct:_ii_kstat_info_s
352 nsc_off_t bi_shdfba; /* location of shadow bitmap */
353 nsc_size_t bi_shdbits; /* shadow bitmap counter */
375 chunkid_t bi_shdchks; /* # of chunks on shadow vol */
453 #define SHD 0x0002 /* shadow reserve/release flag */
454 #define SHDR 0x0020 /* raw shadow reserve/release flag */
520 #define DSW_CLOSING 0x0002 /* Waiting for shadow t
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c1782 if (match("shadow", 2)) { /* shadow inode data */
1790 if (match("si", 2)) { /* shadow inode field */
3101 * getshadowslot - get the address of the shadow data desired
3104 getshadowslot(long shadow) argument
3110 if (shadow < 0) {
3111 shadow = 0;
3115 if (shadow < cur_shad) {
3116 printf("can't scan shadow data in reverse\n");
3125 printf("inode is not a shadow\
[all...]
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c3001 * if the hblk was previously used as a shadow hblk then
3583 * creates a large page shadow hmeblk for a tte.
3631 * set the shadow bit.
3659 * This routine cleanup a previous shadow hmeblk and changes it to
3663 * The alternative was to cleanup the shadow hblks at unload time
3699 int hmeshift, shadow = 0; local
3725 shadow = 1;
3755 if (shadow) {
3757 * We found another shadow hblk so cleaned its
3762 shadow
[all...]

Completed in 274 milliseconds