Searched refs:newflags (Results 1 - 16 of 16) sorted by relevance

/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/linux_dos_attributes/
H A Dwrite_dos_attributes.c85 uint64_t newflags; local
86 if (ioctl(fd, ZFS_IOC_GETDOSFLAGS, &newflags) == -1)
89 if (newflags != flags)
92 flags, newflags, unset ? "un" : "", attr);
/freebsd-current/tests/sys/fs/fusefs/
H A Dmount.cc120 int newflags = MNT_UPDATE | MNT_SYNCHRONOUS; local
142 newflags = (statbuf.f_flags | MNT_UPDATE) ^ flag;
147 ASSERT_EQ(0, nmount(iov, iovlen, newflags)) << strerror(errno);
150 EXPECT_FALSE((newflags ^ statbuf.f_flags) & flag);
160 int newflags = MNT_UPDATE | MNT_SYNCHRONOUS; local
177 newflags = (statbuf.f_flags | MNT_UPDATE) ^ flag;
187 (void)nmount(iov, iovlen, newflags);
190 EXPECT_TRUE((newflags ^ statbuf.f_flags) & flag);
H A Dfallocate.cc277 int newflags; local
300 newflags = statbuf.f_flags | MNT_UPDATE | MNT_RDONLY;
304 ASSERT_EQ(0, nmount(iov, iovlen, newflags)) << strerror(errno);
609 int newflags; local
632 newflags = statbuf.f_flags | MNT_UPDATE | MNT_RDONLY;
636 ASSERT_EQ(0, nmount(iov, iovlen, newflags)) << strerror(errno);
/freebsd-current/bin/chflags/
H A Dchflags.c61 u_long clear, newflags, set; local
179 newflags = set;
181 newflags = (p->fts_statp->st_flags | set) & clear;
182 if (newflags == p->fts_statp->st_flags)
184 if (chflagsat(AT_FDCWD, p->fts_accpath, newflags,
201 newflags);
/freebsd-current/sys/dev/gpio/
H A Dqoriq_gpio.c279 uint32_t newflags[32]; local
290 newflags[i] = 0;
294 newflags[i] = GPIO_PIN_INPUT;
297 newflags[i] = GPIO_PIN_OUTPUT;
301 newflags[i] |= GPIO_PIN_OPENDRAIN;
304 newflags[i] |= GPIO_PIN_PUSHPULL;
319 sc->sc_pins[i].gp_flags = newflags[i];
/freebsd-current/sys/dev/acpica/
H A Dacpi_thermal.c508 int newactive, newflags; local
551 newflags = TZ_THFLAG_NONE;
553 newflags |= TZ_THFLAG_PSV;
555 newflags |= TZ_THFLAG_CR3;
557 newflags |= TZ_THFLAG_HOT;
559 newflags |= TZ_THFLAG_CRT;
615 if ((newflags & (TZ_THFLAG_CR3 | TZ_THFLAG_HOT | TZ_THFLAG_CRT)) != 0) {
621 if ((newflags & (TZ_THFLAG_HOT | TZ_THFLAG_CRT)) != 0)
632 sc->tz_thflags = newflags;
/freebsd-current/sys/net80211/
H A Dieee80211_superg.c247 uint16_t curflags, newflags; local
253 newflags = curflags = vap->iv_ic->ic_bsschan->ic_flags;
256 newflags |= IEEE80211_CHAN_TURBO;
258 newflags &= ~IEEE80211_CHAN_TURBO;
259 if (newflags != curflags)
260 ieee80211_dturbo_switch(vap, newflags);
977 ieee80211_dturbo_switch(struct ieee80211vap *vap, int newflags) argument
982 chan = ieee80211_find_channel(ic, ic->ic_bsschan->ic_freq, newflags);
986 __func__, ic->ic_bsschan->ic_freq, newflags);
H A Dieee80211_proto.h357 void ieee80211_dturbo_switch(struct ieee80211vap *, int newflags);
/freebsd-current/sys/kern/
H A Dsubr_uio.c208 int error, newflags, save; local
220 newflags = TDP_DEADLKTREAT;
225 newflags |= TDP_NOFAULTING | TDP_RESETSPUR;
230 save = curthread_pflags_set(newflags);
/freebsd-current/sys/arm/freescale/imx/
H A Dimx_gpio.c520 u_int newflags, pad; local
533 * Note that changes to pin->gp_flags must be acccumulated in newflags
540 newflags = pin->gp_flags & ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT);
553 newflags |= GPIO_PIN_OUTPUT;
557 newflags |= GPIO_PIN_INPUT;
560 pin->gp_flags = newflags;
/freebsd-current/contrib/mandoc/
H A Dmdoc_man.c463 print_line(const char *s, int newflags) argument
468 outflags |= newflags;
472 print_block(const char *s, int newflags) argument
486 outflags |= MMAN_Bk_susp | newflags;
/freebsd-current/contrib/sendmail/libsm/
H A Dldap.c1450 int newflags; local
1456 newflags = flags;
1552 newflags |= SM_LDAP_USE_ALLATTR;
1587 status = sm_ldap_results(lmap, sid, newflags, delim,
/freebsd-current/usr.sbin/ndp/
H A Dndp.c998 u_int32_t newflags; local
1014 newflags = ND.flags;
1027 newflags &= ~(f); \
1029 newflags |= (f); \
1067 ND.flags = newflags;
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_acl.c1493 uint16_t iflags, newflags, type; local
1572 newflags = aclp->z_ops->ace_flags_get(acep);
1579 newflags &= ~ALL_INHERIT;
1581 newflags|ACE_INHERITED_ACE);
1596 newflags |= ACE_INHERIT_ONLY_ACE;
1598 newflags|ACE_INHERITED_ACE);
1600 newflags &= ~ACE_INHERIT_ONLY_ACE;
1602 newflags|ACE_INHERITED_ACE);
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_acl.c1676 uint16_t iflags, newflags, type; local
1755 newflags = aclp->z_ops->ace_flags_get(acep);
1762 newflags &= ~ALL_INHERIT;
1764 newflags|ACE_INHERITED_ACE);
1779 newflags |= ACE_INHERIT_ONLY_ACE;
1781 newflags|ACE_INHERITED_ACE);
1783 newflags &= ~ACE_INHERIT_ONLY_ACE;
1785 newflags|ACE_INHERITED_ACE);
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_write_disk_posix.c4028 int newflags, oldflags; local
4084 newflags = (oldflags & ~clear) | set;
4091 &newflags) >= 0)
4097 newflags &= ~sf_mask;
4099 newflags |= oldflags;
4106 &newflags) >= 0)

Completed in 328 milliseconds