Home
last modified time | relevance | path

Searched refs:context (Results 1 – 10 of 10) sorted by relevance

/lib/
Dbitfield_kunit.c16 KUNIT_ASSERT_FALSE_MSG(context, _res != res, \
19 KUNIT_ASSERT_FALSE(context, \
29 KUNIT_ASSERT_FALSE_MSG(context, \
34 KUNIT_ASSERT_FALSE(context, \
44 KUNIT_ASSERT_FALSE_MSG(context, \
49 KUNIT_ASSERT_FALSE(context, \
60 static void __init test_bitfields_constants(struct kunit *context) in test_bitfields_constants() argument
99 KUNIT_ASSERT_FALSE(context, \
103 static void __init test_bitfields_variables(struct kunit *context) in test_bitfields_variables() argument
129 static void __init test_bitfields_compile(struct kunit *context) in test_bitfields_compile() argument
Dasn1_decoder.c168 void *context, in asn1_ber_decoder() argument
346 ret = actions[act](context, hdr, tag, data + dp, len); in asn1_ber_decoder()
439 ret = actions[act](context, hdr, 0, data + tdp, len); in asn1_ber_decoder()
454 ret = actions[machine[pc + 1]](context, hdr, tag, data + tdp, len); in asn1_ber_decoder()
Dtest_firmware.c695 static void trigger_async_request_cb(const struct firmware *fw, void *context) in trigger_async_request_cb() argument
931 static void trigger_batched_cb(const struct firmware *fw, void *context) in trigger_batched_cb() argument
933 struct test_batched_req *req = context; in trigger_batched_cb()
DKconfig.ubsan26 (regardless of context, locks held, etc), which may destabilize
DKconfig.debug26 in task context) or a caller "processor id" (if not in task context)
/lib/kunit/
Dtry-catch.c28 try_catch->try(try_catch->context); in kunit_generic_run_threadfn_adapter()
58 void kunit_try_catch_run(struct kunit_try_catch *try_catch, void *context) in kunit_try_catch_run() argument
65 try_catch->context = context; in kunit_try_catch_run()
72 try_catch->catch(try_catch->context); in kunit_try_catch_run()
95 try_catch->catch(try_catch->context); in kunit_try_catch_run()
Dstring-stream.c22 void *context) in string_stream_fragment_init() argument
24 struct string_stream_fragment_alloc_context *ctx = context; in string_stream_fragment_init()
53 struct string_stream_fragment_alloc_context context = { in alloc_string_stream_fragment() local
63 &context); in alloc_string_stream_fragment()
172 static int string_stream_init(struct kunit_resource *res, void *context) in string_stream_init() argument
175 struct string_stream_alloc_context *ctx = context; in string_stream_init()
199 struct string_stream_alloc_context context = { in alloc_string_stream() local
208 &context); in alloc_string_stream()
Dtest.c330 struct kunit_try_catch_context context; in kunit_run_case_catch_errors() local
341 context.test = &test; in kunit_run_case_catch_errors()
342 context.suite = suite; in kunit_run_case_catch_errors()
343 context.test_case = test_case; in kunit_run_case_catch_errors()
344 kunit_try_catch_run(try_catch, &context); in kunit_run_case_catch_errors()
515 static int kunit_kmalloc_init(struct kunit_resource *res, void *context) in kunit_kmalloc_init() argument
517 struct kunit_kmalloc_params *params = context; in kunit_kmalloc_init()
Dkunit-test.c117 static int fake_resource_init(struct kunit_resource *res, void *context) in fake_resource_init() argument
119 struct kunit_test_resource_context *ctx = context; in fake_resource_init()
230 static int fake_resource_2_init(struct kunit_resource *res, void *context) in fake_resource_2_init() argument
232 struct kunit_test_resource_context *ctx = context; in fake_resource_2_init()
248 static int fake_resource_1_init(struct kunit_resource *res, void *context) in fake_resource_1_init() argument
250 struct kunit_test_resource_context *ctx = context; in fake_resource_1_init()
/lib/pldmfw/
Dpldmfw.c21 struct pldmfw *context; member
68 struct device *dev = data->context->dev; in pldm_check_fw_space()
126 struct device *dev = data->context->dev; in pldm_parse_header()
205 struct device *dev = data->context->dev; in pldm_check_desc_tlv_len()
383 …dev_dbg(data->context->dev, "Unexpected record length. Measured record length is %zu bytes, expect… in pldm_parse_one_record()
444 struct device *dev = data->context->dev; in pldm_parse_components()
516 struct device *dev = data->context->dev; in pldm_verify_header_crc()
588 if (WARN_ON(!(data->context->dev && data->fw->data && data->fw->size))) in pldm_parse_image()
628 bool pldmfw_op_pci_match_record(struct pldmfw *context, struct pldmfw_record *record) in pldmfw_op_pci_match_record() argument
630 struct pci_dev *pdev = to_pci_dev(context->dev); in pldmfw_op_pci_match_record()
[all …]