Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 25 of 68) sorted by relevance

123

/freebsd-13.1/sys/dev/mlx5/
H A Ddevice.h49 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) argument
50 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
52 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) argument
53 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument
54 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument
55 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf… argument
56 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument
58 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
60 #define __mlx5_16_mask(typ, fld) (__mlx5_mask16(typ, fld) << __mlx5_16_bit_off(typ, fld)) argument
69 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8) argument
[all …]
/freebsd-13.1/contrib/ncurses/form/
H A Dfld_def.c91 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Make_Argument()
94 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Make_Argument()
111 assert(typ->makearg != (void *)0); in _nc_Make_Argument()
139 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Copy_Argument()
142 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Copy_Argument()
156 if (typ->copyarg != (void *)0) in _nc_Copy_Argument()
185 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Free_Argument()
187 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Free_Argument()
191 _nc_Free_Argument(typ->left, argp->left); in _nc_Free_Argument()
198 if (typ->freearg != (void *)0) in _nc_Free_Argument()
[all …]
H A Dfld_newftyp.c125 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 Dfld_ftchoice.c51 set_fieldtype_choice(FIELDTYPE *typ, in NCURSES_EXPORT()
58 (void *)typ, in NCURSES_EXPORT()
62 if (!typ || !next_choice || !prev_choice) in NCURSES_EXPORT()
65 SetStatus(typ, _HAS_CHOICE); in NCURSES_EXPORT()
67 typ->enum_next.onext = next_choice; in NCURSES_EXPORT()
68 typ->enum_prev.oprev = prev_choice; in NCURSES_EXPORT()
70 typ->next = next_choice; in NCURSES_EXPORT()
71 typ->prev = prev_choice; in NCURSES_EXPORT()
H A Dfrm_hook.c39 #define GEN_HOOK_SET_FUNCTION( typ, name ) \ argument
40 NCURSES_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 NCURSES_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 Dfld_arg.c65 set_fieldtype_arg(FIELDTYPE *typ, in NCURSES_EXPORT()
73 (void *)typ, in NCURSES_EXPORT()
78 if (typ != 0 && make_arg != (void *)0) in NCURSES_EXPORT()
80 SetStatus(typ, _HAS_ARGS); in NCURSES_EXPORT()
81 typ->makearg = make_arg; in NCURSES_EXPORT()
82 typ->copyarg = copy_arg; in NCURSES_EXPORT()
83 typ->freearg = free_arg; in NCURSES_EXPORT()
H A Dfty_generic.c167 GenericArgument(const FIELDTYPE *typ, in GenericArgument() argument
172 if (typ != 0 && (typ->status & _HAS_ARGS) != 0 && err != 0 && argiterator != 0) in GenericArgument()
174 if (typ->status & _LINKED_TYPE) in GenericArgument()
181 p->left = GenericArgument(typ->left, argiterator, err); in GenericArgument()
182 p->right = GenericArgument(typ->right, argiterator, err); in GenericArgument()
190 assert(typ->genericarg != (void *)0); in GenericArgument()
191 if (typ->genericarg == 0) in GenericArgument()
199 !(res = (TypeArgument *)typ->genericarg(argp))) in GenericArgument()
H A Dfrm_driver.c1090 FIELDTYPE *typ, in Check_Char() argument
1094 if (typ) in Check_Char()
1106 if (typ->charcheck.occheck) in Check_Char()
1114 if (typ->ccheck) in Check_Char()
3039 if (!typ || !(typ->status & _HAS_CHOICE)) in Next_Choice()
3058 assert(typ->next); in Next_Choice()
3080 if (!typ || !(typ->status & _HAS_CHOICE)) in Previous_Choice()
3099 assert(typ->prev); in Previous_Choice()
3178 if (typ) in Check_Field()
3203 if (typ->fieldcheck.ofcheck) in Check_Field()
[all …]
/freebsd-13.1/contrib/ncurses/menu/
H A Dm_hook.c44 #define GEN_HOOK_SET_FUNCTION( typ, name ) \ argument
45 NCURSES_IMPEXP 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 NCURSES_IMPEXP 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-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_report.cpp138 switch (typ) { in ShouldReport()
160 rep_->typ = typ; in ScopedReportBase()
386 : ScopedReportBase(typ, tag) {} in ScopedReport()
422 if (typ == EventTypeMop) { in RestoreStack()
433 if (typ == EventTypeLock) { in RestoreStack()
633 ReportType typ = ReportTypeRace; in ReportRace() local
635 typ = ReportTypeVptrUseAfterFree; in ReportRace()
637 typ = ReportTypeVptrRace; in ReportRace()
639 typ = ReportTypeUseAfterFree; in ReportRace()
689 typ = ReportTypeExternalRace; in ReportRace()
[all …]
H A Dtsan_suppressions.cpp67 static const char *conv(ReportType typ) { in conv() argument
68 switch (typ) { in conv()
106 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp) { in IsSuppressed() argument
111 const char *stype = conv(typ); in IsSuppressed()
125 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp) { in IsSuppressed() argument
130 const char *stype = conv(typ); in IsSuppressed()
H A Dtsan_suppressions.h32 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp);
33 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
H A Dtsan_report.cpp78 static const char *ReportTypeString(ReportType typ, uptr tag) { in ReportTypeString() argument
79 switch (typ) { in ReportTypeString()
320 const char *rep_typ_str = ReportTypeString(rep->typ, rep->tag); in PrintReport()
326 if (rep->typ == ReportTypeDeadlock) { in PrintReport()
373 if (rep->typ != ReportTypeDeadlock) { in PrintReport()
381 if (rep->typ == ReportTypeThreadLeak && rep->count > 1) in PrintReport()
461 if (rep->typ == ReportTypeRace) { in PrintReport()
469 } else if (rep->typ == ReportTypeDeadlock) { in PrintReport()
H A Dtsan_debugging.cpp21 static const char *ReportTypeDescription(ReportType typ) { in ReportTypeDescription() argument
22 switch (typ) { in ReportTypeDescription()
43 static const char *ReportLocationTypeDescription(ReportLocationType typ) { in ReportLocationTypeDescription() argument
44 switch (typ) { in ReportLocationTypeDescription()
78 *description = ReportTypeDescription(rep->typ); in __tsan_get_report_data()
/freebsd-13.1/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-13.1/sbin/init/
H A Dinit.c867 struct ttyent *typ; in single_user() local
906 if (typ && (typ->ty_status & TTY_SECURE) == 0 && in single_user()
1301 typ->ty_name == 0 || in new_session()
1302 typ->ty_getty == 0) in new_session()
1347 if (asprintf(&sp->se_getty, "%s %s", typ->ty_getty, typ->ty_name) < 0) in setupargv()
1365 if (typ->ty_window) { in setupargv()
1380 sp->se_type = typ->ty_type ? strdup(typ->ty_type) : 0; in setupargv()
1391 struct ttyent *typ; in read_ttys() local
1694 struct ttyent *typ; in clean_ttys() local
1716 typ->ty_getty == 0) { in clean_ttys()
[all …]
/freebsd-13.1/contrib/ntp/sntp/libopts/
H A Dconfigfile.c72 parse_value(char const * txt, tOptionValue * typ);
1286 (void)typ; in parse_keyword()
1305 (void)typ; in parse_set_mem()
1319 parse_value(char const * txt, tOptionValue * typ) in parse_value() argument
1330 typ->valType = OPARG_TYPE_NONE; in parse_value()
1345 typ->valType = OPARG_TYPE_STRING; in parse_value()
1349 typ->valType = OPARG_TYPE_NUMERIC; in parse_value()
1354 typ->valType = OPARG_TYPE_BOOLEAN; in parse_value()
1358 typ->valType = OPARG_TYPE_ENUMERATION; in parse_value()
1363 typ->valType = OPARG_TYPE_MEMBERSHIP; in parse_value()
[all …]
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_write_set_format_warc.c57 mode_t typ; member
143 w->typ = 0; in archive_write_set_format_warc()
227 w->typ = archive_entry_filetype(entry); in _warc_header()
229 if (w->typ == AE_IFREG) { in _warc_header()
273 if (w->typ == AE_IFREG) { in _warc_data()
296 if (w->typ == AE_IFREG) { in _warc_finish_entry()
304 w->typ = 0; in _warc_finish_entry()
/freebsd-13.1/crypto/openssl/crypto/asn1/
H A Dtasn_new.c265 ASN1_TYPE *typ; in asn1_primitive_new() local
302 if ((typ = OPENSSL_malloc(sizeof(*typ))) == NULL) { in asn1_primitive_new()
306 typ->value.ptr = NULL; in asn1_primitive_new()
307 typ->type = -1; in asn1_primitive_new()
308 *pval = (ASN1_VALUE *)typ; in asn1_primitive_new()
H A Dtasn_dec.c798 ASN1_TYPE *typ = NULL; in asn1_ex_c2i() local
809 typ = ASN1_TYPE_new(); in asn1_ex_c2i()
810 if (typ == NULL) in asn1_ex_c2i()
812 *pval = (ASN1_VALUE *)typ; in asn1_ex_c2i()
814 typ = (ASN1_TYPE *)*pval; in asn1_ex_c2i()
816 if (utype != typ->type) in asn1_ex_c2i()
817 ASN1_TYPE_set(typ, utype, NULL); in asn1_ex_c2i()
819 pval = &typ->value.asn1_value; in asn1_ex_c2i()
916 if (typ && (utype == V_ASN1_NULL)) in asn1_ex_c2i()
917 typ->value.ptr = NULL; in asn1_ex_c2i()
[all …]
H A Dtasn_fre.c167 ASN1_TYPE *typ = (ASN1_TYPE *)*pval; in asn1_primitive_free() local
169 utype = typ->type; in asn1_primitive_free()
170 pval = &typ->value.asn1_value; in asn1_primitive_free()
/freebsd-13.1/sys/contrib/device-tree/Bindings/display/panel/
H A Dpanel-timing.yaml57 of min, typ, max values.
83 description: min, typ, max number of pixels
96 description: min, typ, max number of pixels
109 description: min, typ, max number of pixels
122 description: min, typ, max number of lines
135 description: min, typ, max number of lines
148 description: min, typ, max number of lines
/freebsd-13.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_qp.c214 #define MBOX_ALLOC(mbox, typ) \ in modify_qp_mbox_alloc() argument
215 mbox_alloc(mbox, MLX5_ST_SZ_BYTES(typ##_in), MLX5_ST_SZ_BYTES(typ##_out)) in modify_qp_mbox_alloc()
217 #define MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid) \ in modify_qp_mbox_alloc() argument
219 MLX5_SET(typ##_in, in, opcode, _opcode); \ in modify_qp_mbox_alloc()
220 MLX5_SET(typ##_in, in, qpn, _qpn); \ in modify_qp_mbox_alloc()
221 MLX5_SET(typ##_in, in, uid, _uid); \ in modify_qp_mbox_alloc()
224 #define MOD_QP_IN_SET_QPC(typ, in, _opcode, _qpn, _opt_p, _qpc, _uid) \ in modify_qp_mbox_alloc() argument
226 MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid); \ in modify_qp_mbox_alloc()
227 MLX5_SET(typ##_in, in, opt_param_mask, _opt_p); \ in modify_qp_mbox_alloc()
228 memcpy(MLX5_ADDR_OF(typ##_in, in, qpc), _qpc, \ in modify_qp_mbox_alloc()
/freebsd-13.1/crypto/openssl/apps/
H A Dasn1pars.c227 int typ; in asn1parse_main() local
245 typ = ASN1_TYPE_get(at); in asn1parse_main()
246 if ((typ == V_ASN1_OBJECT) in asn1parse_main()
247 || (typ == V_ASN1_BOOLEAN) in asn1parse_main()
248 || (typ == V_ASN1_NULL)) { in asn1parse_main()
249 BIO_printf(bio_err, "Can't parse %s type\n", ASN1_tag2str(typ)); in asn1parse_main()
/freebsd-13.1/sys/i386/include/
H A Dmd_var.h79 void setidt(int idx, alias_for_inthand_t *func, int typ, int dpl, int selec);
80 void setidt_nodisp(int idx, uintptr_t func, int typ, int dpl, int selec);

123