Home
last modified time | relevance | path

Searched refs:msg2 (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/samples/seccomp/
Dbpf-fancy.c33 static const char msg2[] = "You typed: "; in main() local
62 JEQ((unsigned long)msg2, JUMP(&l, msg2_len)), in main()
73 JLT(sizeof(msg2), ALLOW), in main()
100 syscall(__NR_write, STDERR_FILENO, msg2, strlen(msg2)); in main()
103 syscall(__NR_write, STDERR_FILENO, msg2, strlen(msg2)+2); in main()
/linux-6.1.9/drivers/staging/wlan-ng/
Dcfg80211.c281 struct p80211msg_dot11req_scan_results *msg2; in prism2_scan() local
306 msg2 = kzalloc(sizeof(*msg2), GFP_KERNEL); in prism2_scan()
307 if (!msg2) in prism2_scan()
350 msg2->msgcode = DIDMSG_DOT11REQ_SCAN_RESULTS; in prism2_scan()
351 msg2->bssindex.data = i; in prism2_scan()
353 result = p80211req_dorequest(wlandev, (u8 *)&msg2); in prism2_scan()
355 (msg2->resultcode.data != P80211ENUM_resultcode_success)) { in prism2_scan()
360 ie_buf[1] = msg2->ssid.data.len; in prism2_scan()
362 memcpy(&ie_buf[2], &msg2->ssid.data.data, msg2->ssid.data.len); in prism2_scan()
363 freq = ieee80211_channel_to_frequency(msg2->dschannel.data, in prism2_scan()
[all …]
/linux-6.1.9/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c271 const struct i2c_msg *msg2) in cx231xx_i2c_recv_bytes_with_saddr() argument
285 if (is_tuner(dev, bus, msg2, TUNER_XC5000)) { in cx231xx_i2c_recv_bytes_with_saddr()
286 if ((msg2->len < 16)) { in cx231xx_i2c_recv_bytes_with_saddr()
290 msg2->addr, msg2->len, saddr, msg1->len); in cx231xx_i2c_recv_bytes_with_saddr()
307 dev->cx231xx_gpio_i2c_read(dev, msg2->addr, in cx231xx_i2c_recv_bytes_with_saddr()
308 msg2->buf, in cx231xx_i2c_recv_bytes_with_saddr()
309 msg2->len); in cx231xx_i2c_recv_bytes_with_saddr()
316 req_data.dev_addr = msg2->addr; in cx231xx_i2c_recv_bytes_with_saddr()
317 req_data.direction = msg2->flags; in cx231xx_i2c_recv_bytes_with_saddr()
320 req_data.buf_size = msg2->len; in cx231xx_i2c_recv_bytes_with_saddr()
[all …]
/linux-6.1.9/drivers/media/dvb-frontends/
Datbm8830.c33 struct i2c_msg msg2 = { .flags = 0, .buf = buf2, .len = 1 }; in atbm8830_write_reg() local
37 msg2.addr = dev_addr; in atbm8830_write_reg()
46 ret = i2c_transfer(priv->i2c, &msg2, 1); in atbm8830_write_reg()
58 struct i2c_msg msg2 = { .flags = I2C_M_RD, .buf = buf2, .len = 1 }; in atbm8830_read_reg() local
62 msg2.addr = dev_addr; in atbm8830_read_reg()
70 ret = i2c_transfer(priv->i2c, &msg2, 1); in atbm8830_read_reg()
Dtua6100.c68 struct i2c_msg msg2 = { .addr = priv->i2c_address, .flags = 0, .buf = reg2, .len = 3 }; in tua6100_set_params() local
126 if (i2c_transfer(priv->i2c, &msg2, 1) != 1) in tua6100_set_params()
/linux-6.1.9/drivers/char/tpm/
Dtpm_i2c_infineon.c100 struct i2c_msg msg2 = { in iic_tpm_read() local
106 struct i2c_msg msgs[] = {msg1, msg2}; in iic_tpm_read()
158 msg2.len = msglen; in iic_tpm_read()
163 &msg2, 1); in iic_tpm_read()
172 msg2.buf += msglen; in iic_tpm_read()
/linux-6.1.9/tools/testing/selftests/sigaltstack/
Dsas.c36 static const char *msg2 = "[FAIL]\tStack corrupted"; variable
98 strcpy(p->msg, msg2); in my_usr2()
/linux-6.1.9/drivers/hsi/clients/
Dhsi_char.c281 struct hsi_msg *msg2; in hsc_break_received() local
285 msg2 = hsc_get_first_msg(channel, &channel->free_msgs_list); in hsc_break_received()
286 if (!msg2) in hsc_break_received()
289 hsc_msg_len_set(msg2, 0); in hsc_break_received()
290 msg2->status = HSI_STATUS_COMPLETED; in hsc_break_received()
291 hsc_add_tail(channel, msg2, &channel->rx_msgs_queue); in hsc_break_received()
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
Dav7110_v4l.c54 u8 msg2[2]; in msp_readreg() local
57 { .flags = I2C_M_RD, .len = 2, .buf = msg2 } in msp_readreg()
78 *val = (msg2[0] << 8) | msg2[1]; in msp_readreg()
/linux-6.1.9/drivers/char/ipmi/
Dipmi_msghandler.c683 struct ipmi_recv_msg *msg, *msg2; in free_recv_msg_list() local
685 list_for_each_entry_safe(msg, msg2, q, link) { in free_recv_msg_list()
693 struct ipmi_smi_msg *msg, *msg2; in free_smi_msg_list() local
695 list_for_each_entry_safe(msg, msg2, q, link) { in free_smi_msg_list()
1592 struct ipmi_recv_msg *msg, *msg2; in ipmi_set_gets_events() local
1624 list_for_each_entry_safe(msg, msg2, &intf->waiting_events, link) in ipmi_set_gets_events()
1635 list_for_each_entry_safe(msg, msg2, &msgs, link) { in ipmi_set_gets_events()
5013 struct ipmi_recv_msg *msg, *msg2; in ipmi_timeout_handler() local
5045 list_for_each_entry_safe(msg, msg2, &timeouts, link) in ipmi_timeout_handler()