Home
last modified time | relevance | path

Searched refs:newflags (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/tests/sys/fs/fusefs/
H A Dmount.cc74 int newflags = MNT_UPDATE | MNT_SYNCHRONOUS; in TEST_P() local
96 newflags = (statbuf.f_flags | MNT_UPDATE) ^ flag; in TEST_P()
101 ASSERT_EQ(0, nmount(iov, iovlen, newflags)) << strerror(errno); in TEST_P()
104 EXPECT_FALSE((newflags ^ statbuf.f_flags) & flag); in TEST_P()
114 int newflags = MNT_UPDATE | MNT_SYNCHRONOUS; in TEST_P() local
131 newflags = (statbuf.f_flags | MNT_UPDATE) ^ flag; in TEST_P()
141 (void)nmount(iov, iovlen, newflags); in TEST_P()
144 EXPECT_TRUE((newflags ^ statbuf.f_flags) & flag); in TEST_P()
/freebsd-12.1/bin/chflags/
H A Dchflags.c76 u_long clear, newflags, set; in main() local
194 newflags = set; in main()
196 newflags = (p->fts_statp->st_flags | set) & clear; in main()
197 if (newflags == p->fts_statp->st_flags) in main()
199 if (chflagsat(AT_FDCWD, p->fts_accpath, newflags, in main()
208 newflags); in main()
/freebsd-12.1/sys/net80211/
H A Dieee80211_superg.c248 uint16_t curflags, newflags; in ieee80211_parse_athparams() local
254 newflags = curflags = vap->iv_ic->ic_bsschan->ic_flags; in ieee80211_parse_athparams()
257 newflags |= IEEE80211_CHAN_TURBO; in ieee80211_parse_athparams()
259 newflags &= ~IEEE80211_CHAN_TURBO; in ieee80211_parse_athparams()
260 if (newflags != curflags) in ieee80211_parse_athparams()
261 ieee80211_dturbo_switch(vap, newflags); in ieee80211_parse_athparams()
981 ieee80211_dturbo_switch(struct ieee80211vap *vap, int newflags) in ieee80211_dturbo_switch() argument
986 chan = ieee80211_find_channel(ic, ic->ic_bsschan->ic_freq, newflags); in ieee80211_dturbo_switch()
990 __func__, ic->ic_bsschan->ic_freq, newflags); in ieee80211_dturbo_switch()
H A Dieee80211_proto.h352 void ieee80211_dturbo_switch(struct ieee80211vap *, int newflags);
/freebsd-12.1/sys/dev/acpica/
H A Dacpi_thermal.c505 int newactive, newflags; in acpi_tz_monitor() local
549 newflags = TZ_THFLAG_NONE; in acpi_tz_monitor()
551 newflags |= TZ_THFLAG_PSV; in acpi_tz_monitor()
553 newflags |= TZ_THFLAG_HOT; in acpi_tz_monitor()
555 newflags |= TZ_THFLAG_CRT; in acpi_tz_monitor()
611 if ((newflags & (TZ_THFLAG_HOT | TZ_THFLAG_CRT)) != 0) { in acpi_tz_monitor()
623 sc->tz_thflags = newflags; in acpi_tz_monitor()
/freebsd-12.1/sys/kern/
H A Dsubr_uio.c213 int error, newflags, save; in uiomove_faultflag() local
223 newflags = TDP_DEADLKTREAT; in uiomove_faultflag()
228 newflags |= TDP_NOFAULTING | TDP_RESETSPUR; in uiomove_faultflag()
233 save = curthread_pflags_set(newflags); in uiomove_faultflag()
/freebsd-12.1/sys/arm/freescale/imx/
H A Dimx_gpio.c511 u_int newflags, pad; in imx51_gpio_pin_configure() local
531 newflags = pin->gp_flags & ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT); in imx51_gpio_pin_configure()
544 newflags |= GPIO_PIN_OUTPUT; in imx51_gpio_pin_configure()
548 newflags |= GPIO_PIN_INPUT; in imx51_gpio_pin_configure()
551 pin->gp_flags = newflags; in imx51_gpio_pin_configure()
/freebsd-12.1/usr.sbin/ndp/
H A Dndp.c907 u_int32_t newflags; in ifinfo() local
923 newflags = ND.flags; in ifinfo()
936 newflags &= ~(f); \ in ifinfo()
938 newflags |= (f); \ in ifinfo()
976 ND.flags = newflags; in ifinfo()
/freebsd-12.1/contrib/sendmail/libsm/
H A Dldap.c1174 int newflags; local
1180 newflags = flags;
1276 newflags |= SM_LDAP_USE_ALLATTR;
1311 status = sm_ldap_results(lmap, sid, newflags, delim,
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_acl.c1487 uint16_t iflags, newflags, type; in zfs_acl_inherit() local
1566 newflags = aclp->z_ops.ace_flags_get(acep); in zfs_acl_inherit()
1573 newflags &= ~ALL_INHERIT; in zfs_acl_inherit()
1575 newflags|ACE_INHERITED_ACE); in zfs_acl_inherit()
1590 newflags |= ACE_INHERIT_ONLY_ACE; in zfs_acl_inherit()
1592 newflags|ACE_INHERITED_ACE); in zfs_acl_inherit()
1594 newflags &= ~ACE_INHERIT_ONLY_ACE; in zfs_acl_inherit()
1596 newflags|ACE_INHERITED_ACE); in zfs_acl_inherit()
/freebsd-12.1/contrib/mandoc/
H A Dmdoc_man.c462 print_line(const char *s, int newflags) in print_line() argument
467 outflags |= newflags; in print_line()
471 print_block(const char *s, int newflags) in print_block() argument
485 outflags |= MMAN_Bk_susp | newflags; in print_block()
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_write_disk_posix.c3792 int newflags, oldflags; in set_fflags_platform() local
3847 newflags = (oldflags & ~clear) | set; in set_fflags_platform()
3854 &newflags) >= 0) in set_fflags_platform()
3860 newflags &= ~sf_mask; in set_fflags_platform()
3862 newflags |= oldflags; in set_fflags_platform()
3869 &newflags) >= 0) in set_fflags_platform()