/linux-master/net/core/ |
H A D | filter.c | 5998 struct inet6_dev *idev; local 6012 idev = __in6_dev_get_safely(dev); 6013 if (unlikely(!idev || !READ_ONCE(idev->cnf.forwarding)))
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 3786 struct inet6_dev *idev = __in6_dev_get(lowerdev); local 3788 if (idev && idev->cnf.disable_ipv6) {
|
/linux-master/drivers/dma/idxd/ |
H A D | idxd.h | 484 static inline void idxd_dev_set_type(struct idxd_dev *idev, int type) argument 487 idev->type = IDXD_DEV_NONE; 491 idev->type = type;
|
/linux-master/include/net/ |
H A D | mac80211.h | 4663 struct inet6_dev *idev);
|
H A D | addrconf.h | 129 void addrconf_leave_solict(struct inet6_dev *idev, const struct in6_addr *addr); 131 void addrconf_add_linklocal(struct inet6_dev *idev, 239 int __ipv6_dev_mc_dec(struct inet6_dev *idev, const struct in6_addr *addr); 241 void ipv6_mc_up(struct inet6_dev *idev); 242 void ipv6_mc_down(struct inet6_dev *idev); 243 void ipv6_mc_unmap(struct inet6_dev *idev); 244 void ipv6_mc_remap(struct inet6_dev *idev); 245 void ipv6_mc_init_dev(struct inet6_dev *idev); 246 void ipv6_mc_destroy_dev(struct inet6_dev *idev); 253 void ipv6_mc_dad_complete(struct inet6_dev *idev); 367 struct inet6_dev *idev; local 379 struct inet6_dev *idev = __in6_dev_get(dev); local 386 in6_dev_put(struct inet6_dev *idev) argument 394 struct inet6_dev *idev = *pidev; local 402 __in6_dev_put(struct inet6_dev *idev) argument 407 in6_dev_hold(struct inet6_dev *idev) argument 415 const struct inet6_dev *idev = __in6_dev_get(dev); local [all...] |
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 9008 struct inet6_dev *idev) 9024 read_lock_bh(&idev->lock); 9031 list_for_each(p, &idev->addr_list) { 9054 for (ifaca6 = rcu_dereference(idev->ac_list); ifaca6; 9076 read_unlock_bh(&idev->lock); 9006 ath11k_mac_op_ipv6_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct inet6_dev *idev) argument
|
/linux-master/drivers/hid/ |
H A D | hid-nintendo.c | 1395 struct input_dev *idev = ctlr->imu_input; local 1501 input_event(idev, EV_MSC, MSC_TIMESTAMP, 1576 input_report_abs(idev, ABS_RX, value[0]); 1577 input_report_abs(idev, ABS_RY, value[1]); 1578 input_report_abs(idev, ABS_RZ, value[2]); 1579 input_report_abs(idev, ABS_X, value[3]); 1580 input_report_abs(idev, ABS_Y, value[4]); 1581 input_report_abs(idev, ABS_Z, value[5]); 1582 input_sync(idev); 2013 static void joycon_config_left_stick(struct input_dev *idev) argument 2029 joycon_config_right_stick(struct input_dev *idev) argument 2045 joycon_config_dpad(struct input_dev *idev) argument 2061 joycon_config_buttons(struct input_dev *idev, const struct joycon_ctlr_button_mapping button_mappings[]) argument [all...] |
/linux-master/fs/smb/server/ |
H A D | smb2pdu.c | 7627 static __be32 idev_ipv4_address(struct in_device *idev) argument 7634 in_dev_for_each_ifa_rcu(ifa, idev) { 7705 struct in_device *idev; local 7710 idev = __in_dev_get_rtnl(netdev); 7711 if (!idev) 7714 idev_ipv4_address(idev);
|
/linux-master/net/ipv4/ |
H A D | fib_frontend.c | 346 int rpf, struct in_device *idev, u32 *itag) 367 no_addr = idev->ifa_list == NULL; 369 fl4.flowi4_mark = IN_DEV_SRC_VMARK(idev) ? skb->mark : 0; 381 (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev))) 423 struct in_device *idev, u32 *itag) 425 int r = secpath_exists(skb) ? 0 : IN_DEV_RPFILTER(idev); 429 (dev->ifindex != oif || !IN_DEV_TX_REDIRECTS(idev))) { 430 if (IN_DEV_ACCEPT_LOCAL(idev)) 451 return __fib_validate_source(skb, src, dst, tos, oif, dev, r, idev, itag); 344 __fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst, u8 tos, int oif, struct net_device *dev, int rpf, struct in_device *idev, u32 *itag) argument 421 fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst, u8 tos, int oif, struct net_device *dev, struct in_device *idev, u32 *itag) argument
|
/linux-master/net/ipv6/ |
H A D | addrconf.c | 126 static int addrconf_sysctl_register(struct inet6_dev *idev); 127 static void addrconf_sysctl_unregister(struct inet6_dev *idev); 129 static inline int addrconf_sysctl_register(struct inet6_dev *idev) argument 134 static inline void addrconf_sysctl_unregister(struct inet6_dev *idev) argument 142 static int ipv6_count_addresses(const struct inet6_dev *idev); 145 const struct inet6_dev *idev); 172 static void addrconf_dad_run(struct inet6_dev *idev, bool restart); 177 static void inet6_prefix_notify(int event, struct inet6_dev *idev, 312 static void addrconf_del_rs_timer(struct inet6_dev *idev) argument 314 if (del_timer(&idev 324 addrconf_mod_rs_timer(struct inet6_dev *idev, unsigned long when) argument 339 snmp6_alloc_dev(struct inet6_dev *idev) argument 487 struct inet6_dev *idev; local 740 struct inet6_dev *idev; local 801 dev_forward_change(struct inet6_dev *idev) argument 851 struct inet6_dev *idev; local 915 struct inet6_dev *idev; local 997 ipv6_link_dev_addr(struct inet6_dev *idev, struct inet6_ifaddr *ifp) argument 1061 ipv6_add_addr(struct inet6_dev *idev, struct ifa6_config *cfg, bool can_block, struct netlink_ext_ack *extack) argument 1223 struct inet6_dev *idev = ifp->idev; local 1345 ipv6_get_regen_advance(const struct inet6_dev *idev) argument 1355 struct inet6_dev *idev = ifp->idev; local 1543 ipv6_use_optimistic_addr(const struct net *net, const struct inet6_dev *idev) argument 1562 ipv6_allow_optimistic_dad(const struct net *net, const struct inet6_dev *idev) argument 1712 __ipv6_dev_get_saddr(struct net *net, struct ipv6_saddr_dst *dst, struct inet6_dev *idev, struct ipv6_saddr_score *scores, int hiscore_idx) argument 1791 struct inet6_dev *idev; local 1812 struct inet6_dev *idev; local 1904 __ipv6_get_lladdr(struct inet6_dev *idev, struct in6_addr *addr, u32 banned_flags) argument 1926 struct inet6_dev *idev; local 1940 ipv6_count_addresses(const struct inet6_dev *idev) argument 2027 const struct inet6_dev *idev; local 2048 const struct inet6_dev *idev; local 2157 struct inet6_dev *idev = ifp->idev; local 2243 addrconf_leave_solict(struct inet6_dev *idev, const struct in6_addr *addr) argument 2399 ipv6_inherit_eui64(u8 *eui, struct inet6_dev *idev) argument 2553 struct inet6_dev *idev; local 2571 manage_tempaddrs(struct inet6_dev *idev, struct inet6_ifaddr *ifp, __u32 valid_lft, __u32 prefered_lft, bool create, unsigned long now) argument 2644 is_addr_mode_generate_stable(struct inet6_dev *idev) argument 2994 struct inet6_dev *idev; local 3096 struct inet6_dev *idev; local 3186 add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int plen, int scope, u8 proto) argument 3212 add_v4_addrs(struct inet6_dev *idev) argument 3277 struct inet6_dev *idev; local 3292 addrconf_add_linklocal(struct inet6_dev *idev, const struct in6_addr *addr, u32 flags) argument 3339 ipv6_generate_stable_address(struct in6_addr *address, u8 dad_count, const struct inet6_dev *idev) argument 3401 ipv6_gen_mode_random_init(struct inet6_dev *idev) argument 3412 addrconf_addr_gen(struct inet6_dev *idev, bool prefix_route) argument 3458 struct inet6_dev *idev; local 3496 struct inet6_dev *idev; local 3527 struct inet6_dev *idev; local 3573 fixup_permanent_addr(struct net *net, struct inet6_dev *idev, struct inet6_ifaddr *ifp) argument 3613 struct inet6_dev *idev; local 3643 struct inet6_dev *idev = __in6_dev_get(dev); local 3824 struct inet6_dev *idev; local 3845 struct inet6_dev *idev; local 4017 struct inet6_dev *idev = from_timer(idev, t, rs_timer); local 4071 struct inet6_dev *idev = ifp->idev; local 4095 struct inet6_dev *idev = ifp->idev; local 4182 struct inet6_dev *idev = ifp->idev; local 4291 struct inet6_dev *idev = ifp->idev; local 4381 addrconf_dad_run(struct inet6_dev *idev, bool restart) argument 4976 struct inet6_dev *idev; local 5275 in6_dump_addrs(const struct inet6_dev *idev, struct sk_buff *skb, struct netlink_callback *cb, int *s_ip_idx, struct inet6_fill_args *fillargs) argument 5408 struct inet6_dev *idev; local 5775 snmp6_fill_stats(u64 *stats, struct inet6_dev *idev, int attrtype, int bytes) argument 5789 inet6_fill_ifla6_attrs(struct sk_buff *skb, struct inet6_dev *idev, u32 ext_filter_mask) argument 5857 struct inet6_dev *idev = __in6_dev_get(dev); local 5868 inet6_set_iftoken(struct inet6_dev *idev, struct in6_addr *token, struct netlink_ext_ack *extack) argument 5970 check_stable_privacy(struct inet6_dev *idev, struct net *net, int mode) argument 5985 struct inet6_dev *idev = NULL; local 6017 struct inet6_dev *idev = __in6_dev_get(dev); local 6043 inet6_fill_ifinfo(struct sk_buff *skb, struct inet6_dev *idev, u32 portid, u32 seq, int event, unsigned int flags) argument 6123 struct inet6_dev *idev; local 6154 inet6_ifinfo_notify(int event, struct inet6_dev *idev) argument 6185 inet6_fill_prefix(struct sk_buff *skb, struct inet6_dev *idev, struct prefix_info *pinfo, u32 portid, u32 seq, int event, unsigned int flags) argument 6221 inet6_prefix_notify(int event, struct inet6_dev *idev, struct prefix_info *pinfo) argument 6338 struct inet6_dev *idev = ctl->extra1; local 6349 dev_disable_change(struct inet6_dev *idev) argument 6366 struct inet6_dev *idev; local 6459 struct inet6_dev *idev = ctl->extra1; local 6478 struct inet6_dev *idev = (struct inet6_dev *)ctl->extra1; local 6582 struct inet6_dev *idev = __in6_dev_get(dev); local 6590 struct inet6_dev *idev = ctl->extra1; local 6641 addrconf_disable_policy_idev(struct inet6_dev *idev, int val) argument 6674 struct inet6_dev *idev; local 7191 __addrconf_sysctl_register(struct net *net, char *dev_name, struct inet6_dev *idev, struct ipv6_devconf *p) argument 7253 addrconf_sysctl_register(struct inet6_dev *idev) argument 7272 addrconf_sysctl_unregister(struct inet6_dev *idev) argument 7407 struct inet6_dev *idev; local [all...] |
H A D | ip6_output.c | 64 struct inet6_dev *idev = ip6_dst_idev(dst); local 75 IP6_INC_STATS(net, idev, IPSTATS_MIB_OUTDISCARDS); 98 IP6_INC_STATS(net, idev, 105 IP6_UPD_PO_STATS(net, idev, IPSTATS_MIB_OUTMCAST, skb->len); 120 IP6_UPD_PO_STATS(net, idev, IPSTATS_MIB_OUT, skb->len); 131 IP6_INC_STATS(net, idev, IPSTATS_MIB_OUTNOROUTES); 232 struct inet6_dev *idev = ip6_dst_idev(skb_dst(skb)); local 237 if (unlikely(READ_ONCE(idev->cnf.disable_ipv6))) { 238 IP6_INC_STATS(net, idev, IPSTATS_MIB_OUTDISCARDS); 271 struct inet6_dev *idev local 499 struct inet6_dev *idev; local 1932 struct inet6_dev *idev = ip6_dst_idev(skb_dst(skb)); local [all...] |
H A D | seg6_hmac.c | 243 struct inet6_dev *idev; local 246 idev = __in6_dev_get(skb->dev); 252 require_hmac = READ_ONCE(idev->cnf.seg6_require_hmac);
|
/linux-master/drivers/uio/ |
H A D | uio.c | 219 struct uio_device *idev = dev_get_drvdata(dev); local 222 mutex_lock(&idev->info_lock); 223 if (!idev->info) { 229 ret = sprintf(buf, "%s\n", idev->info->name); 232 mutex_unlock(&idev->info_lock); 240 struct uio_device *idev = dev_get_drvdata(dev); local 243 mutex_lock(&idev->info_lock); 244 if (!idev->info) { 250 ret = sprintf(buf, "%s\n", idev->info->version); 253 mutex_unlock(&idev 261 struct uio_device *idev = dev_get_drvdata(dev); local 285 uio_dev_add_attributes(struct uio_device *idev) argument 379 uio_dev_del_attributes(struct uio_device *idev) argument 402 uio_get_minor(struct uio_device *idev) argument 432 struct uio_device *idev = info->uio_dev; local 447 struct uio_device *idev = (struct uio_device *)dev_id; local 464 struct uio_device *idev; local 524 struct uio_device *idev = listener->dev; local 533 struct uio_device *idev = listener->dev; local 549 struct uio_device *idev = listener->dev; local 570 struct uio_device *idev = listener->dev; local 625 struct uio_device *idev = listener->dev; local 660 struct uio_device *idev = vma->vm_private_data; local 672 struct uio_device *idev = vmf->vma->vm_private_data; local 730 struct uio_device *idev = vma->vm_private_data; local 765 struct uio_device *idev = vma->vm_private_data; local 809 struct uio_device *idev = listener->dev; local 952 struct uio_device *idev = dev_get_drvdata(dev); local 969 struct uio_device *idev; local 1093 struct uio_device *idev; local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mvm.h | 2097 struct inet6_dev *idev);
|
H A D | d3.c | 43 struct inet6_dev *idev) 51 read_lock_bh(&idev->lock); 52 list_for_each_entry(ifa, &idev->addr_list, if_list) { 60 read_unlock_bh(&idev->lock); 41 iwl_mvm_ipv6_addr_change(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct inet6_dev *idev) argument
|
/linux-master/drivers/ipack/ |
H A D | ipack.c | 40 ipack_match_id(const struct ipack_device_id *ids, struct ipack_device *idev) argument 44 if (ipack_match_one_device(ids, idev)) 54 struct ipack_device *idev = to_ipack_dev(dev); local 58 found_id = ipack_match_id(idrv->id_table, idev); 81 const struct ipack_device *idev; local 86 idev = to_ipack_dev(dev); 89 "MODALIAS=ipack:f%02Xv%08Xd%08X", idev->id_format, 90 idev->id_vendor, idev->id_device)) 101 struct ipack_device *idev 109 struct ipack_device *idev = to_ipack_dev(dev); local 138 struct ipack_device *idev = to_ipack_dev(dev); local 152 struct ipack_device *idev = to_ipack_dev(dev); local 166 struct ipack_device *idev = to_ipack_dev(dev); local 227 struct ipack_device *idev = to_ipack_dev(dev); local [all...] |
/linux-master/drivers/iio/imu/bmi323/ |
H A D | bmi323_core.c | 150 bmi323_get_mount_matrix(const struct iio_dev *idev, argument 153 struct bmi323_data *data = iio_priv(idev);
|
/linux-master/drivers/input/misc/ |
H A D | 88pm80x_onkey.c | 24 struct input_dev *idev; member in struct:pm80x_onkey_info 39 dev_err(info->idev->dev.parent, "failed to read status: %d\n", ret); 44 input_report_key(info->idev, KEY_POWER, val); 45 input_sync(info->idev); 79 info->idev = input_allocate_device(); 80 if (!info->idev) { 86 info->idev->name = "88pm80x_on"; 87 info->idev->phys = "88pm80x_on/input0"; 88 info->idev->id.bustype = BUS_I2C; 89 info->idev [all...] |
/linux-master/drivers/infiniband/core/ |
H A D | device.c | 2309 struct net_device *idev = local 2312 if (filter(ib_dev, port, idev, filter_cookie)) 2313 cb(ib_dev, port, idev, cookie); 2315 if (idev) 2316 dev_put(idev);
|
/linux-master/drivers/scsi/isci/ |
H A D | init.c | 553 struct isci_remote_device *idev = &ihost->devices[i]; local 555 INIT_LIST_HEAD(&idev->node);
|
/linux-master/sound/core/ |
H A D | jack.c | 644 struct input_dev *idev; local 661 idev = input_get_device(jack->input_dev); 662 if (!idev) 669 input_report_key(idev, jack->key[i], 677 input_report_switch(idev, 682 input_sync(idev); 683 input_put_device(idev);
|
/linux-master/drivers/platform/x86/ |
H A D | huawei-wmi.c | 698 static void huawei_wmi_process_key(struct input_dev *idev, int code) argument 723 key = sparse_keymap_entry_from_scancode(idev, code); 725 dev_info(&idev->dev, "Unknown key pressed, code: 0x%04x\n", code); 734 sparse_keymap_report_entry(idev, key, 1, true); 739 struct input_dev *idev = (struct input_dev *)context; local 746 dev_err(&idev->dev, "Unable to get event data\n"); 752 huawei_wmi_process_key(idev, obj->integer.value); 754 dev_err(&idev->dev, "Bad response type\n"); 761 struct input_dev *idev; local 765 idev [all...] |
/linux-master/drivers/input/joystick/ |
H A D | psxpad-spi.c | 65 struct input_dev *idev; member in struct:psxpad 142 static int psxpad_spi_play_effect(struct input_dev *idev, argument 145 struct psxpad *pad = input_get_drvdata(idev); 162 input_set_capability(pad->idev, EV_FF, FF_RUMBLE); 164 err = input_ff_create_memless(pad->idev, NULL, psxpad_spi_play_effect); 288 struct input_dev *idev; local 295 idev = devm_input_allocate_device(&spi->dev); 296 if (!idev) { 302 pad->idev = idev; [all...] |
/linux-master/net/mac80211/ |
H A D | main.c | 550 struct in_device *idev; local 570 idev = __in_dev_get_rtnl(sdata->dev); 571 if (!idev) 596 ifa = rtnl_dereference(idev->ifa_list); 621 struct inet6_dev *idev = ifa->idev; local 622 struct net_device *ndev = ifa->idev->dev; 641 drv_ipv6_addr_change(local, sdata, idev);
|
H A D | driver-ops.h | 1115 struct inet6_dev *idev) 1119 local->ops->ipv6_addr_change(&local->hw, &sdata->vif, idev); 1113 drv_ipv6_addr_change(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct inet6_dev *idev) argument
|