/linux-6.12.1/tools/perf/tests/shell/ |
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 count is not 1:" "$(cat "${result}" | wc -l)" 79 perf lock contention -i- -E 1 -q 2> ${result} 80 if [ "$(cat "${result}" | wc -l)" != "1" ]; then [all …]
|
/linux-6.12.1/arch/powerpc/platforms/ps3/ |
D | repository.c | 112 int result; in read_node() local 122 result = lv1_read_repository_node(lpar_id, n1, n2, n3, n4, &v1, in read_node() 125 if (result) { in read_node() 127 __func__, __LINE__, ps3_result(result)); in read_node() 168 int result; in ps3_repository_read_bus_type() local 171 result = read_node(PS3_LPAR_ID_PME, in ps3_repository_read_bus_type() 177 return result; in ps3_repository_read_bus_type() 183 int result; in ps3_repository_read_bus_num_dev() local 186 result = read_node(PS3_LPAR_ID_PME, in ps3_repository_read_bus_num_dev() 192 return result; in ps3_repository_read_bus_num_dev() [all …]
|
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 …]
|
D | device-init.c | 26 int result; in ps3_register_lpm_devices() local 42 result = ps3_repository_read_be_node_id(0, &dev->lpm.node_id); in ps3_register_lpm_devices() 44 if (result) { in ps3_register_lpm_devices() 50 result = ps3_repository_read_lpm_privileges(dev->lpm.node_id, &tmp1, in ps3_register_lpm_devices() 53 if (result) { in ps3_register_lpm_devices() 64 result = -ENODEV; in ps3_register_lpm_devices() 71 result = -EPERM; in ps3_register_lpm_devices() 79 result = ps3_repository_read_pu_id(0, &dev->lpm.pu_id); in ps3_register_lpm_devices() 81 if (result) { in ps3_register_lpm_devices() 87 result = ps3_system_bus_device_register(dev); in ps3_register_lpm_devices() [all …]
|
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-6.12.1/drivers/md/dm-vdo/indexer/ |
D | index-layout.c | 223 int result; in compute_sizes() local 231 result = uds_compute_volume_index_save_blocks(config, sls->block_size, in compute_sizes() 233 if (result != UDS_SUCCESS) in compute_sizes() 234 return vdo_log_error_strerror(result, "cannot compute index save size"); in compute_sizes() 253 int result; in uds_compute_index_size() local 262 result = uds_make_configuration(parameters, &index_config); in uds_compute_index_size() 263 if (result != UDS_SUCCESS) { in uds_compute_index_size() 264 vdo_log_error_strerror(result, "cannot compute index size"); in uds_compute_index_size() 265 return uds_status_to_errno(result); in uds_compute_index_size() 268 result = compute_sizes(index_config, &sizes); in uds_compute_index_size() [all …]
|
D | index.c | 64 /* The result from the most recent write */ 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() [all …]
|
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 …]
|
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 …]
|
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 …]
|
/linux-6.12.1/arch/xtensa/include/asm/ |
D | atomic.h | 62 int result; \ 66 " " #op " %[result], %[tmp], %[i]\n" \ 67 " s32ex %[result], %[addr]\n" \ 68 " getex %[result]\n" \ 69 " beqz %[result], 1b\n" \ 70 : [result] "=&a" (result), [tmp] "=&a" (tmp) \ 80 int result; \ 84 " " #op " %[result], %[tmp], %[i]\n" \ 85 " s32ex %[result], %[addr]\n" \ 86 " getex %[result]\n" \ [all …]
|
/linux-6.12.1/fs/hpfs/ |
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-6.12.1/arch/parisc/math-emu/ |
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() 186 /* Left is not a zero and must be the result. Trapped in sgl_fsub() 187 * underflows are signaled if left is denormalized. Result in sgl_fsub() 210 /* Both operands are denormalized. The result must be exact 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() [all …]
|
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() 185 /* Left is not a zero and must be the result. Trapped in sgl_fadd() 186 * underflows are signaled if left is denormalized. Result in sgl_fadd() 208 /* Both operands are denormalized. The result must be exact 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() [all …]
|
D | fcnvfx.c | 52 register int src_exponent, result; in sgl_to_sgl_fcnvfx() local 65 if (Sgl_iszero_sign(src)) result = 0x7fffffff; in sgl_to_sgl_fcnvfx() 66 else result = 0x80000000; in sgl_to_sgl_fcnvfx() 72 *dstptr = result; in sgl_to_sgl_fcnvfx() 77 * Generate result in sgl_to_sgl_fcnvfx() 83 if (Sgl_isone_sign(src)) result = -Sgl_all(temp); in sgl_to_sgl_fcnvfx() 84 else result = Sgl_all(temp); in sgl_to_sgl_fcnvfx() 89 /* round result */ in sgl_to_sgl_fcnvfx() 92 if (Sgl_iszero_sign(src)) result++; in sgl_to_sgl_fcnvfx() 95 if (Sgl_isone_sign(src)) result--; in sgl_to_sgl_fcnvfx() [all …]
|
/linux-6.12.1/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 470 int result; in inv_mpu6050_set_power_itg() local 472 result = inv_mpu6050_pwr_mgmt_1_write(st, !power_on, false, -1, -1); in inv_mpu6050_set_power_itg() 473 if (result) in inv_mpu6050_set_power_itg() 474 return result; in inv_mpu6050_set_power_itg() 532 int result; in inv_mpu6050_set_lpf_regs() local 534 result = regmap_write(st->map, st->reg->lpf, val); in inv_mpu6050_set_lpf_regs() 535 if (result) in inv_mpu6050_set_lpf_regs() 536 return result; in inv_mpu6050_set_lpf_regs() 553 int result; in inv_mpu6050_init_config() local 558 result = inv_mpu6050_set_gyro_fsr(st, st->chip_config.fsr); in inv_mpu6050_init_config() [all …]
|
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_qmath.c | 10 * To fit the output into 16 bits the 32 bit multiplication result is right 19 * Description: This function make 16 bit multiplication and return the result 20 * in 16 bits. To fit the multiplication result into 16 bits the multiplication 21 * result is right shifted by 15 bits. Right shifting 15 bits instead of 16 bits 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() 39 * result. If the result overflow 32 bits, the output will be saturated to 44 s32 result; in qm_add32() local [all …]
|
/linux-6.12.1/scripts/ |
D | rust_is_available_test.py | 128 result = subprocess.run("scripts/rust_is_available.sh", env=env, capture_output=True) 131 self.assertEqual(result.stdout, b"") 136 self.assertEqual(result.returncode, 0) 137 self.assertEqual(result.stderr, b"") 143 self.assertEqual(result.returncode, 0) 144 self.assertNotEqual(result.stderr, b"") 148 self.assertEqual(result.returncode, 0) 149 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr) 153 self.assertNotEqual(result.returncode, 0) 154 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr) [all …]
|
/linux-6.12.1/arch/alpha/lib/ |
D | checksum.c | 59 unsigned long result; in csum_tcpudp_nofold() local 61 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold() 67 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold() 69 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold() 70 return (__force __wsum)result; in csum_tcpudp_nofold() 84 unsigned long result = 0; in do_csum() local 90 result = *buff << 8; in do_csum() 97 result += *(unsigned short *) buff; in do_csum() 105 result += *(unsigned int *) buff; in do_csum() 117 result += carry; in do_csum() [all …]
|
/linux-6.12.1/drivers/md/dm-vdo/ |
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 …]
|
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 …]
|
/linux-6.12.1/include/linux/ |
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-6.12.1/drivers/infiniband/hw/efa/ |
D | efa_com_cmd.c | 96 struct efa_com_query_qp_result *result) in efa_com_query_qp() argument 118 result->qp_state = resp.qp_state; in efa_com_query_qp() 119 result->qkey = resp.qkey; in efa_com_query_qp() 120 result->sq_draining = resp.sq_draining; in efa_com_query_qp() 121 result->sq_psn = resp.sq_psn; in efa_com_query_qp() 122 result->rnr_retry = resp.rnr_retry; in efa_com_query_qp() 155 struct efa_com_create_cq_result *result) in efa_com_create_cq() argument 193 result->cq_idx = cmd_completion.cq_idx; in efa_com_create_cq() 194 result->actual_depth = params->cq_depth; in efa_com_create_cq() 195 result->db_off = cmd_completion.db_offset; in efa_com_create_cq() [all …]
|
/linux-6.12.1/drivers/ps3/ |
D | ps3-vuart.c | 124 int result; in _dump_port_params() local 129 result = lv1_get_virtual_uart_param(port_number, i, &value); in _dump_port_params() 131 if (result) { in _dump_port_params() 133 port_number, strings[i], ps3_result(result)); in _dump_port_params() 145 int result; in ps3_vuart_get_triggers() local 150 result = lv1_get_virtual_uart_param(dev->port_number, in ps3_vuart_get_triggers() 154 if (result) { in ps3_vuart_get_triggers() 156 __func__, __LINE__, ps3_result(result)); in ps3_vuart_get_triggers() 157 return result; in ps3_vuart_get_triggers() 160 result = lv1_get_virtual_uart_param(dev->port_number, in ps3_vuart_get_triggers() [all …]
|
/linux-6.12.1/drivers/nfc/st95hf/ |
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 …]
|