| /freebsd-14.2/sys/dev/mlx5/ |
| H A D | device.h | 47 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) argument 48 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument 50 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) argument 51 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument 52 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument 53 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf… argument 54 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument 56 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument 58 #define __mlx5_16_mask(typ, fld) (__mlx5_mask16(typ, fld) << __mlx5_16_bit_off(typ, fld)) argument 67 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8) argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_access.cpp | 32 ev->is_read = !!(typ & kAccessRead); in TryTraceMemoryAccess() 45 evex->is_read = !!(typ & kAccessRead); in TryTraceMemoryAccess() 68 ev->is_read = !!(typ & kAccessRead); in TryTraceMemoryAccessRange() 69 ev->is_free = !!(typ & kAccessFree); in TryTraceMemoryAccessRange() 164 if (typ & kAccessSlotLocked) in DoReportRace() 167 if (typ & kAccessSlotLocked) in DoReportRace() 177 if (!(typ & kAccessRead)) { in ContainsSameAccess() 247 if (!(typ & kAccessRead)) { in ContainsSameAccess() 326 if (typ & kAccessCheckOnly) in CheckRaces() 395 AccessType typ; in DumpShadow() local [all …]
|
| H A D | tsan_shadow.h | 68 (!!(typ & kAccessRead) << kIsReadShift) | in Shadow() 72 DCHECK_EQ(part_.is_read_, !!(typ & kAccessRead)); in Shadow() 91 if (typ) { in GetAccess() 94 *typ |= kAccessAtomic; in GetAccess() 96 *typ |= kAccessFree; in GetAccess() 101 bool IsBothReadsOrAtomic(AccessType typ) const { in IsBothReadsOrAtomic() argument 102 u32 is_read = !!(typ & kAccessRead); in IsBothReadsOrAtomic() 103 u32 is_atomic = !!(typ & kAccessAtomic); in IsBothReadsOrAtomic() 112 bool IsRWWeakerOrEqual(AccessType typ) const { in IsRWWeakerOrEqual() argument 113 u32 is_read = !!(typ & kAccessRead); in IsRWWeakerOrEqual() [all …]
|
| H A D | tsan_suppressions.cpp | 68 static const char *conv(ReportType typ) { in conv() argument 69 switch (typ) { in conv() 108 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp) { in IsSuppressed() argument 113 const char *stype = conv(typ); in IsSuppressed() 127 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp) { in IsSuppressed() argument 132 const char *stype = conv(typ); in IsSuppressed()
|
| H A D | tsan_rtl_report.cpp | 140 switch (typ) { in ShouldReport() 161 rep_->typ = typ; in ScopedReportBase() 181 AccessType typ; in AddMemoryAccess() local 182 s.GetAccess(&addr0, &size, &typ); in AddMemoryAccess() 188 mop->write = !(typ & kAccessRead); in AddMemoryAccess() 189 mop->atomic = typ & kAccessAtomic; in AddMemoryAccess() 347 : ScopedReportBase(typ, tag) {} in ScopedReport() 440 static_cast<int>(typ)); in RestoreStack() 481 bool is_read = typ & kAccessRead; in RestoreStack() 482 bool is_atomic = typ & kAccessAtomic; in RestoreStack() [all …]
|
| H A D | tsan_report.cpp | 62 static const char *ReportTypeString(ReportType typ, uptr tag) { in ReportTypeString() argument 63 switch (typ) { in ReportTypeString() 285 const char *rep_typ_str = ReportTypeString(rep->typ, rep->tag); in PrintReport() 291 if (rep->typ == ReportTypeErrnoInSignal) in PrintReport() 294 if (rep->typ == ReportTypeDeadlock) { in PrintReport() 341 if (rep->typ != ReportTypeDeadlock) { in PrintReport() 349 if (rep->typ == ReportTypeThreadLeak && rep->count > 1) in PrintReport() 431 if (rep->typ == ReportTypeRace) { in PrintReport() 439 } else if (rep->typ == ReportTypeDeadlock) { in PrintReport()
|
| /freebsd-14.2/contrib/ncurses/form/ |
| H A D | fld_def.c | 90 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Make_Argument() 93 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Make_Argument() 110 assert(typ->makearg != (void *)0); in _nc_Make_Argument() 137 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Copy_Argument() 140 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Copy_Argument() 154 if (typ->copyarg != (void *)0) in _nc_Copy_Argument() 183 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Free_Argument() 185 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Free_Argument() 189 _nc_Free_Argument(typ->left, argp->left); in _nc_Free_Argument() 196 if (typ->freearg != (void *)0) in _nc_Free_Argument() [all …]
|
| H A D | fld_newftyp.c | 125 free_fieldtype(FIELDTYPE *typ) in free_fieldtype() argument 127 T((T_CALLED("free_fieldtype(%p)"), (void *)typ)); in free_fieldtype() 129 if (!typ) in free_fieldtype() 132 if (typ->ref != 0) in free_fieldtype() 135 if (typ->status & _RESIDENT) in free_fieldtype() 138 if (typ->status & _LINKED_TYPE) in free_fieldtype() 140 if (typ->left) in free_fieldtype() 141 typ->left->ref--; in free_fieldtype() 142 if (typ->right) in free_fieldtype() 143 typ->right->ref--; in free_fieldtype() [all …]
|
| H A D | fld_ftchoice.c | 51 set_fieldtype_choice(FIELDTYPE *typ, in FORM_EXPORT() 58 (void *)typ, in FORM_EXPORT() 62 if (!typ || !next_choice || !prev_choice) in FORM_EXPORT() 65 SetStatus(typ, _HAS_CHOICE); in FORM_EXPORT() 67 typ->enum_next.onext = next_choice; in FORM_EXPORT() 68 typ->enum_prev.oprev = prev_choice; in FORM_EXPORT() 70 typ->next = next_choice; in FORM_EXPORT() 71 typ->prev = prev_choice; in FORM_EXPORT()
|
| H A D | frm_hook.c | 39 #define GEN_HOOK_SET_FUNCTION( typ, name ) \ argument 40 FORM_IMPEXP int NCURSES_API set_ ## typ ## _ ## name (FORM *form, Form_Hook func)\ 43 T((T_CALLED("set_" #typ"_"#name"(%p,%s)"), (void *) form, TR_FUNC_ARG(0, func)));\ 44 (Normalize_Form( form ) -> typ ## name) = func ;\ 49 #define GEN_HOOK_GET_FUNCTION( typ, name ) \ argument 50 FORM_IMPEXP Form_Hook NCURSES_API typ ## _ ## name ( const FORM *form )\ 52 T((T_CALLED(#typ "_" #name "(%p)"), (const void *) form));\ 53 returnFormHook( Normalize_Form( form ) -> typ ## name );\
|
| H A D | fld_arg.c | 65 set_fieldtype_arg(FIELDTYPE *typ, in FORM_EXPORT() 73 (void *)typ, in FORM_EXPORT() 78 if (typ != 0 && make_arg != (void *)0) in FORM_EXPORT() 80 SetStatus(typ, _HAS_ARGS); in FORM_EXPORT() 81 typ->makearg = make_arg; in FORM_EXPORT() 82 typ->copyarg = copy_arg; in FORM_EXPORT() 83 typ->freearg = free_arg; in FORM_EXPORT()
|
| H A D | fty_generic.c | 168 GenericArgument(const FIELDTYPE *typ, in GenericArgument() argument 173 if (typ != 0 && (typ->status & _HAS_ARGS) != 0 && err != 0 && argiterator != 0) in GenericArgument() 175 if (typ->status & _LINKED_TYPE) in GenericArgument() 182 p->left = GenericArgument(typ->left, argiterator, err); in GenericArgument() 183 p->right = GenericArgument(typ->right, argiterator, err); in GenericArgument() 191 assert(typ->genericarg != (void *)0); in GenericArgument() 192 if (typ->genericarg == 0) in GenericArgument() 200 !(res = (TypeArgument *)typ->genericarg(argp))) in GenericArgument()
|
| H A D | frm_driver.c | 1093 FIELDTYPE *typ, in Check_Char() argument 1097 if (typ) in Check_Char() 1109 if (typ->charcheck.occheck) in Check_Char() 1117 if (typ->ccheck) in Check_Char() 3044 if (!typ || !(typ->status & _HAS_CHOICE)) in Next_Choice() 3063 assert(typ->next); in Next_Choice() 3085 if (!typ || !(typ->status & _HAS_CHOICE)) in Previous_Choice() 3104 assert(typ->prev); in Previous_Choice() 3183 if (typ) in Check_Field() 3208 if (typ->fieldcheck.ofcheck) in Check_Field() [all …]
|
| /freebsd-14.2/contrib/ncurses/menu/ |
| H A D | m_hook.c | 44 #define GEN_HOOK_SET_FUNCTION( typ, name ) \ argument 45 MENU_EXPORT(int) NCURSES_API set_ ## typ ## _ ## name (MENU *menu, Menu_Hook func )\ 48 T((T_CALLED("set_" #typ "_" #name "(%p,%s)"), (void *) menu, TR_FUNC_ARG(0, func)));\ 49 (Normalize_Menu(menu) -> typ ## name = func );\ 54 #define GEN_HOOK_GET_FUNCTION( typ, name ) \ argument 55 MENU_EXPORT(Menu_Hook) NCURSES_API typ ## _ ## name ( const MENU *menu )\ 57 T((T_CALLED(#typ "_" #name "(%p)"), (const void *) menu));\ 58 returnMenuHook(Normalize_Menu(menu) -> typ ## name);\
|
| /freebsd-14.2/crypto/openssl/providers/implementations/include/prov/ |
| H A D | ciphercommon.h | 131 blkbits, ivbits, typ) \ argument 139 { OSSL_FUNC_CIPHER_UPDATE, (void (*)(void))ossl_cipher_generic_##typ##_update },\ 140 { OSSL_FUNC_CIPHER_FINAL, (void (*)(void))ossl_cipher_generic_##typ##_final }, \ 158 kbits, blkbits, ivbits, typ) \ argument 186 kbits, blkbits, ivbits, typ) \ argument 208 blkbits, ivbits, typ) \ argument 210 blkbits, ivbits, typ) \ 212 blkbits, ivbits, typ) 215 blkbits, ivbits, typ) \ argument 217 blkbits, ivbits, typ) \ [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/contrib/dracut/02zfsexpandknowledge/ |
| H A D | module-setup.sh.in | 4 local typ 5 typ=$(udevadm info --query=property --name="$1" | sed -n 's|^ID_FS_TYPE=||p') 6 if [[ -z "$typ" ]] ; then 7 typ=$(blkid -c /dev/null "$1" -o value -s TYPE) 9 echo "$typ"
|
| /freebsd-14.2/sbin/init/ |
| H A D | init.c | 867 struct ttyent *typ; in single_user() local 908 if (typ && (typ->ty_status & TTY_SECURE) == 0 && in single_user() 1313 typ->ty_name == 0 || in new_session() 1314 typ->ty_getty == 0) in new_session() 1359 if (asprintf(&sp->se_getty, "%s %s", typ->ty_getty, typ->ty_name) < 0) in setupargv() 1377 if (typ->ty_window) { in setupargv() 1392 sp->se_type = typ->ty_type ? strdup(typ->ty_type) : 0; in setupargv() 1403 struct ttyent *typ; in read_ttys() local 1766 struct ttyent *typ; in clean_ttys() local 1788 typ->ty_getty == 0) { in clean_ttys() [all …]
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | setsockopt2.sh | 102 int domain, fd, i, one, prot, success, typ; 118 typ = arc4random() % 10; 123 if ((fd = socket(domain, typ, prot)) == -1) 132 fd = socket(domain, typ, prot); 149 fd = socket(domain, typ, prot);
|
| /freebsd-14.2/contrib/libarchive/libarchive/ |
| H A D | archive_write_set_format_warc.c | 56 mode_t typ; member 142 w->typ = 0; in archive_write_set_format_warc() 226 w->typ = archive_entry_filetype(entry); in _warc_header() 228 if (w->typ == AE_IFREG) { in _warc_header() 272 if (w->typ == AE_IFREG) { in _warc_data() 295 if (w->typ == AE_IFREG) { in _warc_finish_entry() 303 w->typ = 0; in _warc_finish_entry()
|
| /freebsd-14.2/contrib/ntp/sntp/libopts/ |
| H A D | configfile.c | 1239 parse_keyword(tOptions * opts, char const * txt, tOptionValue * typ) in parse_keyword() argument 1242 (void)typ; in parse_keyword() 1261 (void)typ; in parse_set_mem() 1275 parse_value(char const * txt, tOptionValue * typ) in parse_value() argument 1286 typ->valType = OPARG_TYPE_NONE; in parse_value() 1301 typ->valType = OPARG_TYPE_STRING; in parse_value() 1305 typ->valType = OPARG_TYPE_NUMERIC; in parse_value() 1310 typ->valType = OPARG_TYPE_BOOLEAN; in parse_value() 1314 typ->valType = OPARG_TYPE_ENUMERATION; in parse_value() 1319 typ->valType = OPARG_TYPE_MEMBERSHIP; in parse_value() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/display/panel/ |
| H A D | panel-timing.yaml | 57 of min, typ, max values. 82 description: min, typ, max number of pixels 94 description: min, typ, max number of pixels 106 description: min, typ, max number of pixels 118 description: min, typ, max number of lines 130 description: min, typ, max number of lines 142 description: min, typ, max number of lines
|
| /freebsd-14.2/crypto/openssl/crypto/asn1/ |
| H A D | tasn_new.c | 264 ASN1_TYPE *typ; in asn1_primitive_new() local 301 if ((typ = OPENSSL_malloc(sizeof(*typ))) == NULL) { in asn1_primitive_new() 305 typ->value.ptr = NULL; in asn1_primitive_new() 306 typ->type = -1; in asn1_primitive_new() 307 *pval = (ASN1_VALUE *)typ; in asn1_primitive_new()
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_qp.c | 212 #define MBOX_ALLOC(mbox, typ) \ in modify_qp_mbox_alloc() argument 213 mbox_alloc(mbox, MLX5_ST_SZ_BYTES(typ##_in), MLX5_ST_SZ_BYTES(typ##_out)) in modify_qp_mbox_alloc() 215 #define MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid) \ in modify_qp_mbox_alloc() argument 217 MLX5_SET(typ##_in, in, opcode, _opcode); \ in modify_qp_mbox_alloc() 218 MLX5_SET(typ##_in, in, qpn, _qpn); \ in modify_qp_mbox_alloc() 219 MLX5_SET(typ##_in, in, uid, _uid); \ in modify_qp_mbox_alloc() 222 #define MOD_QP_IN_SET_QPC(typ, in, _opcode, _qpn, _opt_p, _qpc, _uid) \ in modify_qp_mbox_alloc() argument 224 MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid); \ in modify_qp_mbox_alloc() 225 MLX5_SET(typ##_in, in, opt_param_mask, _opt_p); \ in modify_qp_mbox_alloc() 226 memcpy(MLX5_ADDR_OF(typ##_in, in, qpc), _qpc, \ in modify_qp_mbox_alloc()
|
| /freebsd-14.2/crypto/openssl/apps/ |
| H A D | asn1parse.c | 235 int typ; in asn1parse_main() local 253 typ = ASN1_TYPE_get(at); in asn1parse_main() 254 if ((typ == V_ASN1_OBJECT) in asn1parse_main() 255 || (typ == V_ASN1_BOOLEAN) in asn1parse_main() 256 || (typ == V_ASN1_NULL)) { in asn1parse_main() 257 BIO_printf(bio_err, "Can't parse %s type\n", ASN1_tag2str(typ)); in asn1parse_main()
|
| /freebsd-14.2/sys/contrib/device-tree/include/dt-bindings/pinctrl/ |
| H A D | sppctl.h | 28 #define SPPCTL_IOPAD(pin, typ, fun, flg) (((pin) << 24) | ((typ) << 16) | \ argument
|