Home
last modified time | relevance | path

Searched full:typ (Results 1 – 25 of 110) sorted by relevance

12345

/freebsd/sys/dev/mlx5/
H A Ddevice.h47 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) argument
48 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
49 #define __mlx5_bit_off(typ, fld) __offsetof(struct mlx5_ifc_##typ##_bits, 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
55 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument
56 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp20 AccessType typ) { in TryTraceMemoryAccess() argument
32 ev->is_read = !!(typ & kAccessRead); in TryTraceMemoryAccess()
33 ev->is_atomic = !!(typ & kAccessAtomic); in TryTraceMemoryAccess()
45 evex->is_read = !!(typ & kAccessRead); in TryTraceMemoryAccess()
46 evex->is_atomic = !!(typ & kAccessAtomic); in TryTraceMemoryAccess()
58 AccessType typ) { in TryTraceMemoryAccessRange() argument
68 ev->is_read = !!(typ & kAccessRead); in TryTraceMemoryAccessRange()
69 ev->is_free = !!(typ & kAccessFree); in TryTraceMemoryAccessRange()
79 AccessType typ) { in TraceMemoryAccessRange() argument
80 if (LIKELY(TryTraceMemoryAccessRange(thr, pc, addr, size, typ))) in TraceMemoryAccessRange()
[all …]
H A Dtsan_shadow.h61 Shadow(FastState state, u32 addr, u32 size, AccessType typ) { in Shadow() argument
67 raw_ |= (!!(typ & kAccessAtomic) << kIsAtomicShift) | in Shadow()
68 (!!(typ & kAccessRead) << kIsReadShift) | in Shadow()
72 DCHECK_EQ(part_.is_read_, !!(typ & kAccessRead)); in Shadow()
84 void GetAccess(uptr *addr, uptr *size, AccessType *typ) const { in GetAccess() argument
91 if (typ) { in GetAccess()
92 *typ = part_.is_read_ ? kAccessRead : kAccessWrite; in GetAccess()
94 *typ |= kAccessAtomic; in GetAccess()
96 *typ |= kAccessFree; in GetAccess()
101 bool IsBothReadsOrAtomic(AccessType typ) const { in IsBothReadsOrAtomic() argument
[all …]
H A Dtsan_rtl_report.cpp130 bool ShouldReport(ThreadState *thr, ReportType typ) { in ShouldReport() argument
140 switch (typ) { in ShouldReport()
158 ScopedReportBase::ScopedReportBase(ReportType typ, uptr tag) { in ScopedReportBase() argument
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()
346 ScopedReport::ScopedReport(ReportType typ, uptr tag) in ScopedReport() argument
347 : ScopedReportBase(typ, tag) {} in ScopedReport()
[all …]
H A Dtsan_suppressions.cpp68 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 Dtsan_report.cpp62 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 FrameIsInternal()
291 if (rep->typ == ReportTypeErrnoInSignal) in SkipTsanInternalFrames()
294 if (rep->typ == ReportTypeDeadlock) { in SkipTsanInternalFrames()
341 if (rep->typ != ReportTypeDeadlock) { in PrintReport()
349 if (rep->typ == ReportTypeThreadLeak && rep->count > 1) in PrintReport()
431 if (rep->typ == ReportTypeRace) { in PrintLocation()
439 } else if (rep->typ == ReportTypeDeadlock) { in PrintThread()
/freebsd/contrib/ncurses/form/
H A Dfld_def.c74 | const FIELDTYPE *typ,
86 _nc_Make_Argument(const FIELDTYPE *typ, va_list *ap, int *err) in _nc_Make_Argument() argument
90 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Make_Argument()
93 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Make_Argument()
99 p->left = _nc_Make_Argument(typ->left, ap, err); in _nc_Make_Argument()
100 p->right = _nc_Make_Argument(typ->right, ap, err); in _nc_Make_Argument()
110 assert(typ->makearg != (void *)0); in _nc_Make_Argument()
111 if (!(res = (TypeArgument *)typ->makearg(ap))) in _nc_Make_Argument()
122 | Function : TypeArgument *_nc_Copy_Argument(const FIELDTYPE *typ,
133 _nc_Copy_Argument(const FIELDTYPE *typ, const TypeArgument *argp, int *err) in _nc_Copy_Argument() argument
[all …]
H A Dfld_newftyp.c116 | Function : int free_fieldtype(FIELDTYPE *typ)
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()
[all …]
H A Dfld_ftchoice.c41 | FIELDTYPE *typ,
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 Dfld_arg.c41 | FIELDTYPE *typ,
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 Dfty_generic.c152 | const FIELDTYPE* typ,
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 Dfrm_hook.c39 #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 );\
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DDynamicLibrary.inc161 #define INLINE_DEF_SYMBOL1(TYP, SYM) \
162 extern "C" TYP inline_##SYM(TYP _X) { return SYM(_X); }
163 #define INLINE_DEF_SYMBOL2(TYP, SYM) \
164 extern "C" TYP inline_##SYM(TYP _X, TYP _Y) { return SYM(_X, _Y); }
184 #define INLINE_DEF_SYMBOL1(TYP, SYM) \
187 #define INLINE_DEF_SYMBOL2(TYP, SYM) INLINE_DEF_SYMBOL1(TYP, SYM)
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Dciphercommon.h131 blkbits, ivbits, typ) \
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) \
166 { OSSL_FUNC_CIPHER_UPDATE, (void (*)(void))ossl_cipher_generic_##typ##_update },\
167 { OSSL_FUNC_CIPHER_FINAL, (void (*)(void))ossl_cipher_generic_##typ##_final }, \
186 kbits, blkbits, ivbits, typ) \
208 blkbits, ivbits, typ) \
210 blkbits, ivbits, typ) \
212 blkbits, ivbits, typ)
130 IMPLEMENT_generic_cipher_func(alg,UCALG,lcmode,UCMODE,flags,kbits,blkbits,ivbits,typ) global() argument
157 IMPLEMENT_var_keylen_cipher_func(alg,UCALG,lcmode,UCMODE,flags,kbits,blkbits,ivbits,typ) global() argument
185 IMPLEMENT_generic_cipher_genfn(alg,UCALG,lcmode,UCMODE,flags,kbits,blkbits,ivbits,typ) global() argument
207 IMPLEMENT_generic_cipher(alg,UCALG,lcmode,UCMODE,flags,kbits,blkbits,ivbits,typ) global() argument
214 IMPLEMENT_var_keylen_cipher(alg,UCALG,lcmode,UCMODE,flags,kbits,blkbits,ivbits,typ) global() argument
[all...]
/freebsd/sys/contrib/openzfs/contrib/dracut/02zfsexpandknowledge/
H A Dmodule-setup.sh.in4 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/sys/contrib/device-tree/Bindings/display/panel/
H A Dpanel-timing.yaml57 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/sys/dev/mlx5/mlx5_core/
H A Dmlx5_qp.c212 #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/sys/contrib/device-tree/include/dt-bindings/pinctrl/
H A Dsppctl.h26 * pin# (8bit), typ (8bit), function (8bit), flag (8bit)
28 #define SPPCTL_IOPAD(pin, typ, fun, flg) (((pin) << 24) | ((typ) << 16) | \ argument
/freebsd/contrib/ncurses/menu/
H A Dm_hook.c44 #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/sbin/init/
H A Dinit.c855 struct ttyent *typ; in single_user() local
894 typ = getttynam("console"); in single_user()
896 if (typ && (typ->ty_status & TTY_SECURE) == 0 && in single_user()
1296 new_session(session_t *sprev, struct ttyent *typ) in new_session() argument
1300 if ((typ->ty_status & TTY_ON) == 0 || in new_session()
1301 typ->ty_name == 0 || in new_session()
1302 typ->ty_getty == 0) in new_session()
1309 if ((typ->ty_status & TTY_IFEXISTS) != 0) in new_session()
1312 if ((typ->ty_status & TTY_IFCONSOLE) != 0) in new_session()
1315 if (asprintf(&sp->se_device, "%s%s", _PATH_DEV, typ->ty_name) < 0) in new_session()
[all …]
/freebsd/crypto/openssl/crypto/asn1/
H A Dtasn_new.c264 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/crypto/openssl/apps/
H A Dasn1parse.c234 int typ; in asn1parse_main() local
252 typ = ASN1_TYPE_get(at); in asn1parse_main()
253 if ((typ == V_ASN1_OBJECT) in asn1parse_main()
254 || (typ == V_ASN1_BOOLEAN) in asn1parse_main()
255 || (typ == V_ASN1_NULL)) { in asn1parse_main()
256 BIO_printf(bio_err, "Can't parse %s type\n", ASN1_tag2str(typ)); in asn1parse_main()
/freebsd/tools/test/stress2/misc/
H A Dsetsockopt2.sh103 int domain, fd, i, one, prot, success, typ;
119 typ = arc4random() % 10;
124 if ((fd = socket(domain, typ, prot)) == -1)
133 fd = socket(domain, typ, prot);
150 fd = socket(domain, typ, prot);
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_warc.c56 mode_t typ;
143 w->typ = 0; in archive_write_set_format_warc()
228 w->typ = archive_entry_filetype(entry); in _warc_header()
230 if (w->typ == AE_IFREG) { in _warc_header()
274 if (w->typ == AE_IFREG) { in _warc_data()
297 if (w->typ == AE_IFREG) { in _warc_finish_entry()
305 w->typ = 0; in _warc_finish_entry()
57 mode_t typ; global() member
/freebsd/crypto/openssl/providers/implementations/digests/
H A Dsha3_prov.c192 # define SHA3_SET_MD(uname, typ) \ argument
195 ctx->meth = typ##_s390x_md; \
200 # define SHA3_SET_MD(uname, typ) ctx->meth = sha3_generic_md; argument
203 #define SHA3_newctx(typ, uname, name, bitlen, pad) \ argument
213 SHA3_SET_MD(uname, typ) \

12345