Home
last modified time | relevance | path

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

/freebsd/tests/sys/fs/fusefs/
H A Dmount.cc120 int newflags = MNT_UPDATE | MNT_SYNCHRONOUS; in TEST_P() local
142 newflags = (statbuf.f_flags | MNT_UPDATE) ^ flag; in TEST_P()
147 ASSERT_EQ(0, nmount(iov, iovlen, newflags)) << strerror(errno); in TEST_P()
150 EXPECT_FALSE((newflags ^ statbuf.f_flags) & flag); in TEST_P()
160 int newflags = MNT_UPDATE | MNT_SYNCHRONOUS; in TEST_P() local
177 newflags = (statbuf.f_flags | MNT_UPDATE) ^ flag; in TEST_P()
187 (void)nmount(iov, iovlen, newflags); in TEST_P()
190 EXPECT_TRUE((newflags ^ statbuf.f_flags) & flag); in TEST_P()
H A Dfallocate.cc277 int newflags; in TEST_F() local
300 newflags = statbuf.f_flags | MNT_UPDATE | MNT_RDONLY; in TEST_F()
304 ASSERT_EQ(0, nmount(iov, iovlen, newflags)) << strerror(errno); in TEST_F()
660 int newflags; in TEST_F() local
683 newflags = statbuf.f_flags | MNT_UPDATE | MNT_RDONLY; in TEST_F()
687 ASSERT_EQ(0, nmount(iov, iovlen, newflags)) << strerror(errno); in TEST_F()
/freebsd/bin/chflags/
H A Dchflags.c61 u_long clear, newflags, set; in main() local
179 newflags = set; in main()
181 newflags = (p->fts_statp->st_flags | set) & clear; in main()
182 if (newflags == p->fts_statp->st_flags) in main()
184 if (chflagsat(AT_FDCWD, p->fts_accpath, newflags, in main()
201 newflags); in main()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/linux_dos_attributes/
H A Dwrite_dos_attributes.c85 uint64_t newflags; in main() local
86 if (ioctl(fd, ZFS_IOC_GETDOSFLAGS, &newflags) == -1) in main()
89 if (newflags != flags) in main()
92 flags, newflags, unset ? "un" : "", attr); in main()
/freebsd/sys/dev/gpio/
H A Dqoriq_gpio.c279 uint32_t newflags[32]; in qoriq_gpio_pin_config_32() local
290 newflags[i] = 0; in qoriq_gpio_pin_config_32()
294 newflags[i] = GPIO_PIN_INPUT; in qoriq_gpio_pin_config_32()
297 newflags[i] = GPIO_PIN_OUTPUT; in qoriq_gpio_pin_config_32()
301 newflags[i] |= GPIO_PIN_OPENDRAIN; in qoriq_gpio_pin_config_32()
304 newflags[i] |= GPIO_PIN_PUSHPULL; in qoriq_gpio_pin_config_32()
319 sc->sc_pins[i].gp_flags = newflags[i]; in qoriq_gpio_pin_config_32()
/freebsd/sys/net80211/
H A Dieee80211_superg.c247 uint16_t curflags, newflags; in ieee80211_parse_athparams() local
253 newflags = curflags = vap->iv_ic->ic_bsschan->ic_flags; in ieee80211_parse_athparams()
256 newflags |= IEEE80211_CHAN_TURBO; in ieee80211_parse_athparams()
258 newflags &= ~IEEE80211_CHAN_TURBO; in ieee80211_parse_athparams()
259 if (newflags != curflags) in ieee80211_parse_athparams()
260 ieee80211_dturbo_switch(vap, newflags); in ieee80211_parse_athparams()
979 ieee80211_dturbo_switch(struct ieee80211vap *vap, int newflags) in ieee80211_dturbo_switch() argument
984 chan = ieee80211_find_channel(ic, ic->ic_bsschan->ic_freq, newflags); in ieee80211_dturbo_switch()
988 __func__, ic->ic_bsschan->ic_freq, newflags); in ieee80211_dturbo_switch()
H A Dieee80211_proto.h357 void ieee80211_dturbo_switch(struct ieee80211vap *, int newflags);
/freebsd/sys/dev/acpica/
H A Dacpi_thermal.c508 int newactive, newflags; in acpi_tz_monitor() local
551 newflags = TZ_THFLAG_NONE; in acpi_tz_monitor()
553 newflags |= TZ_THFLAG_PSV; in acpi_tz_monitor()
555 newflags |= TZ_THFLAG_CR3; in acpi_tz_monitor()
557 newflags |= TZ_THFLAG_HOT; in acpi_tz_monitor()
559 newflags |= TZ_THFLAG_CRT; in acpi_tz_monitor()
615 if ((newflags & (TZ_THFLAG_CR3 | TZ_THFLAG_HOT | TZ_THFLAG_CRT)) != 0) { in acpi_tz_monitor()
621 if ((newflags & (TZ_THFLAG_HOT | TZ_THFLAG_CRT)) != 0) in acpi_tz_monitor()
632 sc->tz_thflags = newflags; in acpi_tz_monitor()
/freebsd/sys/kern/
H A Dsubr_uio.c208 int error, newflags, save; in uiomove_faultflag() local
220 newflags = TDP_DEADLKTREAT; in uiomove_faultflag()
225 newflags |= TDP_NOFAULTING | TDP_RESETSPUR; in uiomove_faultflag()
230 save = curthread_pflags_set(newflags); in uiomove_faultflag()
/freebsd/sys/arm/freescale/imx/
H A Dimx_gpio.c521 u_int newflags, pad; in imx51_gpio_pin_configure() local
541 newflags = pin->gp_flags & ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT); in imx51_gpio_pin_configure()
554 newflags |= GPIO_PIN_OUTPUT; in imx51_gpio_pin_configure()
558 newflags |= GPIO_PIN_INPUT; in imx51_gpio_pin_configure()
561 pin->gp_flags = newflags; in imx51_gpio_pin_configure()
/freebsd/usr.sbin/ndp/
H A Dndp.c997 u_int32_t newflags; in ifinfo() local
1013 newflags = ND.flags; in ifinfo()
1026 newflags &= ~(f); \ in ifinfo()
1028 newflags |= (f); \ in ifinfo()
1066 ND.flags = newflags; in ifinfo()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_acl.c1493 uint16_t iflags, newflags, type; in zfs_acl_inherit() local
1572 newflags = aclp->z_ops->ace_flags_get(acep); in zfs_acl_inherit()
1579 newflags &= ~ALL_INHERIT; in zfs_acl_inherit()
1581 newflags|ACE_INHERITED_ACE); in zfs_acl_inherit()
1596 newflags |= ACE_INHERIT_ONLY_ACE; in zfs_acl_inherit()
1598 newflags|ACE_INHERITED_ACE); in zfs_acl_inherit()
1600 newflags &= ~ACE_INHERIT_ONLY_ACE; in zfs_acl_inherit()
1602 newflags|ACE_INHERITED_ACE); in zfs_acl_inherit()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_acl.c1676 uint16_t iflags, newflags, type; in zfs_acl_inherit() local
1755 newflags = aclp->z_ops->ace_flags_get(acep); in zfs_acl_inherit()
1762 newflags &= ~ALL_INHERIT; in zfs_acl_inherit()
1764 newflags|ACE_INHERITED_ACE); in zfs_acl_inherit()
1779 newflags |= ACE_INHERIT_ONLY_ACE; in zfs_acl_inherit()
1781 newflags|ACE_INHERITED_ACE); in zfs_acl_inherit()
1783 newflags &= ~ACE_INHERIT_ONLY_ACE; in zfs_acl_inherit()
1785 newflags|ACE_INHERITED_ACE); in zfs_acl_inherit()
/freebsd/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/contrib/mandoc/
H A Dmdoc_man.c463 print_line(const char *s, int newflags) in print_line() argument
468 outflags |= newflags; in print_line()
472 print_block(const char *s, int newflags) in print_block() argument
486 outflags |= MMAN_Bk_susp | newflags; in print_block()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_disk_posix.c4028 int newflags, oldflags; in set_fflags_platform() local
4084 newflags = (oldflags & ~clear) | set; in set_fflags_platform()
4091 &newflags) >= 0) in set_fflags_platform()
4097 newflags &= ~sf_mask; in set_fflags_platform()
4099 newflags |= oldflags; in set_fflags_platform()
4106 &newflags) >= 0) in set_fflags_platform()