/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | diag.sh | 58 local msg="$3" 64 printf "%-50s" "$msg" 68 mptcp_lib_result_skip "${msg}" 76 mptcp_lib_result_pass "${msg}" 99 local msg nr 104 msg=$* 114 printf "%-50s" "$msg" 144 local msg="$3" 173 msg+=" after flush" 213 msg+=" after flush" [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sockmap_kern.h | 237 int bpf_prog4(struct sk_msg_md *msg) in bpf_prog4() argument 244 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog4() 247 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog4() 267 int bpf_prog6(struct sk_msg_md *msg) in bpf_prog6() argument 276 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog6() 279 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog6() 312 int bpf_prog8(struct sk_msg_md *msg) in bpf_prog8() argument 333 int bpf_prog9(struct sk_msg_md *msg) in bpf_prog9() argument 351 int bpf_prog10(struct sk_msg_md *msg) in bpf_prog10() argument 358 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog10() [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_vita.c | 183 req.msg.data_len = 1; in vita_discover() 237 req.msg.data_len = 1; in ipmi_vita_ipmb_address() 273 req.msg.data_len = 2; in ipmi_vita_getaddr() 329 req.msg.data_len = 1; in ipmi_vita_get_vso_capabilities() 395 req.msg.data_len = 3; in ipmi_vita_set_fru_activation() 438 req.msg.data_len = 2; in ipmi_vita_get_fru_state_policy_bits() 487 req.msg.data_len = 4; in ipmi_vita_set_fru_state_policy_bits() 534 req.msg.data_len = 2; in ipmi_vita_get_led_properties() 576 req.msg.data_len = 3; in ipmi_vita_get_led_color_capabilities() 640 req.msg.data_len = 3; in ipmi_vita_get_led_state() [all …]
|
/openbmc/linux/drivers/media/pci/ngene/ |
H A D | ngene-i2c.c | 102 struct i2c_msg msg[], int num) in ngene_i2c_master_xfer() argument 111 if (num == 2 && msg[1].flags & I2C_M_RD && !(msg[0].flags & I2C_M_RD)) in ngene_i2c_master_xfer() 112 if (!ngene_command_i2c_read(dev, msg[0].addr, in ngene_i2c_master_xfer() 113 msg[0].buf, msg[0].len, in ngene_i2c_master_xfer() 114 msg[1].buf, msg[1].len, 0)) in ngene_i2c_master_xfer() 117 if (num == 1 && !(msg[0].flags & I2C_M_RD)) in ngene_i2c_master_xfer() 118 if (!ngene_command_i2c_write(dev, msg[0].addr, in ngene_i2c_master_xfer() 119 msg[0].buf, msg[0].len)) in ngene_i2c_master_xfer() 121 if (num == 1 && (msg[0].flags & I2C_M_RD)) in ngene_i2c_master_xfer() 122 if (!ngene_command_i2c_read(dev, msg[0].addr, NULL, 0, in ngene_i2c_master_xfer() [all …]
|
/openbmc/phosphor-power/phosphor-power-sequencer/src/ |
H A D | power_interface.cpp | 44 if (msg != nullptr && context != nullptr) in callbackGetPgood() 53 sdbusplus::message_t(msg).append(pgood); in callbackGetPgood() 75 if (msg != nullptr && context != nullptr) in callbackGetPgoodTimeout() 105 if (msg != nullptr && context != nullptr) in callbackGetPowerState() 140 if (msg != nullptr && context != nullptr) in callbackSetPgoodTimeout() 144 auto m = sdbusplus::message_t(msg); in callbackSetPgoodTimeout() 175 if (msg != nullptr && context != nullptr) in callbackGetState() 204 if (msg != nullptr && context != nullptr) in callbackSetPowerState() 208 auto m = sdbusplus::message_t(msg); in callbackSetPowerState() 245 if (msg != nullptr && context != nullptr) in callbackSetPowerSupplyError() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | vhost-user-test.c | 332 VhostUserMsg msg; in chr_read() local 350 if (msg.size) { in chr_read() 360 switch (msg.request) { in chr_read() 407 p = (uint8_t *) &msg; in chr_read() 426 msg.payload.state.index, msg.payload.state.num); in chr_read() 450 memcpy(&s->memory, &msg.payload.memory, sizeof(msg.payload.memory)); in chr_read() 478 msg.size = 0; in chr_read() 1046 VhostUserMsg *msg) in vu_net_get_protocol_features() argument 1056 qemu_chr_fe_write_all(chr, (uint8_t *)msg, VHOST_USER_HDR_SIZE + msg->size); in vu_net_get_protocol_features() 1135 qemu_chr_fe_write_all(chr, (uint8_t *)msg, VHOST_USER_HDR_SIZE + msg->size); in vu_gpio_get_protocol_features() [all …]
|
/openbmc/linux/net/ |
H A D | compat.c | 37 struct compat_msghdr *msg, in __get_compat_msghdr() argument 42 kmsg->msg_flags = msg->msg_flags; in __get_compat_msghdr() 43 kmsg->msg_namelen = msg->msg_namelen; in __get_compat_msghdr() 45 if (!msg->msg_name) in __get_compat_msghdr() 75 if (msg->msg_iovlen > UIO_MAXIOV) in __get_compat_msghdr() 88 struct compat_msghdr msg; in get_compat_msghdr() local 99 compat_ptr(msg.msg_iov), msg.msg_iovlen, in get_compat_msghdr() 130 msg->msg_controllen) in cmsg_compat_nxthdr() 316 cmlen = msg->msg_controllen; in scm_detach_fds_compat() 318 msg->msg_controllen -= cmlen; in scm_detach_fds_compat() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | proc.c | 59 struct rpc_message msg = { in nfs_proc_get_root() local 77 msg.rpc_resp = &fsinfo; in nfs_proc_get_root() 106 struct rpc_message msg = { in nfs_proc_getattr() local 134 struct rpc_message msg = { in nfs_proc_setattr() local 168 struct rpc_message msg = { in nfs_proc_lookup() local 196 struct rpc_message msg = { in nfs_proc_readlink() local 245 struct rpc_message msg = { in nfs_proc_create() local 254 msg.rpc_argp = &data->arg; in nfs_proc_create() 255 msg.rpc_resp = &data->res; in nfs_proc_create() 274 struct rpc_message msg = { in nfs_proc_mknod() local [all …]
|
/openbmc/linux/arch/sh/boards/mach-kfr2r09/ |
H A D | setup.c | 366 msg.buf = buf; in kfr2r09_usb0_gadget_i2c_setup() 367 msg.len = 1; in kfr2r09_usb0_gadget_i2c_setup() 368 msg.flags = 0; in kfr2r09_usb0_gadget_i2c_setup() 375 msg.buf = buf; in kfr2r09_usb0_gadget_i2c_setup() 376 msg.len = 1; in kfr2r09_usb0_gadget_i2c_setup() 385 msg.buf = buf; in kfr2r09_usb0_gadget_i2c_setup() 386 msg.len = 2; in kfr2r09_usb0_gadget_i2c_setup() 387 msg.flags = 0; in kfr2r09_usb0_gadget_i2c_setup() 410 msg.len = 1; in kfr2r09_serial_i2c_setup() 419 msg.len = 1; in kfr2r09_serial_i2c_setup() [all …]
|
/openbmc/linux/net/devlink/ |
H A D | trap.c | 325 if (!msg) in devlink_nl_trap_get_doit() 337 nlmsg_free(msg); in devlink_nl_trap_get_doit() 534 if (!msg) in devlink_nl_trap_group_get_doit() 546 nlmsg_free(msg); in devlink_nl_trap_group_get_doit() 828 if (!msg) in devlink_nl_trap_policer_get_doit() 840 nlmsg_free(msg); in devlink_nl_trap_policer_get_doit() 1181 if (!msg) in devlink_trap_group_notify() 1187 nlmsg_free(msg); in devlink_trap_group_notify() 1242 if (!msg) in devlink_trap_notify() 1247 nlmsg_free(msg); in devlink_trap_notify() [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | bios.h | 262 struct pldm_msg *msg, size_t payload_length); 280 const struct pldm_msg *msg, size_t payload_length, 349 struct pldm_msg *msg); 383 struct pldm_msg *msg); 432 uint16_t attribute_handle, struct pldm_msg *msg); 447 const struct pldm_msg *msg, size_t payload_length, 462 const struct pldm_msg *msg, size_t payload_length, 486 struct pldm_msg *msg); 503 const struct pldm_msg *msg, size_t payload_length, 517 struct pldm_msg *msg); [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gm20b.c | 34 container_of(hdr, typeof(*msg), msg.hdr); in gm20b_pmu_acr_bootstrap_falcon_cb() 35 return msg->falcon_id; in gm20b_pmu_acr_bootstrap_falcon_cb() 128 container_of(hdr, typeof(*msg), msg.hdr); in gm20b_pmu_acr_init_wpr_callback() 132 if (msg->error_code) { in gm20b_pmu_acr_init_wpr_callback() 134 msg->error_code); in gm20b_pmu_acr_init_wpr_callback() 161 struct nv_pmu_init_msg msg; in gm20b_pmu_initmsg() local 164 ret = nvkm_falcon_msgq_recv_initmsg(pmu->msgq, &msg, sizeof(msg)); in gm20b_pmu_initmsg() 173 msg.queue_info[0].offset, in gm20b_pmu_initmsg() 174 msg.queue_info[0].size); in gm20b_pmu_initmsg() 176 msg.queue_info[1].offset, in gm20b_pmu_initmsg() [all …]
|
/openbmc/linux/net/mptcp/ |
H A D | crypto_test.c | 8 char *msg; member 18 .msg = "48692054", 23 .msg = "dddddddd", 28 .msg = "cdcdcdcd", 38 u8 msg[8]; in mptcp_crypto_test_basic() local 45 nonce1 = be32_to_cpu(*((__be32 *)&tests[i].msg[0])); in mptcp_crypto_test_basic() 46 nonce2 = be32_to_cpu(*((__be32 *)&tests[i].msg[4])); in mptcp_crypto_test_basic() 48 put_unaligned_be32(nonce1, &msg[0]); in mptcp_crypto_test_basic() 49 put_unaligned_be32(nonce2, &msg[4]); in mptcp_crypto_test_basic() 51 mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac); in mptcp_crypto_test_basic()
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | date.py | 29 msg = 'Failed to get initial date, output: %s' % output 30 self.assertEqual(status, 0, msg=msg) 35 self.assertEqual(status, 0, msg='Date set failed, output: %s' % output) 38 msg = 'The date was not set correctly, output: %s' % output 39 self.assertTrue(int(output) - sampleTimestamp < 300, msg=msg) 42 msg = 'Failed to reset date, output: %s' % output 43 self.assertEqual(status, 0, msg=msg)
|
H A D | skeletoninit.py | 23 msg = 'skeleton init script not found. Output:\n%s' % output 24 self.assertEqual(status, 0, msg=msg) 27 msg = 'skeleton-test not found. Output:\n%s' % output 28 self.assertEqual(status, 0, msg=msg) 35 msg = ('Skeleton script could not be started:' 37 self.assertEqual(status, 0, msg=msg)
|
/openbmc/linux/drivers/nfc/st21nfca/ |
H A D | vendor_cmds.c | 90 struct sk_buff *msg, *skb; in st21nfca_hci_dm_get_info() local 102 if (!msg) { in st21nfca_hci_dm_get_info() 108 kfree_skb(msg); in st21nfca_hci_dm_get_info() 125 struct sk_buff *msg, *skb; in st21nfca_hci_dm_get_data() local 137 if (!msg) { in st21nfca_hci_dm_get_data() 143 kfree_skb(msg); in st21nfca_hci_dm_get_data() 200 if (!msg) { in st21nfca_hci_get_param() 206 kfree_skb(msg); in st21nfca_hci_get_param() 251 struct sk_buff *msg; in st21nfca_hci_loopback() local 279 if (!msg) { in st21nfca_hci_loopback() [all …]
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi4_cec.c | 64 struct cec_msg msg = {}; in hdmi_cec_received_msg() local 68 msg.len = cnt & 0xf; in hdmi_cec_received_msg() 71 msg.msg[0] = hdmi_read_reg(core->base, in hdmi_cec_received_msg() 73 msg.msg[1] = hdmi_read_reg(core->base, in hdmi_cec_received_msg() 75 for (i = 0; i < msg.len; i++) { in hdmi_cec_received_msg() 78 msg.msg[2 + i] = in hdmi_cec_received_msg() 81 msg.len += 2; in hdmi_cec_received_msg() 295 if (msg->len == 1) in hdmi_cec_adap_transmit() 298 if (msg->len == 1) in hdmi_cec_adap_transmit() 302 hdmi_write_reg(core->base, HDMI_CEC_TX_COMMAND, msg->msg[1]); in hdmi_cec_adap_transmit() [all …]
|
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/ |
H A D | checksec.py | 16 msg = ('checksec command does not work as expected. ' 18 self.assertEqual(status, 0, msg = msg) 23 msg = ('checksec xml failed. Output: %s' % output) 24 self.assertEqual(status, 0, msg = msg) 32 msg = ('checksec : fortify-proc failed. ' 34 self.assertEqual(status, 1, msg = msg)
|
H A D | sssd.py | 16 msg = ('sssctl command does not work as expected. ' 18 self.assertEqual(status, 1, msg = msg) 25 msg = ('sssctl domain-status failed, check sssd.conf perms. ' 27 self.assertEqual(status, 0, msg = msg) 34 msg = ('sssctl domain-list failed, sssd.conf not setup correctly. ' 36 self.assertEqual(status, 0, msg = msg)
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_ipmi.c | 257 msg->data = tx_msg->data; in acpi_format_ipmi_request() 321 memcpy(buffer->data, msg->data, msg->rx_len); in acpi_format_ipmi_response() 361 if (msg == iter) { in ipmi_cancel_tx_msg() 400 msg->msgid); in ipmi_msg_handler() 405 if (msg->msg.data_len > ACPI_IPMI_MAX_MSG_LENGTH) { in ipmi_msg_handler() 408 msg->msg.data_len); in ipmi_msg_handler() 415 msg->msg.data_len == 1) { in ipmi_msg_handler() 416 if (msg->msg.data[0] == IPMI_TIMEOUT_COMPLETION_CODE) { in ipmi_msg_handler() 423 tx_msg->rx_len = msg->msg.data_len; in ipmi_msg_handler() 424 memcpy(tx_msg->data, msg->msg.data, tx_msg->rx_len); in ipmi_msg_handler() [all …]
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-ipc.c | 63 msg->msg_size); in hda_dsp_ipc_send_msg() 84 struct snd_sof_ipc_msg *msg) in hda_dsp_ipc4_schedule_d0i3_work() argument 102 hdev->delayed_ipc_tx_msg = msg; in hda_dsp_ipc4_send_msg() 124 struct snd_sof_ipc_msg *msg = sdev->msg; in hda_dsp_ipc_get_reply() local 133 if (!msg) { in hda_dsp_ipc_get_reply() 138 hdr = msg->msg_data; in hda_dsp_ipc_get_reply() 151 msg->reply_error = 0; in hda_dsp_ipc_get_reply() 216 sdev->ipc->msg.rx_data = NULL; in hda_dsp_ipc4_irq_thread() 247 u32 msg; in hda_dsp_ipc_irq_thread() local 285 snd_sof_ipc_reply(sdev, msg); in hda_dsp_ipc_irq_thread() [all …]
|
/openbmc/libmctp/tests/ |
H A D | test_astlpc.c | 166 assert(!memcmp(test->msg, msg, len)); in astlpc_test_rx_message() 257 ctx.msg = &msg[0]; in astlpc_test_packetised_message_bmc_to_host() 299 ctx.msg = &msg[0]; in astlpc_test_simple_message_host_to_bmc() 341 ctx.msg = &msg[0]; in astlpc_test_simple_message_bmc_to_host() 600 ctx.msg = &msg[0]; in astlpc_test_simple_indirect_message_bmc_to_host() 637 ctx.msg = &msg[0]; in astlpc_test_host_tx_bmc_gone() 1180 ctx.msg = &msg[0]; in astlpc_test_negotiate_mtu_high_low() 1217 ctx.msg = &msg[0]; in astlpc_test_negotiate_mtu_high_low() 1282 memset(msg, '\0', sizeof(msg)); in astlpc_test_tx_before_channel_init() 1316 ctx.msg = &msg[0]; in astlpc_test_corrupt_host_tx() [all …]
|
/openbmc/linux/drivers/media/i2c/ccs/ |
H A D | ccs-reg-access.c | 73 struct i2c_msg msg; in ____ccs_read_addr() local 81 msg.addr = client->addr; in ____ccs_read_addr() 82 msg.flags = 0; in ____ccs_read_addr() 84 msg.buf = offset_buf; in ____ccs_read_addr() 94 msg.len = len; in ____ccs_read_addr() 95 msg.flags = I2C_M_RD; in ____ccs_read_addr() 324 struct i2c_msg msg; in ccs_write_addr_no_quirk() local 334 msg.len = 2 + len; in ccs_write_addr_no_quirk() 335 msg.buf = data; in ccs_write_addr_no_quirk() 388 j += msg.len - 2, regdata += msg.len - 2) { in ccs_write_data_regs() [all …]
|
/openbmc/linux/drivers/platform/chrome/wilco_ec/ |
H A D | sysfs.c | 75 struct wilco_ec_message msg; in boot_on_ac_store() local 90 memset(&msg, 0, sizeof(msg)); in boot_on_ac_store() 91 msg.type = WILCO_EC_MSG_LEGACY; in boot_on_ac_store() 92 msg.request_data = &rq; in boot_on_ac_store() 93 msg.request_size = sizeof(rq); in boot_on_ac_store() 110 struct wilco_ec_message msg = { in get_info() local 161 struct wilco_ec_message msg; in send_usb_charge() local 164 memset(&msg, 0, sizeof(msg)); in send_usb_charge() 165 msg.type = WILCO_EC_MSG_LEGACY; in send_usb_charge() 166 msg.request_data = rq; in send_usb_charge() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | tda827x.c | 193 msg.len = 14; in tda827xo_set_params() 202 msg.len = 2; in tda827xo_set_params() 276 msg.len = 8; in tda827xo_set_analog_params() 279 msg.buf = reg2; in tda827xo_set_analog_params() 280 msg.len = 2; in tda827xo_set_analog_params() 562 msg.len = 11; in tda827xa_set_params() 572 msg.len = 5; in tda827xa_set_params() 579 msg.len = 2; in tda827xa_set_params() 691 msg.len = 11; in tda827xa_set_analog_params() 699 msg.len = 5; in tda827xa_set_analog_params() [all …]
|