/linux/lib/crypto/ |
H A D | curve25519-selftest.c | 11 u8 result[CURVE25519_KEY_SIZE]; member 24 .result = { 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1, 39 .result = { 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1, 51 .result = { 0x3c, 0x77, 0x77, 0xca, 0xf9, 0x97, 0xb2, 0x64, 63 .result = { 0xb3, 0x2d, 0x13, 0x62, 0xc2, 0x48, 0xd6, 0x2f, 78 .result = { 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90, 87 .result = { 0 }, 96 .result = { 0 }, 108 .result = { 0x77, 0x52, 0xb6, 0x18, 0xc1, 0x2d, 0x48, 0xd2, 123 .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) 13 rm -f ${result} 49 perf lock contention -i ${perfdata} -E 1 -q 2> ${result} 50 if [ "$(cat "${result}" | wc -l)" != "1" ]; then 51 echo "[Fail] Recorded result count is not 1:" "$(cat "${result}" | wc -l)" 67 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 68 if [ "$(cat "${result}" | wc -l)" != "1" ]; then 69 echo "[Fail] BPF result coun [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/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 | volume-index.c | 305 int result; in compute_volume_sub_index_save_bytes() local 307 result = compute_volume_sub_index_parameters(config, ¶ms); in compute_volume_sub_index_save_bytes() 308 if (result != UDS_SUCCESS) in compute_volume_sub_index_save_bytes() 309 return result; in compute_volume_sub_index_save_bytes() 352 int result; in compute_volume_index_save_bytes() local 358 result = compute_volume_sub_index_save_bytes(&split.hook_config, &hook_bytes); in compute_volume_index_save_bytes() 359 if (result != UDS_SUCCESS) in compute_volume_index_save_bytes() 360 return result; in compute_volume_index_save_bytes() 362 result = compute_volume_sub_index_save_bytes(&split.non_hook_config, in compute_volume_index_save_bytes() 364 if (result != UDS_SUCCESS) in compute_volume_index_save_bytes() [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() 104 int result; in uds_launch_request() local 129 result = get_index_session(request->session); in uds_launch_request() 130 if (result != UDS_SUCCESS) in uds_launch_request() 131 return result; in uds_launch_request() 221 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 …]
|
/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/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_core.c | 488 int result; in inv_mpu6050_set_power_itg() local 490 result = inv_mpu6050_pwr_mgmt_1_write(st, !power_on, false, -1, -1); in inv_mpu6050_set_power_itg() 491 if (result) in inv_mpu6050_set_power_itg() 492 return result; in inv_mpu6050_set_power_itg() 552 int result; in inv_mpu6050_set_lpf_regs() local 554 result = regmap_write(st->map, st->reg->lpf, val); in inv_mpu6050_set_lpf_regs() 555 if (result) in inv_mpu6050_set_lpf_regs() 556 return result; in inv_mpu6050_set_lpf_regs() 573 int result; in inv_mpu6050_init_config() local 578 result = inv_mpu6050_set_gyro_fsr(st, st->chip_config.fsr); in inv_mpu6050_init_config() [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/scripts/ |
H A D | rust_is_available_test.py | 135 result = subprocess.run("scripts/rust_is_available.sh", env=env, capture_output=True) 138 self.assertEqual(result.stdout, b"") 143 self.assertEqual(result.returncode, 0) 144 self.assertEqual(result.stderr, b"") 150 self.assertEqual(result.returncode, 0) 151 self.assertNotEqual(result.stderr, b"") 155 self.assertEqual(result.returncode, 0) 156 self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr) 160 self.assertNotEqual(result.returncode, 0) 161 self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result [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() 57 hpfs_init_inode(result); in hpfs_mkdir() 58 result->i_ino = fno; in hpfs_mkdir() 59 hpfs_i(result)->i_parent_dir = dir->i_ino; in hpfs_mkdir() 60 hpfs_i(result)->i_dno = dno; in hpfs_mkdir() 61 inode_set_mtime_to_ts(result, in hpfs_mkdir() 62 …inode_set_atime_to_ts(result, inode_set_ctime(result, local_to_gmt(dir->i_sb, le32_to_cpu(dee.crea… in hpfs_mkdir() 63 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 | 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 …]
|
H A D | sddr09.c | 329 int result; 334 result = sddr09_send_scsi_command(us, command, 6); 336 usb_stor_dbg(us, "sddr09_test_unit_ready returns %d\n", result); 338 return result; 350 int result; in sddr09_request_sense() local 357 result = sddr09_send_scsi_command(us, command, 12); in sddr09_request_sense() 358 if (result) in sddr09_request_sense() 359 return result; in sddr09_request_sense() 361 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, in sddr09_request_sense() 363 return (result == USB_STOR_XFER_GOOD ? 0 : -EIO); in sddr09_request_sense() [all …]
|
H A D | sddr55.c | 129 int result; in sddr55_status() local 138 result = sddr55_bulk_transport(us, in sddr55_status() 141 usb_stor_dbg(us, "Result for send_command in status %d\n", result); in sddr55_status() 143 if (result != USB_STOR_XFER_GOOD) { in sddr55_status() 148 result = sddr55_bulk_transport(us, in sddr55_status() 152 if (result == USB_STOR_XFER_SHORT || result == USB_STOR_XFER_STALLED) { in sddr55_status() 166 if (result != USB_STOR_XFER_GOOD) { in sddr55_status() 175 result = sddr55_bulk_transport(us, in sddr55_status() 178 if (result != USB_STOR_XFER_GOOD) { in sddr55_status() 182 return (result == USB_STOR_XFER_GOOD ? in sddr55_status() [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 …]
|
/linux/arch/um/drivers/ |
H A D | vector_user.c | 83 struct arglist *result; in uml_parse_vector_ifspec() local 89 result = uml_kmalloc(sizeof(struct arglist), UM_GFP_KERNEL); in uml_parse_vector_ifspec() 90 if (result == NULL) in uml_parse_vector_ifspec() 92 result->numargs = 0; in uml_parse_vector_ifspec() 97 result->tokens[result->numargs] = arg + pos; in uml_parse_vector_ifspec() 99 result->values[result->numargs] = arg + pos; in uml_parse_vector_ifspec() 100 result->numargs++; in uml_parse_vector_ifspec() 118 return result; in uml_parse_vector_ifspec() 121 kfree(result); in uml_parse_vector_ifspec() 205 struct vector_fds *result = NULL; in user_init_tap_fds() local [all …]
|
/linux/arch/csky/kernel/ |
H A D | perf_event.c | 93 uint64_t result; in csky_pmu_read_cc() local 101 result = (uint64_t) (hi) << 32; in csky_pmu_read_cc() 102 result |= lo; in csky_pmu_read_cc() 104 return result; in csky_pmu_read_cc() 117 uint64_t result; in csky_pmu_read_ic() local 125 result = (uint64_t) (hi) << 32; in csky_pmu_read_ic() 126 result |= lo; in csky_pmu_read_ic() 128 return result; in csky_pmu_read_ic() 141 uint64_t result; in csky_pmu_read_icac() local 149 result = (uint64_t) (hi) << 32; in csky_pmu_read_icac() [all …]
|