Home
last modified time | relevance | path

Searched refs:nflags (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-12.1/sys/contrib/ipfilter/netinet/
H A Dip_nat6.c964 u_int nflags; local
1585 u_int *nflags;
1915 int nflags; local
2617 u_int nflags = 0; local
2641 nflags = IPN_TCP;
2644 nflags = IPN_UDP;
2810 u_32_t nflags;
3031 nflags = 0;
3039 nflags = IPN_TCP;
3042 nflags = IPN_UDP;
[all …]
H A Dip_rpcb_pxy.c1162 int nflags; local
1184 nflags = NAT_TCP;
1187 nflags = NAT_UDP;
1190 nflags |= SI_W_SPORT|NAT_SEARCH;
1224 nflags &= ~NAT_SEARCH;
1237 ipn->in_flags = nflags & IPN_TCPUDP;
1254 natl = ipf_nat_add(&fi, ipn, NULL, nflags|SI_CLONE|NAT_SLAVE,
1269 (void) ipf_nat_proto(&fi, natl, nflags);
1280 nflags &= NAT_TCPUDP;
1281 nflags |= SI_W_SPORT|SI_CLONE;
[all …]
H A Dip_nat.c3097 u_int nflags; local
3770 u_int *nflags;
4087 int nflags; local
4854 u_int nflags = 0; local
5071 u_32_t nflags;
5374 nflags = 0;
5568 u_32_t nflags;
5802 u_int nflags;
8390 int nflags; local
8396 nflags = IPN_TCP;
[all …]
H A Dip_rcmd_pxy.c150 int off, dlen, nflags, direction; local
293 nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP;
297 nat2 = ipf_nat_add(&fi, rc->rcmd_rule, NULL, nflags,
301 nat2 = ipf_nat6_add(&fi, rc->rcmd_rule, NULL, nflags,
H A Dip_tftp_pxy.c302 int nflags; local
328 nflags = NAT_SLAVE|IPN_UDP|SI_W_SPORT;
363 nflags |= NAT_NOTRULEPORT;
368 nat2 = ipf_nat6_add(&fi, ti->ti_rule, NULL, nflags, dir);
371 nat2 = ipf_nat_add(&fi, ti->ti_rule, NULL, nflags, dir);
H A Dip_ftp_pxy.c861 int inc, off, nflags; local
915 nflags = IPN_TCP|SI_W_SPORT;
935 nflags, nat->nat_dir);
939 nflags, nat->nat_dir);
/freebsd-12.1/sys/dev/xen/grant_table/
H A Dgrant_table.c175 uint16_t nflags; in gnttab_query_foreign_access() local
177 nflags = shared[ref].flags; in gnttab_query_foreign_access()
179 return (nflags & (GTF_reading|GTF_writing)); in gnttab_query_foreign_access()
185 uint16_t flags, nflags; in gnttab_end_foreign_access_ref() local
187 nflags = shared[ref].flags; in gnttab_end_foreign_access_ref()
189 if ( (flags = nflags) & (GTF_reading|GTF_writing) ) { in gnttab_end_foreign_access_ref()
193 } while ((nflags = synch_cmpxchg(&shared[ref].flags, flags, 0)) != in gnttab_end_foreign_access_ref()
/freebsd-12.1/contrib/ipfilter/
H A Dip_fil_compat.c1804 u_32_t nflags = 0; local
1808 nflags |= FR_CALL;
1811 nflags |= FR_BLOCK;
1814 nflags |= FR_PASS;
1817 nflags |= FR_AUTH;
1826 nflags |= FR_SKIP;
1833 nflags |= FR_LOG;
1841 nflags |= FR_QUICK;
1857 nflags |= FR_INQUE;
1881 return nflags;
[all …]
/freebsd-12.1/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c504 int xflags, nflags; in dump() local
509 nflags = recurse ? R_RPREV : R_PREV; in dump()
511 nflags = R_PREV; in dump()
516 nflags = recurse ? R_RNEXT : R_NEXT; in dump()
518 nflags = R_NEXT; in dump()
521 for (;; xflags = nflags) in dump()
/freebsd-12.1/sys/dev/vt/
H A Dvt_buf.c823 int oflags, nflags; in vtbuf_cursor_visibility() local
830 nflags = vb->vb_flags; in vtbuf_cursor_visibility()
832 if (oflags != nflags) in vtbuf_cursor_visibility()
839 int oflags, nflags; in vtbuf_scroll_mode() local
847 nflags = vb->vb_flags; in vtbuf_scroll_mode()
849 if (oflags != nflags) in vtbuf_scroll_mode()
/freebsd-12.1/lib/libc/db/test/
H A Ddbtest.c497 int flags, nflags; local
501 nflags = R_PREV;
504 nflags = R_NEXT;
506 for (;; flags = nflags)
/freebsd-12.1/sys/i386/ibcs2/
H A Dibcs2_misc.c246 int oflags = uap->flags, nflags, error; in ibcs2_mount() local
253 nflags = 0; in ibcs2_mount()
255 nflags |= MNT_RDONLY; in ibcs2_mount()
257 nflags |= MNT_NOSUID; in ibcs2_mount()
259 nflags |= MNT_UPDATE; in ibcs2_mount()
260 uap->flags = nflags; in ibcs2_mount()
/freebsd-12.1/usr.bin/rpcgen/
H A Drpc_main.c1005 int nflags; in parseargs() local
1199 nflags = cmd->cflag + cmd->hflag + cmd->lflag + cmd->mflag + in parseargs()
1203 if (nflags == 0) { in parseargs()
1211 } if (nflags > 1) { in parseargs()
/freebsd-12.1/sys/compat/linux/
H A Dlinux_time.c236 linux_to_native_timerflags(int *nflags, int flags) in linux_to_native_timerflags() argument
241 *nflags = 0; in linux_to_native_timerflags()
243 *nflags |= TIMER_ABSTIME; in linux_to_native_timerflags()
/freebsd-12.1/sys/arm/arm/
H A Dpmap-v4.c2972 u_int nflags; in pmap_enter_locked() local
2986 nflags = 0; in pmap_enter_locked()
2988 nflags |= PVF_WRITE; in pmap_enter_locked()
2990 nflags |= PVF_EXEC; in pmap_enter_locked()
2992 nflags |= PVF_WIRED; in pmap_enter_locked()
3045 nflags |= PVF_REF; in pmap_enter_locked()
3055 nflags |= PVF_MOD; in pmap_enter_locked()
3082 PVF_MOD | PVF_REF, nflags); in pmap_enter_locked()
3155 nflags |= PVF_UNMAN; in pmap_enter_locked()
3156 pmap_enter_pv(m, pve, pmap, va, nflags); in pmap_enter_locked()
[all …]
/freebsd-12.1/sys/dev/hwpmc/
H A Dhwpmc_core.c1269 int ipa_version, flags, nflags; in pmc_core_initialize() local
1310 nflags = (cpuid[CORE_CPUID_EAX] >> 24) & 0xFF; in pmc_core_initialize()
1311 flags = cpuid[CORE_CPUID_EBX] & ((1 << nflags) - 1); in pmc_core_initialize()
/freebsd-12.1/sys/kern/
H A Dkern_sig.c2716 int cflags, nflags; in sigdeferstop_impl() local
2722 nflags = cflags; in sigdeferstop_impl()
2725 nflags = 0; in sigdeferstop_impl()
2728 nflags = (cflags | TDF_SBDRY) & ~(TDF_SEINTR | TDF_SERESTART); in sigdeferstop_impl()
2731 nflags = (cflags | TDF_SBDRY | TDF_SEINTR) & ~TDF_SERESTART; in sigdeferstop_impl()
2734 nflags = (cflags | TDF_SBDRY | TDF_SERESTART) & ~TDF_SEINTR; in sigdeferstop_impl()
2740 if (cflags == nflags) in sigdeferstop_impl()
2743 td->td_flags = (td->td_flags & ~cflags) | nflags; in sigdeferstop_impl()
/freebsd-12.1/sys/dev/wpi/
H A Dif_wpi.c1394 uint32_t nflags; in wpi_eeprom_channel_flags() local
1396 nflags = 0; in wpi_eeprom_channel_flags()
1398 nflags |= IEEE80211_CHAN_PASSIVE; in wpi_eeprom_channel_flags()
1400 nflags |= IEEE80211_CHAN_NOADHOC; in wpi_eeprom_channel_flags()
1402 nflags |= IEEE80211_CHAN_DFS; in wpi_eeprom_channel_flags()
1404 nflags |= IEEE80211_CHAN_NOADHOC; in wpi_eeprom_channel_flags()
1408 if (nflags & IEEE80211_CHAN_NOADHOC) in wpi_eeprom_channel_flags()
1409 nflags |= IEEE80211_CHAN_NOHOSTAP; in wpi_eeprom_channel_flags()
1411 return nflags; in wpi_eeprom_channel_flags()
1420 uint32_t nflags; in wpi_read_eeprom_band() local
[all …]
/freebsd-12.1/contrib/bmake/
H A Dvar.c2770 int nflags; in ApplyModifiers() local
2778 nflags = flags & ~VARF_WANTRES; in ApplyModifiers()
2780 nflags |= VARF_WANTRES; in ApplyModifiers()
2782 nflags = flags; in ApplyModifiers()
2811 cp2 = Var_Parse(cp, ctxt, nflags, &len, &freeIt); in ApplyModifiers()
2824 if (nflags & VARF_WANTRES) { in ApplyModifiers()
/freebsd-12.1/crypto/heimdal/lib/hdb/
H A Dhdb-ldap.c391 unsigned long oflags, nflags; in LDAP_entry2mods() local
601 nflags = HDBFlags2int(ent->entry.flags); in LDAP_entry2mods()
603 if (is_heimdal_entry && oflags != nflags) { in LDAP_entry2mods()
607 nflags); in LDAP_entry2mods()
/freebsd-12.1/sys/dev/iwm/
H A Dif_iwm.c1919 uint32_t nflags; in iwm_eeprom_channel_flags() local
1921 nflags = 0; in iwm_eeprom_channel_flags()
1923 nflags |= IEEE80211_CHAN_PASSIVE; in iwm_eeprom_channel_flags()
1925 nflags |= IEEE80211_CHAN_NOADHOC; in iwm_eeprom_channel_flags()
1927 nflags |= IEEE80211_CHAN_DFS; in iwm_eeprom_channel_flags()
1929 nflags |= IEEE80211_CHAN_NOADHOC; in iwm_eeprom_channel_flags()
1932 return (nflags); in iwm_eeprom_channel_flags()
1941 uint32_t nflags; in iwm_add_channel_band() local
1962 nflags = iwm_eeprom_channel_flags(ch_flags); in iwm_add_channel_band()
1964 ieee, 0, 0, nflags, bands); in iwm_add_channel_band()
/freebsd-12.1/sys/dev/iwn/
H A Dif_iwn.c2410 uint32_t nflags; in iwn_eeprom_channel_flags() local
2412 nflags = 0; in iwn_eeprom_channel_flags()
2414 nflags |= IEEE80211_CHAN_PASSIVE; in iwn_eeprom_channel_flags()
2416 nflags |= IEEE80211_CHAN_NOADHOC; in iwn_eeprom_channel_flags()
2418 nflags |= IEEE80211_CHAN_DFS; in iwn_eeprom_channel_flags()
2420 nflags |= IEEE80211_CHAN_NOADHOC; in iwn_eeprom_channel_flags()
2423 return nflags; in iwn_eeprom_channel_flags()
2434 int i, error, nflags; in iwn_read_eeprom_band() local
2460 nflags = iwn_eeprom_channel_flags(&channels[i]); in iwn_read_eeprom_band()
2486 int i, error, nflags; in iwn_read_eeprom_ht40() local
[all …]
/freebsd-12.1/usr.sbin/newsyslog/
H A Dnewsyslog.c135 int nflags; /* Program flags count */ member
2033 args = calloc(ct->nflags + 3, sizeof(*args)); in do_zipwork()
2046 for (c = 0; c < ct->nflags; c++) in do_zipwork()
/freebsd-12.1/contrib/gcc/
H A Dgimplify.c4412 unsigned int nflags; in omp_add_variable() local
4432 nflags = n->value | flags; in omp_add_variable()
4433 gcc_assert ((nflags & GOVD_DATA_SHARE_CLASS) in omp_add_variable()
4435 n->value = nflags; in omp_add_variable()
4450 nflags = flags & GOVD_PRIVATE ? GOVD_PRIVATE : GOVD_FIRSTPRIVATE; in omp_add_variable()
4451 nflags |= flags & GOVD_SEEN; in omp_add_variable()
4456 omp_add_variable (ctx, t, nflags); in omp_add_variable()
/freebsd-12.1/sys/netpfil/pf/
H A Dpf_table.c1672 int nflags; in pfr_commit_ktable() local
1721 nflags = ((shadow->pfrkt_flags & PFR_TFLAG_USRMASK) | in pfr_commit_ktable()
1726 pfr_setflags_ktable(kt, nflags); in pfr_commit_ktable()

12