Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 2456) sorted by relevance

12345678910>>...99

/linux-6.6.21/lib/crypto/
Dcurve25519-selftest.c11 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-6.6.21/arch/parisc/math-emu/
Dsfadd.c42 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 …]
Dsfsub.c42 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 …]
/linux-6.6.21/tools/perf/tests/shell/
Dlock_contention.sh9 result=$(mktemp /tmp/__perf_test.result.XXXXX)
13 rm -f ${result}
42 perf lock contention -i ${perfdata} -E 1 -q 2> ${result}
43 if [ "$(cat "${result}" | wc -l)" != "1" ]; then
44 echo "[Fail] Recorded result count is not 1:" "$(cat "${result}" | wc -l)"
60 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
61 if [ "$(cat "${result}" | wc -l)" != "1" ]; then
62 echo "[Fail] BPF result count is not 1:" "$(cat "${result}" | wc -l)"
72 perf lock contention -i- -E 1 -q 2> ${result}
73 if [ "$(cat "${result}" | wc -l)" != "1" ]; then
[all …]
/linux-6.6.21/arch/powerpc/platforms/ps3/
Drepository.c112 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 …]
Dinterrupt.c172 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 …]
Ddevice-init.c26 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 …]
Dsystem-bus.c43 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.6.21/arch/alpha/lib/
Dchecksum.c57 unsigned long result; in csum_tcpudp_nofold() local
59 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold()
65 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold()
67 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold()
68 return (__force __wsum)result; in csum_tcpudp_nofold()
82 unsigned long result = 0; in do_csum() local
88 result = *buff << 8; in do_csum()
95 result += *(unsigned short *) buff; in do_csum()
103 result += *(unsigned int *) buff; in do_csum()
115 result += carry; in do_csum()
[all …]
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_qmath.c28 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-6.6.21/scripts/
Drust_is_available_test.py111 result = subprocess.run("scripts/rust_is_available.sh", env=env, capture_output=True)
114 self.assertEqual(result.stdout, b"")
119 self.assertEqual(result.returncode, 0)
120 self.assertEqual(result.stderr, b"")
126 self.assertEqual(result.returncode, 0)
127 self.assertNotEqual(result.stderr, b"")
131 self.assertEqual(result.returncode, 0)
132 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr)
136 self.assertNotEqual(result.returncode, 0)
137 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr)
[all …]
/linux-6.6.21/include/linux/
Dmii.h117 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.6.21/drivers/nfc/st95hf/
Dcore.c306 int result = 0; in st95hf_echo_command() local
309 result = st95hf_send_recv_cmd(st95context, CMD_ECHO, 0, NULL, false); in st95hf_echo_command()
310 if (result) in st95hf_echo_command()
311 return result; in st95hf_echo_command()
314 result = st95hf_spi_recv_echo_res(&st95context->spicontext, in st95hf_echo_command()
316 if (result) { in st95hf_echo_command()
318 "err: echo response receive error = 0x%x\n", result); in st95hf_echo_command()
319 return result; in st95hf_echo_command()
333 int result = 0; in secondary_configuration_type4a() local
337 result = st95hf_send_recv_cmd(stcontext, in secondary_configuration_type4a()
[all …]
/linux-6.6.21/drivers/staging/wlan-ng/
Dprism2mgmt.c110 int result = 0; in prism2mgmt_scan() local
126 result = 1; in prism2mgmt_scan()
134 result = hfa384x_drvr_getconfig16(hw, in prism2mgmt_scan()
137 if (result) { in prism2mgmt_scan()
139 "getconfig(ROAMMODE) failed. result=%d\n", result); in prism2mgmt_scan()
146 result = hfa384x_drvr_setconfig16(hw, in prism2mgmt_scan()
149 if (result) { in prism2mgmt_scan()
152 result); in prism2mgmt_scan()
168 result = in prism2mgmt_scan()
171 if (result) { in prism2mgmt_scan()
[all …]
Dprism2sta.c267 int result = 0; in prism2sta_mlmerequest() local
272 result = prism2mgmt_mibset_mibget(wlandev, msg); in prism2sta_mlmerequest()
276 result = prism2mgmt_mibset_mibget(wlandev, msg); in prism2sta_mlmerequest()
280 result = prism2mgmt_scan(wlandev, msg); in prism2sta_mlmerequest()
284 result = prism2mgmt_scan_results(wlandev, msg); in prism2sta_mlmerequest()
288 result = prism2mgmt_start(wlandev, msg); in prism2sta_mlmerequest()
295 result = prism2mgmt_readpda(wlandev, msg); in prism2sta_mlmerequest()
299 result = prism2mgmt_ramdl_state(wlandev, msg); in prism2sta_mlmerequest()
303 result = prism2mgmt_ramdl_write(wlandev, msg); in prism2sta_mlmerequest()
307 result = prism2mgmt_flashdl_state(wlandev, msg); in prism2sta_mlmerequest()
[all …]
/linux-6.6.21/arch/ia64/lib/
Dcsum_partial_copy.c38 unsigned long result = (unsigned long)psum; in do_csum_c() local
44 result = *buff << 8; in do_csum_c()
51 result += *(unsigned short *) buff; in do_csum_c()
59 result += *(unsigned int *) buff; in do_csum_c()
71 result += carry; in do_csum_c()
72 result += w; in do_csum_c()
73 carry = (w > result); in do_csum_c()
75 result += carry; in do_csum_c()
76 result = (result & 0xffffffff) + (result >> 32); in do_csum_c()
79 result += *(unsigned int *) buff; in do_csum_c()
[all …]
/linux-6.6.21/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c447 int result; in inv_mpu6050_set_power_itg() local
449 result = inv_mpu6050_pwr_mgmt_1_write(st, !power_on, -1, -1); in inv_mpu6050_set_power_itg()
450 if (result) in inv_mpu6050_set_power_itg()
451 return result; in inv_mpu6050_set_power_itg()
488 int result; in inv_mpu6050_set_lpf_regs() local
490 result = regmap_write(st->map, st->reg->lpf, val); in inv_mpu6050_set_lpf_regs()
491 if (result) in inv_mpu6050_set_lpf_regs()
492 return result; in inv_mpu6050_set_lpf_regs()
524 int result; in inv_mpu6050_init_config() local
529 result = inv_mpu6050_set_gyro_fsr(st, st->chip_config.fsr); in inv_mpu6050_init_config()
[all …]
/linux-6.6.21/lib/
Dchecksum.c49 unsigned int result = 0; in do_csum() local
56 result += (*buff << 8); in do_csum()
58 result = *buff; in do_csum()
65 result += *(unsigned short *) buff; in do_csum()
75 result += carry; in do_csum()
76 result += w; in do_csum()
77 carry = (w > result); in do_csum()
79 result += carry; in do_csum()
80 result = (result & 0xffff) + (result >> 16); in do_csum()
83 result += *(unsigned short *) buff; in do_csum()
[all …]
/linux-6.6.21/arch/parisc/lib/
Dchecksum.c40 unsigned int result = 0; in do_csum() local
46 result = be16_to_cpu(*buff); in do_csum()
53 result += *(unsigned short *) buff; in do_csum()
66 addc(result, r1); in do_csum()
67 addc(result, r2); in do_csum()
68 addc(result, r3); in do_csum()
69 addc(result, r4); in do_csum()
77 addc(result, w); in do_csum()
79 result = (result & 0xffff) + (result >> 16); in do_csum()
82 result += *(unsigned short *) buff; in do_csum()
[all …]
/linux-6.6.21/fs/hpfs/
Dnamei.c32 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 result->i_mtime = result->i_atime = in hpfs_mkdir()
62 inode_set_ctime(result, local_to_gmt(dir->i_sb, le32_to_cpu(dee.creation_date)), 0); in hpfs_mkdir()
63 hpfs_i(result)->i_ea_size = 0; in hpfs_mkdir()
[all …]
/linux-6.6.21/drivers/ps3/
Dps3-vuart.c124 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.6.21/drivers/platform/x86/
Dmsi-laptop.c159 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-6.6.21/drivers/usb/storage/
Doption_ms.c38 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 …]
Dtransport.c229 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 …]
/linux-6.6.21/security/integrity/ima/
Dima_api.c43 int i, result = 0; in ima_alloc_init_template() local
70 result = field->field_init(event_data, in ima_alloc_init_template()
72 if (result != 0) in ima_alloc_init_template()
83 return result; in ima_alloc_init_template()
109 int result; in ima_store_template() local
112 result = ima_calc_field_array_hash(&entry->template_data[0], in ima_store_template()
114 if (result < 0) { in ima_store_template()
117 audit_cause, result, 0); in ima_store_template()
118 return result; in ima_store_template()
122 result = ima_add_template_entry(entry, violation, op, inode, filename); in ima_store_template()
[all …]

12345678910>>...99