Home
last modified time | relevance | path

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

/net/ipv4/
Dipconfig.c361 struct ifreq ir; in ic_setup_if() local
362 struct sockaddr_in *sin = (void *) &ir.ifr_ifru.ifru_addr; in ic_setup_if()
365 memset(&ir, 0, sizeof(ir)); in ic_setup_if()
366 strcpy(ir.ifr_ifrn.ifrn_name, ic_dev->dev->name); in ic_setup_if()
368 if ((err = devinet_ioctl(&init_net, SIOCSIFADDR, &ir)) < 0) { in ic_setup_if()
374 if ((err = devinet_ioctl(&init_net, SIOCSIFNETMASK, &ir)) < 0) { in ic_setup_if()
380 if ((err = devinet_ioctl(&init_net, SIOCSIFBRDADDR, &ir)) < 0) { in ic_setup_if()
/net/bluetooth/
Dhci_core.c1293 struct hci_inquiry_req *ir = (struct hci_inquiry_req *) opt; in hci_inq_req() local
1303 memcpy(&cp.lap, &ir->lap, 3); in hci_inq_req()
1304 cp.length = ir->length; in hci_inq_req()
1305 cp.num_rsp = ir->num_rsp; in hci_inq_req()
1314 struct hci_inquiry_req ir; in hci_inquiry() local
1320 if (copy_from_user(&ir, ptr, sizeof(ir))) in hci_inquiry()
1323 hdev = hci_dev_get(ir.dev_id); in hci_inquiry()
1348 if (ir.length > 60) { in hci_inquiry()
1355 inquiry_cache_empty(hdev) || ir.flags & IREQ_CACHE_FLUSH) { in hci_inquiry()
1361 timeo = ir.length * msecs_to_jiffies(2000); in hci_inquiry()
[all …]