Home
last modified time | relevance | path

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

/net/ipv4/
Dipconfig.c369 struct ifreq ir; in ic_setup_if() local
370 struct sockaddr_in *sin = (void *) &ir.ifr_ifru.ifru_addr; in ic_setup_if()
373 memset(&ir, 0, sizeof(ir)); in ic_setup_if()
374 strcpy(ir.ifr_ifrn.ifrn_name, ic_dev->dev->name); in ic_setup_if()
376 if ((err = devinet_ioctl(&init_net, SIOCSIFADDR, &ir)) < 0) { in ic_setup_if()
382 if ((err = devinet_ioctl(&init_net, SIOCSIFNETMASK, &ir)) < 0) { in ic_setup_if()
388 if ((err = devinet_ioctl(&init_net, SIOCSIFBRDADDR, &ir)) < 0) { in ic_setup_if()
/net/bluetooth/
Dhci_core.c310 struct hci_inquiry_req *ir = (struct hci_inquiry_req *) opt; in hci_inq_req() local
320 memcpy(&cp.lap, &ir->lap, 3); in hci_inq_req()
321 cp.length = ir->length; in hci_inq_req()
322 cp.num_rsp = ir->num_rsp; in hci_inq_req()
331 struct hci_inquiry_req ir; in hci_inquiry() local
337 if (copy_from_user(&ir, ptr, sizeof(ir))) in hci_inquiry()
340 hdev = hci_dev_get(ir.dev_id); in hci_inquiry()
360 if (ir.length > 60) { in hci_inquiry()
367 inquiry_cache_empty(hdev) || ir.flags & IREQ_CACHE_FLUSH) { in hci_inquiry()
373 timeo = ir.length * msecs_to_jiffies(2000); in hci_inquiry()
[all …]