/freebsd/contrib/ncurses/include/ |
H A D | nc_termios.h | 67 #define TCIFLUSH 0 82 #define ISIG 0x0001 83 #define ICANON 0x0002 84 #define ECHO 0x0004 85 #define ECHOE 0x0008 86 #define ECHOK 0x0010 87 #define ECHONL 0x0020 88 #define NOFLSH 0x0040 89 #define IEXTEN 0x0100 100 #define IGNBRK 0x00001 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/perf/ |
H A D | riscv,pmu.yaml | 78 value of variant must be 0xffffffff_ffffffff. 104 riscv,event-to-mhpmevent = <0x0000B 0x0000 0x0001>; 105 riscv,event-to-mhpmcounters = <0x00001 0x00001 0x00000001>, 106 <0x00002 0x0000 [all...] |
/freebsd/contrib/lib9p/ |
H A D | genacl.h | 145 #define L9P_ACE_READ_DATA 0x00001 146 #define L9P_ACE_LIST_DIRECTORY 0x00001 /* same as READ_DATA */ 147 #define L9P_ACE_WRITE_DATA 0x00002 148 #define L9P_ACE_ADD_FILE 0x00002 /* same as WRITE_DATA */ 149 #define L9P_ACE_APPEND_DATA 0x00004 150 #define L9P_ACE_ADD_SUBDIRECTORY 0x00004 /* same as APPEND_DATA */ 151 #define L9P_ACE_READ_NAMED_ATTRS 0x00008 152 #define L9P_ACE_WRITE_NAMED_ATTRS 0x00010 153 #define L9P_ACE_EXECUTE 0x00020 154 #define L9P_ACE_DELETE_CHILD 0x00040 [all …]
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_dbg.h | 45 #define INJCT_RX_RXB_INVAL 0x00001 46 #define INJCT_RX_MP_NULL 0x00002 47 #define INJCT_LRO_RXB_INVAL 0x00003 48 #define INJCT_LRO_MP_NULL 0x00004 49 #define INJCT_NUM_HNDLE_INVALID 0x00005 50 #define INJCT_RDWR_INDREG_FAILURE 0x00006 51 #define INJCT_RDWR_OFFCHIPMEM_FAILURE 0x00007 52 #define INJCT_MBX_CMD_FAILURE 0x00008 53 #define INJCT_HEARTBEAT_FAILURE 0x00009 54 #define INJCT_TEMPERATURE_FAILURE 0x0000A [all …]
|
/freebsd/sys/dev/rtwn/rtl8821a/ |
H A D | r21a_priv.h | 34 { 0x421, 0x0f }, { 0x428, 0x0a }, { 0x429, 0x10 }, { 0x430, 0x00 }, 35 { 0x431, 0x00 }, { 0x432, 0x00 }, { 0x433, 0x01 }, { 0x434, 0x04 }, 36 { 0x435, 0x05 }, { 0x436, 0x07 }, { 0x437, 0x08 }, { 0x43c, 0x04 }, 37 { 0x43d, 0x05 }, { 0x43e, 0x07 }, { 0x43f, 0x08 }, { 0x440, 0x5d }, 38 { 0x441, 0x01 }, { 0x442, 0x00 }, { 0x444, 0x10 }, { 0x445, 0x00 }, 39 { 0x446, 0x00 }, { 0x447, 0x00 }, { 0x448, 0x00 }, { 0x449, 0xf0 }, 40 { 0x44a, 0x0f }, { 0x44b, 0x3e }, { 0x44c, 0x10 }, { 0x44d, 0x00 }, 41 { 0x44e, 0x00 }, { 0x44f, 0x00 }, { 0x450, 0x00 }, { 0x451, 0xf0 }, 42 { 0x452, 0x0f }, { 0x453, 0x00 }, { 0x456, 0x5e }, { 0x460, 0x66 }, 43 { 0x461, 0x66 }, { 0x4c8, 0x3f }, { 0x4c9, 0xff }, { 0x4cc, 0xff }, [all …]
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | vnode.h | 52 #define NOCRED ((struct ucred *)0) /* no credential available */ 76 #define vn_vfswlock(vp) (0) 77 #define vn_vfsunlock(vp) do { } while (0) 82 (vp)->v_object->resident_page_count > 0) 88 int flags = sync ? OBJPC_SYNC : 0; in vn_flush_cached_data() 90 vm_object_page_clean(vp->v_object, 0, 0, flags); in vn_flush_cached_data() 102 #define vnevent_create(vp, ct) do { } while (0) 103 #define vnevent_link(vp, ct) do { } while (0) 104 #define vnevent_remove(vp, dvp, name, ct) do { } while (0) 105 #define vnevent_rmdir(vp, dvp, name, ct) do { } while (0) [all …]
|
/freebsd/crypto/openssl/include/internal/ |
H A D | ffc.h | 26 # define FFC_PARAM_TYPE_DSA 0 33 #define FFC_PARAM_MODE_VERIFY 0 37 #define FFC_PARAM_RET_STATUS_FAILED 0 43 # define FFC_PARAM_FLAG_VALIDATE_PQ 0x01 44 # define FFC_PARAM_FLAG_VALIDATE_G 0x02 47 #define FFC_PARAM_FLAG_VALIDATE_LEGACY 0x04 53 # define FFC_CHECK_P_NOT_PRIME 0x00001 54 # define FFC_CHECK_P_NOT_SAFE_PRIME 0x00002 55 # define FFC_CHECK_UNKNOWN_GENERATOR 0x00004 56 # define FFC_CHECK_NOT_SUITABLE_GENERATOR 0x00008 [all …]
|
/freebsd/usr.bin/calendar/ |
H A D | calendar.h | 64 #define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) 67 #define F_NONE 0x00000 68 #define F_MONTH 0x00001 69 #define F_DAYOFWEEK 0x00002 70 #define F_DAYOFMONTH 0x00004 71 #define F_MODIFIERINDEX 0x00008 72 #define F_MODIFIEROFFSET 0x00010 73 #define F_SPECIALDAY 0x00020 74 #define F_ALLMONTH 0x00040 75 #define F_ALLDAY 0x00080 [all …]
|
/freebsd/sys/dev/hyperv/netvsc/ |
H A D | if_hnreg.h | 36 #define HN_NDIS_VERSION_6_1 0x00060001 37 #define HN_NDIS_VERSION_6_20 0x00060014 38 #define HN_NDIS_VERSION_6_30 0x0006001e 39 #define HN_NDIS_VERSION_MAJOR(ver) (((ver) & 0xffff0000) >> 16) 40 #define HN_NDIS_VERSION_MINOR(ver) ((ver) & 0xffff) 45 #define HN_NVS_VERSION_1 0x00002 46 #define HN_NVS_VERSION_2 0x30002 47 #define HN_NVS_VERSION_4 0x40000 48 #define HN_NVS_VERSION_5 0x50000 49 #define HN_NVS_VERSION_6 0x60000 [all …]
|
/freebsd/sys/dev/bhnd/cores/pmu/ |
H A D | bhnd_pmureg.h | 29 (((_value) & _flag) != 0) 43 #define BHND_CLK_CTL_ST 0x1e0 /**< clock control and status */ 55 #define BHND_CCS_FORCEALP 0x00000001 /**< force ALP request */ 56 #define BHND_CCS_FORCEHT 0x00000002 /**< force HT request */ 57 #define BHND_CCS_FORCEILP 0x00000004 /**< force ILP request */ 58 #define BHND_CCS_FORCE_MASK 0x0000000F 60 #define BHND_CCS_ALPAREQ 0x00000008 /**< ALP Avail Request */ 61 #define BHND_CCS_HTAREQ 0x00000010 /**< HT Avail Request */ 62 #define BHND_CCS_AREQ_MASK 0x00000018 64 #define BHND_CCS_FORCEHWREQOFF 0x00000020 /**< Force HW Clock Request Off */ [all …]
|
/freebsd/sys/dev/rtwn/rtl8812a/ |
H A D | r12a_priv.h | 34 { 0x010, 0x0c }, 37 { 0x025, 0x0f }, { 0x072, 0x00 }, { 0x420, 0x80 }, { 0x428, 0x0a }, \ 38 { 0x429, 0x10 }, { 0x430, 0x00 }, { 0x431, 0x00 }, { 0x432, 0x00 }, \ 39 { 0x433, 0x01 }, { 0x434, 0x04 }, { 0x435, 0x05 }, { 0x436, 0x07 }, \ 40 { 0x437, 0x08 }, { 0x43c, 0x04 }, { 0x43d, 0x05 }, { 0x43e, 0x07 }, \ 41 { 0x43f, 0x08 }, { 0x440, 0x5d }, { 0x441, 0x01 }, { 0x442, 0x00 }, \ 42 { 0x444, 0x10 }, { 0x445, 0x00 }, { 0x446, 0x00 }, { 0x447, 0x00 }, \ 43 { 0x448, 0x00 }, { 0x449, 0xf0 }, { 0x44a, 0x0f }, { 0x44b, 0x3e }, \ 44 { 0x44c, 0x10 }, { 0x44d, 0x00 }, { 0x44e, 0x00 }, { 0x44f, 0x00 }, \ 45 { 0x450, 0x00 }, { 0x451, 0xf0 }, { 0x452, 0x0f }, { 0x453, 0x00 }, \ [all …]
|
/freebsd/contrib/nvi/ex/ |
H A D | ex.h | 16 #define E_ADDR1 0x00000001 /* One address. */ 17 #define E_ADDR2 0x00000002 /* Two addresses. */ 18 #define E_ADDR2_ALL 0x00000004 /* Zero/two addresses; zero == all. */ 19 #define E_ADDR2_NONE 0x00000008 /* Zero/two addresses; zero == none. */ 20 #define E_ADDR_ZERO 0x00000010 /* 0 is a legal addr1. */ 21 #define E_ADDR_ZERODEF 0x00000020 /* 0 is default addr1 of empty files. */ 22 #define E_AUTOPRINT 0x00000040 /* Command always sets autoprint. */ 23 #define E_CLRFLAG 0x00000080 /* Clear the print (#, l, p) flags. */ 24 #define E_NEWSCREEN 0x00000100 /* Create a new screen. */ 25 #define E_SECURE 0x00000200 /* Permission denied if O_SECURE set. */ [all …]
|
/freebsd/sbin/pfctl/ |
H A D | pfctl_parser.h | 41 #define PF_OPT_DISABLE 0x00001 42 #define PF_OPT_ENABLE 0x00002 43 #define PF_OPT_VERBOSE 0x00004 44 #define PF_OPT_NOACTION 0x00008 45 #define PF_OPT_QUIET 0x00010 46 #define PF_OPT_CLRRULECTRS 0x00020 47 #define PF_OPT_USEDNS 0x00040 48 #define PF_OPT_VERBOSE2 0x00080 49 #define PF_OPT_DUMMYACTION 0x00100 50 #define PF_OPT_DEBUG 0x00200 [all …]
|
/freebsd/sys/sys/ |
H A D | tty.h | 68 #define TF_NOPREFIX 0x00001 /* Don't prepend "tty" to device name. */ 69 #define TF_INITLOCK 0x00002 /* Create init/lock state devices. */ 70 #define TF_CALLOUT 0x00004 /* Create "cua" devices. */ 71 #define TF_OPENED_IN 0x00008 /* "tty" node is in use. */ 72 #define TF_OPENED_OUT 0x00010 /* "cua" node is in use. */ 73 #define TF_OPENED_CONS 0x00020 /* Device in use as console. */ 75 #define TF_GONE 0x00040 /* Device node is gone. */ 76 #define TF_OPENCLOSE 0x00080 /* Device is in open()/close(). */ 77 #define TF_ASYNC 0x00100 /* Asynchronous I/O enabled. */ 78 #define TF_LITERAL 0x00200 /* Accept the next character literally. */ [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_iso9660_filename.c | 44 archive_entry_set_size(ae, 0); in add_entry() 58 #define UPPER_CASE_ONLY 0x00001 59 #define ONE_DOT 0x00002 60 #define ALLOW_LDOT 0x00004 78 assertEqualIntA(a, 0, archive_read_next_header(a, &ae)); in verify_file() 84 assertEqualInt(0, archive_entry_birthtime_is_set(ae)); in verify_file() 93 assertEqualInt(0, archive_entry_size(ae)); in verify_file() 98 for (i = 0; i < fns->cnt; i++) { in verify_file() 110 assert(strcmp(fns->names[i], pathname) != 0); in verify_file() 132 if ((fns->opt & ALLOW_LDOT) == 0) in verify_file() [all …]
|
/freebsd/lib/libc/db/btree/ |
H A D | btree.h | 47 * Page 0 of a btree file contains a copy of the meta-data. This page is also 49 * to page 0. Page 1 is the root of the btree. 51 #define P_INVALID 0 /* Invalid tree page number. */ 52 #define P_META 0 /* Tree metadata page number. */ 68 #define P_BINTERNAL 0x01 /* btree internal page */ 69 #define P_BLEAF 0x02 /* leaf page */ 70 #define P_OVERFLOW 0x04 /* overflow page */ 71 #define P_RINTERNAL 0x08 /* recno internal page */ 72 #define P_RLEAF 0x10 /* leaf page */ 73 #define P_TYPE 0x1f /* type mask */ [all …]
|
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/ |
H A D | btree.h | 51 * Page 0 of a btree file contains a copy of the meta-data. This page is also 53 * to page 0. Page 1 is the root of the btree. 55 #define P_INVALID 0 /* Invalid tree page number. */ 56 #define P_META 0 /* Tree metadata page number. */ 72 #define P_BINTERNAL 0x01 /* btree internal page */ 73 #define P_BLEAF 0x02 /* leaf page */ 74 #define P_OVERFLOW 0x04 /* overflow page */ 75 #define P_RINTERNAL 0x08 /* recno internal page */ 76 #define P_RLEAF 0x10 /* leaf page */ 77 #define P_TYPE 0x1f /* type mask */ [all …]
|
/freebsd/sys/dev/rtwn/rtl8192c/ |
H A D | r92c_priv.h | 41 #define R92C_COND_RTL8188CE 0x01 42 #define R92C_COND_RTL8188CU 0x02 43 #define R92C_COND_RTL8188RU 0x04 44 #define R92C_COND_RTL8192CE 0x08 45 #define R92C_COND_RTL8192CU 0x10 51 0xd04 53 0xd08, 0xd0c, 0xd10, 0xd14, 0xd18, 0xd2c, 0xd30, 0xd34, 0xd38, 54 0xd3c, 0xd40, 0xd44, 0xd48, 0xd4c, 0xd50, 0xd54, 0xd58, 0xd5c, 55 0xd60, 0xd64, 0xd68, 0xd6c, 0xd70, 0xd74, 0xd78, 0xe00, 0xe04, 56 0xe08, 0xe10, 0xe14, 0xe18, 0xe1c, 0xe28, 0xe30, 0xe34, 0xe38, [all …]
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic79xx.h | 68 #define FALSE 0 73 #define ALL_CHANNELS '\0' 74 #define ALL_TARGETS_MASK 0xFFFF 75 #define INITIATOR_WILDCARD (~0) 76 #define SCB_LIST_NULL 0xFF00 78 #define QOUTFIFO_ENTRY_VALID 0x80 79 #define SCBID_IS_NULL(scbid) (((scbid) & 0xFF00 ) == SCB_LIST_NULL) 86 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) 98 (0x01 << (SCB_GET_TARGET_OFFSET(ahd, scb))) 101 ((ahd_debug & AHD_SHOW_MASKED_ERRORS) == 0 \ [all...] |
H A D | aic7xxx.h | 69 #define FALSE 0 74 #define ALL_CHANNELS '\0' 75 #define ALL_TARGETS_MASK 0xFFFF 76 #define INITIATOR_WILDCARD (~0) 79 (((scsiid) & ((((ahc)->features & AHC_TWIN) != 0) ? TWIN_TID : TID)) \ 84 ((((ahc)->features & AHC_TWIN) != 0) \ 85 ? ((((scsiid) & TWIN_CHNLB) != 0) ? 'B' : 'A') \ 98 (SCB_GET_TARGET(ahc, scb) + (SCB_IS_SCSIBUS_B(ahc, scb) ? 8 : 0)) 100 (0x01 << (SCB_GET_TARGET_OFFSET(ahc, scb))) 103 ((ahc_debug & AHC_SHOW_MASKED_ERRORS) == 0 \ [all...] |
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_nat.h | 16 # define SOLARIS 0 75 #define NAT_HW_CKSUM 0x80000000 76 #define NAT_HW_CKSUM_PART 0x40000000 126 int nat_rev; /* 0 = forward, 1 = reverse */ 128 int nat_v[2]; /* 0 = old, 1 = new */ 157 #define NAT_INBOUND 0 167 #define NAT_TCP 0x0001 /* IPN_TCP */ 168 #define NAT_UDP 0x0002 /* IPN_UDP */ 169 #define NAT_ICMPERR 0x0004 /* IPN_ICMPERR */ 170 #define NAT_ICMPQUERY 0x0008 /* IPN_ICMPQUERY */ [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfs_context.h | 133 #define unlikely(x) __builtin_expect((x), 0) 143 #define CE_CONT 0 /* continuation */ 158 __attribute__((format(printf, 2, 0))); 162 __attribute__((format(printf, 1, 0), noreturn)); 224 #define TS_RUN 0x00000002 225 #define TS_JOINABLE 0x00000004 258 #define kpreempt_disable() ((void)0) 259 #define kpreempt_enable() ((void)0) 269 #define MUTEX_DEFAULT 0 295 #define RW_READER 0 [all …]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | ks_p11.c | 139 memset(&mechanism, 0, sizeof(mechanism)); in p11_rsa_private_encrypt() 177 memset(&mechanism, 0, sizeof(mechanism)); in p11_rsa_private_decrypt() 225 new_method = RSA_meth_new("hx509 PKCS11 PKCS#1 RSA", 0); in get_p11_rsa_pkcs1_method() 273 hx509_set_error_string(context, 0, HX509_PKCS11_NO_MECH, in p11_mech_info() 278 if (i == 0) { in p11_mech_info() 279 hx509_set_error_string(context, 0, HX509_PKCS11_NO_MECH, in p11_mech_info() 283 slot->mechs.list = calloc(i, sizeof(slot->mechs.list[0])); in p11_mech_info() 285 hx509_set_error_string(context, 0, ENOMEM, in p11_mech_info() 292 hx509_set_error_string(context, 0, HX509_PKCS11_NO_MECH, in p11_mech_info() 301 hx509_set_error_string(context, 0, ENOMEM, in p11_mech_info() [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_ioctl.h | 233 uint32_t is_mesh_fwd_ttl; /* mesh not fwd'd 'cuz ttl 0 */ 291 #define IEEE80211_KEY_DEFAULT 0x80 /* default xmit key */ 331 IEEE80211_MACCMD_POLICY_OPEN = 0, /* set policy: no ACL's */ 349 IEEE80211_MESH_RTCMD_LIST = 0, /* list HWMP routing table */ 357 #define IEEE80211_MESHRT_FLAGS_DISCOVER 0x01 358 #define IEEE80211_MESHRT_FLAGS_VALID 0x02 359 #define IEEE80211_MESHRT_FLAGS_PROXY 0x04 360 #define IEEE80211_MESHRT_FLAGS_GATE 0x08 374 IEEE80211_HWMP_ROOTMODE_DISABLED = 0, /* disabled */ 497 #define IEEE80211_WMEPARAM_SELF 0x0000 /* parameter applies to self */ [all …]
|
/freebsd/sys/contrib/v4l/ |
H A D | videodev2.h | 116 V4L2_FIELD_ANY = 0, /* driver can choose from none, 169 V4L2_BUF_TYPE_PRIVATE = 0x80, 213 * unspecified chromaticities and full 0-255 on each of the 223 V4L2_PRIORITY_UNSET = 0, /* not initialized */ 255 #define V4L2_CAP_VIDEO_CAPTURE 0x00000001 /* Is a video capture device */ 256 #define V4L2_CAP_VIDEO_OUTPUT 0x00000002 /* Is a video output device */ 257 #define V4L2_CAP_VIDEO_OVERLAY 0x00000004 /* Can do video overlay */ 258 #define V4L2_CAP_VBI_CAPTURE 0x00000010 /* Is a raw VBI capture device */ 259 #define V4L2_CAP_VBI_OUTPUT 0x00000020 /* Is a raw VBI output device */ 260 #define V4L2_CAP_SLICED_VBI_CAPTURE 0x00000040 /* Is a sliced VBI capture device */ [all …]
|