| /linux/lib/crypto/tests/ |
| H A D | curve25519_kunit.c | 13 u8 result[CURVE25519_KEY_SIZE]; member 26 .result = { 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1, 41 .result = { 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1, 53 .result = { 0x3c, 0x77, 0x77, 0xca, 0xf9, 0x97, 0xb2, 0x64, 65 .result = { 0xb3, 0x2d, 0x13, 0x62, 0xc2, 0x48, 0xd6, 0x2f, 80 .result = { 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90, 89 .result = { 0 }, 98 .result = { 0 }, 110 .result = { 0x77, 0x52, 0xb6, 0x18, 0xc1, 0x2d, 0x48, 0xd2, 125 .result = { 0x5a, 0xdf, 0xaa, 0x25, 0x86, 0x8e, 0x32, 0x3d, [all …]
|
| /linux/tools/perf/tests/shell/ |
| H A D | lock_contention.sh | 9 result=$(mktemp /tmp/__perf_test.result.XXXXX) 14 rm -f ${result} 55 perf lock contention -i ${perfdata} -E 1 -q 2> ${result} 56 if [ "$(cat "${result}" | wc -l)" != "1" ]; then 57 echo "[Fail] Recorded result count is not 1:" "$(cat "${result}" | wc -l)" 73 perf lock con -a -b -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${result} 74 if [ "$(cat "${result}" | wc -l)" != "1" ]; then 75 echo "[Fail] BPF result count is not 1:" "$(cat "${result}" | wc -l)" 85 perf lock contention -i- -E 1 -q 2> ${result} 86 if [ "$(cat "${result}" | wc -l)" != "1" ]; then [all …]
|
| H A D | stat_all_metrics.sh | 21 result=$(perf stat -M "$m" $system_wide_flag -- $test_prog 2>&1) 23 if [[ $result_err -eq 0 && "$result" =~ ${m:0:50} ]] 28 if [[ "$result" =~ "Cannot resolve IDs for" || "$result" =~ "No supported events found" ]] 33 echo $result 37 echo $result 40 elif [[ "$result" =~ \ 44 echo $result 50 elif [[ "$result" =~ "in per-thread mode, enable system wide" ]] 53 echo $result 59 elif [[ "$result" =~ "<not supported>" ]] [all …]
|
| /linux/arch/parisc/math-emu/ |
| H A D | sfsub.c | 42 register unsigned int left, right, result, extent; in sgl_fsub() local 73 Sgl_makequietnan(result); in sgl_fsub() 74 *dstptr = result; in sgl_fsub() 215 Sgl_subtract(left,/*minus*/right,/*into*/result); in sgl_fsub() 216 if(Sgl_iszero_mantissa(result)) in sgl_fsub() 220 Sgl_setone_sign(result); in sgl_fsub() 224 Sgl_setzero_sign(result); in sgl_fsub() 226 *dstptr = result; in sgl_fsub() 232 Sgl_addition(left,right,/*into*/result); in sgl_fsub() 233 if(Sgl_isone_hidden(result)) in sgl_fsub() [all …]
|
| H A D | sfadd.c | 42 register unsigned int left, right, result, extent; in sgl_fadd() local 75 Sgl_makequietnan(result); in sgl_fadd() 76 *dstptr = result; in sgl_fadd() 213 Sgl_subtract(left,/*minus*/right,/*into*/result); in sgl_fadd() 214 if(Sgl_iszero_mantissa(result)) in sgl_fadd() 218 Sgl_setone_sign(result); in sgl_fadd() 222 Sgl_setzero_sign(result); in sgl_fadd() 224 *dstptr = result; in sgl_fadd() 230 Sgl_addition(left,right,/*into*/result); in sgl_fadd() 231 if(Sgl_isone_hidden(result)) in sgl_fadd() [all …]
|
| /linux/arch/powerpc/platforms/ps3/ |
| H A D | interrupt.c | 172 int result; in ps3_virq_setup() local 187 result = -ENOMEM; in ps3_virq_setup() 194 result = irq_set_chip_data(*virq, pd); in ps3_virq_setup() 196 if (result) { in ps3_virq_setup() 204 return result; in ps3_virq_setup() 209 return result; in ps3_virq_setup() 246 int result; in ps3_irq_plug_setup() local 249 result = ps3_virq_setup(cpu, outlet, virq); in ps3_irq_plug_setup() 251 if (result) { in ps3_irq_plug_setup() 260 result = lv1_connect_irq_plug_ext(pd->ppe_id, pd->thread_id, *virq, in ps3_irq_plug_setup() [all …]
|
| H A D | system-bus.c | 43 int result; in ps3_open_hv_device_sb() local 51 result = 0; in ps3_open_hv_device_sb() 59 result = 0; in ps3_open_hv_device_sb() 64 result = lv1_open_device(dev->bus_id, dev->dev_id, 0); in ps3_open_hv_device_sb() 66 if (result) { in ps3_open_hv_device_sb() 69 dev_name(&dev->core), ps3_result(result)); in ps3_open_hv_device_sb() 70 result = -EPERM; in ps3_open_hv_device_sb() 75 return result; in ps3_open_hv_device_sb() 80 int result; in ps3_close_hv_device_sb() local 88 result = 0; in ps3_close_hv_device_sb() [all …]
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | index.c | 65 int result; member 88 int result; in launch_zone_message() local 91 result = vdo_allocate(1, struct uds_request, __func__, &request); in launch_zone_message() 92 if (result != VDO_SUCCESS) in launch_zone_message() 93 return result; in launch_zone_message() 113 int result = launch_zone_message(message, zone, index); in enqueue_barrier_messages() local 115 VDO_ASSERT_LOG_ONLY((result == UDS_SUCCESS), "barrier message allocation"); in enqueue_barrier_messages() 181 int result; in finish_previous_chapter() local 187 result = writer->result; in finish_previous_chapter() 190 if (result != UDS_SUCCESS) in finish_previous_chapter() [all …]
|
| H A D | index-layout.c | 224 int result; in compute_sizes() local 232 result = uds_compute_volume_index_save_blocks(config, sls->block_size, in compute_sizes() 234 if (result != UDS_SUCCESS) in compute_sizes() 235 return vdo_log_error_strerror(result, "cannot compute index save size"); in compute_sizes() 436 int result; in make_index_save_region_table() local 462 result = vdo_allocate_extended(struct region_table, region_count, in make_index_save_region_table() 465 if (result != VDO_SUCCESS) in make_index_save_region_table() 466 return result; in make_index_save_region_table() 519 int result; in write_index_save_header() local 523 result = vdo_allocate(table->encoded_size, u8, "index save data", &buffer); in write_index_save_header() [all …]
|
| H A D | volume.c | 259 int result; in put_page_in_cache() local 262 result = VDO_ASSERT((page->read_pending), "page to install has a pending read"); in put_page_in_cache() 263 if (result != VDO_SUCCESS) in put_page_in_cache() 264 return result; in put_page_in_cache() 285 int result; in cancel_page_in_cache() local 288 result = VDO_ASSERT((page->read_pending), "page to install has a pending read"); in cancel_page_in_cache() 289 if (result != VDO_SUCCESS) in cancel_page_in_cache() 426 int result; in init_chapter_index_page() local 428 result = uds_initialize_chapter_index_page(chapter_index_page, geometry, in init_chapter_index_page() 431 return result; in init_chapter_index_page() [all …]
|
| H A D | chapter-index.c | 19 int result; in uds_make_open_chapter_index() local 23 result = vdo_allocate(1, struct open_chapter_index, "open chapter index", &index); in uds_make_open_chapter_index() 24 if (result != VDO_SUCCESS) in uds_make_open_chapter_index() 25 return result; in uds_make_open_chapter_index() 34 result = uds_initialize_delta_index(&index->delta_index, 1, in uds_make_open_chapter_index() 39 if (result != UDS_SUCCESS) { in uds_make_open_chapter_index() 41 return result; in uds_make_open_chapter_index() 76 int result; in uds_put_open_chapter_index_record() local 86 result = VDO_ASSERT(page_number < record_pages, in uds_put_open_chapter_index_record() 89 if (result != VDO_SUCCESS) in uds_put_open_chapter_index_record() [all …]
|
| H A D | index-session.c | 78 int result = UDS_SUCCESS; in get_index_session() local 88 result = UDS_DISABLED; in get_index_session() 92 result = -EBUSY; in get_index_session() 94 result = UDS_NO_INDEX; in get_index_session() 98 return result; in get_index_session() 103 int result; in uds_launch_request() local 125 result = get_index_session(request->session); in uds_launch_request() 126 if (result != UDS_SUCCESS) in uds_launch_request() 127 return result; in uds_launch_request() 217 int result; in make_empty_index_session() local [all …]
|
| H A D | config.c | 33 bool result = true; in are_matching_configurations() local 39 result = false; in are_matching_configurations() 46 result = false; in are_matching_configurations() 53 result = false; in are_matching_configurations() 59 result = false; in are_matching_configurations() 66 result = false; in are_matching_configurations() 72 result = false; in are_matching_configurations() 79 result = false; in are_matching_configurations() 86 result = false; in are_matching_configurations() 89 return result; in are_matching_configurations() [all …]
|
| H A D | open-chapter.c | 66 int result; in uds_make_open_chapter() local 71 result = vdo_allocate_extended(struct open_chapter_zone, slot_count, in uds_make_open_chapter() 74 if (result != VDO_SUCCESS) in uds_make_open_chapter() 75 return result; in uds_make_open_chapter() 79 result = vdo_allocate_cache_aligned(records_size(open_chapter), "record pages", in uds_make_open_chapter() 81 if (result != VDO_SUCCESS) { in uds_make_open_chapter() 83 return result; in uds_make_open_chapter() 208 int result; in fill_delta_chapter_index() local 253 result = uds_put_open_chapter_index_record(index, &record->name, in fill_delta_chapter_index() 255 switch (result) { in fill_delta_chapter_index() [all …]
|
| /linux/drivers/md/dm-vdo/ |
| H A D | dm-vdo-target.c | 268 int result; in split_string() local 276 result = vdo_allocate(substring_count + 1, char *, "string-splitting array", in split_string() 278 if (result != VDO_SUCCESS) in split_string() 279 return result; in split_string() 285 result = vdo_allocate(length + 1, char, "split string", in split_string() 287 if (result != VDO_SUCCESS) { in split_string() 289 return result; in split_string() 306 result = vdo_allocate(length + 1, char, "split string", in split_string() 308 if (result != VDO_SUCCESS) { in split_string() 310 return result; in split_string() [all …]
|
| H A D | encodings.c | 179 int result; in vdo_validate_header() local 188 result = validate_version(expected_header->version, actual_header->version, in vdo_validate_header() 190 if (result != VDO_SUCCESS) in vdo_validate_header() 191 return result; in vdo_validate_header() 304 int result; in vdo_parse_geometry_block() local 312 result = vdo_validate_header(&GEOMETRY_BLOCK_HEADER_4_0, &header, in vdo_parse_geometry_block() 315 result = vdo_validate_header(&GEOMETRY_BLOCK_HEADER_5_0, &header, in vdo_parse_geometry_block() 318 if (result != VDO_SUCCESS) in vdo_parse_geometry_block() 319 return result; in vdo_parse_geometry_block() 323 result = VDO_ASSERT(header.size == offset + sizeof(u32), in vdo_parse_geometry_block() [all …]
|
| H A D | physical-zone.c | 160 int result; in release_pbn_lock_provisional_reference() local 165 result = vdo_release_block_reference(allocator, locked_pbn); in release_pbn_lock_provisional_reference() 166 if (result != VDO_SUCCESS) { in release_pbn_lock_provisional_reference() 167 vdo_log_error_strerror(result, in release_pbn_lock_provisional_reference() 241 int result; in make_pbn_lock_pool() local 243 result = vdo_allocate_extended(struct pbn_lock_pool, capacity, idle_pbn_lock, in make_pbn_lock_pool() 245 if (result != VDO_SUCCESS) in make_pbn_lock_pool() 246 return result; in make_pbn_lock_pool() 293 int result; in borrow_pbn_lock_from_pool() local 302 result = VDO_ASSERT(!list_empty(&pool->idle_list), in borrow_pbn_lock_from_pool() [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_qmath.c | 28 s32 result; in qm_muls16() local 30 result = 0x7fffffff; in qm_muls16() 32 result = ((s32) (op1) * (s32) (op2)); in qm_muls16() 34 return (s16) (result >> 15); in qm_muls16() 44 s32 result; in qm_add32() local 45 result = op1 + op2; in qm_add32() 46 if (op1 < 0 && op2 < 0 && result > 0) in qm_add32() 47 result = 0x80000000; in qm_add32() 48 else if (op1 > 0 && op2 > 0 && result < 0) in qm_add32() 49 result = 0x7fffffff; in qm_add32() [all …]
|
| /linux/include/linux/ |
| H A D | mii.h | 117 u32 result = 0; in ethtool_adv_to_mii_adv_t() local 120 result |= ADVERTISE_10HALF; in ethtool_adv_to_mii_adv_t() 122 result |= ADVERTISE_10FULL; in ethtool_adv_to_mii_adv_t() 124 result |= ADVERTISE_100HALF; in ethtool_adv_to_mii_adv_t() 126 result |= ADVERTISE_100FULL; in ethtool_adv_to_mii_adv_t() 128 result |= ADVERTISE_PAUSE_CAP; in ethtool_adv_to_mii_adv_t() 130 result |= ADVERTISE_PAUSE_ASYM; in ethtool_adv_to_mii_adv_t() 132 return result; in ethtool_adv_to_mii_adv_t() 145 u32 result = 0; in linkmode_adv_to_mii_adv_t() local 148 result |= ADVERTISE_10HALF; in linkmode_adv_to_mii_adv_t() [all …]
|
| /linux/drivers/nfc/st95hf/ |
| H A D | core.c | 305 int result = 0; in st95hf_echo_command() local 308 result = st95hf_send_recv_cmd(st95context, CMD_ECHO, 0, NULL, false); in st95hf_echo_command() 309 if (result) in st95hf_echo_command() 310 return result; in st95hf_echo_command() 313 result = st95hf_spi_recv_echo_res(&st95context->spicontext, in st95hf_echo_command() 315 if (result) { in st95hf_echo_command() 317 "err: echo response receive error = 0x%x\n", result); in st95hf_echo_command() 318 return result; in st95hf_echo_command() 332 int result = 0; in secondary_configuration_type4a() local 336 result = st95hf_send_recv_cmd(stcontext, in secondary_configuration_type4a() [all …]
|
| /linux/fs/hpfs/ |
| H A D | namei.c | 32 struct inode *result; in hpfs_mkdir() local 54 result = new_inode(dir->i_sb); in hpfs_mkdir() 55 if (!result) { in hpfs_mkdir() 59 hpfs_init_inode(result); in hpfs_mkdir() 60 result->i_ino = fno; in hpfs_mkdir() 61 hpfs_i(result)->i_parent_dir = dir->i_ino; in hpfs_mkdir() 62 hpfs_i(result)->i_dno = dno; in hpfs_mkdir() 63 inode_set_mtime_to_ts(result, in hpfs_mkdir() 64 …inode_set_atime_to_ts(result, inode_set_ctime(result, local_to_gmt(dir->i_sb, le32_to_cpu(dee.crea… in hpfs_mkdir() 65 hpfs_i(result)->i_ea_size = 0; in hpfs_mkdir() [all …]
|
| /linux/drivers/platform/x86/ |
| H A D | msi-laptop.c | 159 int result; in get_lcd_level() local 161 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, &wdata, 1, in get_lcd_level() 163 if (result < 0) in get_lcd_level() 164 return result; in get_lcd_level() 172 int result; in get_auto_brightness() local 174 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, &wdata, 1, in get_auto_brightness() 176 if (result < 0) in get_auto_brightness() 177 return result; in get_auto_brightness() 185 int result; in set_auto_brightness() local 189 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, wdata, 1, in set_auto_brightness() [all …]
|
| /linux/drivers/usb/storage/ |
| H A D | transport.c | 229 int result; in usb_stor_clear_halt() local 235 result = usb_stor_control_msg(us, us->send_ctrl_pipe, in usb_stor_clear_halt() 240 if (result >= 0) in usb_stor_clear_halt() 243 usb_stor_dbg(us, "result = %d\n", result); in usb_stor_clear_halt() 244 return result; in usb_stor_clear_halt() 257 unsigned int length, int result, unsigned int partial) in interpret_urb_result() argument 260 result, partial, length); in interpret_urb_result() 261 switch (result) { in interpret_urb_result() 326 int result; in usb_stor_ctrl_transfer() local 342 result = usb_stor_msg_common(us, 0); in usb_stor_ctrl_transfer() [all …]
|
| H A D | option_ms.c | 38 int result; in option_rezero() local 47 result = usb_stor_bulk_transfer_buf(us, in option_rezero() 50 if (result != USB_STOR_XFER_GOOD) { in option_rezero() 51 result = USB_STOR_XFER_ERROR; in option_rezero() 68 result = USB_STOR_XFER_GOOD; in option_rezero() 72 return result; in option_rezero() 84 int result; in option_inquiry() local 93 result = usb_stor_bulk_transfer_buf(us, in option_inquiry() 96 if (result != USB_STOR_XFER_GOOD) { in option_inquiry() 97 result = USB_STOR_XFER_ERROR; in option_inquiry() [all …]
|
| /linux/tools/testing/kunit/ |
| H A D | kunit_tool_test.py | 103 result = kunit_parser.extract_tap_lines(file.readlines()) 104 self.assertContains('TAP version 14', result) 105 self.assertContains('# Subtest: example', result) 106 self.assertContains('1..2', result) 107 self.assertContains('ok 1 - example_simple_test', result) 108 self.assertContains('ok 2 - example_mock_test', result) 109 self.assertContains('ok 1 - example', result) 114 result = kunit_parser.extract_tap_lines(file.readlines()) 115 self.assertContains('TAP version 14', result) 116 self.assertContains('# Subtest: kunit-resource-test', result) [all …]
|