Home
last modified time | relevance | path

Searched refs:argsize (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wimax/i2400m/
Dcontrol.c1203 unsigned argc, argsize, tlv_size; in i2400m_set_init_config() local
1213 argsize = 0; in i2400m_set_init_config()
1216 argsize += sizeof(*tlv_hdr) + le16_to_cpu(tlv_hdr->length); in i2400m_set_init_config()
1222 buf = kzalloc(sizeof(*cmd) + argsize, GFP_KERNEL); in i2400m_set_init_config()
1227 cmd->length = cpu_to_le16(argsize); in i2400m_set_init_config()
1240 ack_skb = i2400m_msg_to_dev(i2400m, buf, sizeof(*cmd) + argsize); in i2400m_set_init_config()
/drivers/ata/
Dlibata-scsi.c473 int argsize = 0; in ata_cmd_ioctl() local
490 argsize = ATA_SECT_SIZE * args[3]; in ata_cmd_ioctl()
491 argbuf = kmalloc(argsize, GFP_KERNEL); in ata_cmd_ioctl()
522 cmd_result = scsi_execute(scsidev, scsi_cmd, data_dir, argbuf, argsize, in ata_cmd_ioctl()
558 && copy_to_user(arg + sizeof(args), argbuf, argsize)) in ata_cmd_ioctl()