/linux/net/ipv4/netfilter/ |
A D | ipt_ECN.c | 56 tcph->ece == einfo->proto.tcp.ece) && in set_ect_tcp() 58 tcph->cwr == einfo->proto.tcp.cwr)) in set_ect_tcp() 66 if (einfo->operation & IPT_ECN_OP_SET_ECE) in set_ect_tcp() 67 tcph->ece = einfo->proto.tcp.ece; in set_ect_tcp() 68 if (einfo->operation & IPT_ECN_OP_SET_CWR) in set_ect_tcp() 69 tcph->cwr = einfo->proto.tcp.cwr; in set_ect_tcp() 81 if (einfo->operation & IPT_ECN_OP_SET_IP) in ecn_tg() 82 if (!set_ect_ip(skb, einfo)) in ecn_tg() 87 if (!set_ect_tcp(skb, einfo)) in ecn_tg() 98 if (einfo->operation & IPT_ECN_OP_MASK) in ecn_tg_check() [all …]
|
/linux/net/netfilter/ |
A D | xt_ecn.c | 29 const struct xt_ecn_info *einfo = par->matchinfo; in match_tcp() local 40 if (einfo->operation & XT_ECN_OP_MATCH_ECE) { in match_tcp() 41 if (einfo->invert & XT_ECN_OP_MATCH_ECE) { in match_tcp() 50 if (einfo->operation & XT_ECN_OP_MATCH_CWR) { in match_tcp() 51 if (einfo->invert & XT_ECN_OP_MATCH_CWR) { in match_tcp() 64 const struct xt_ecn_info *einfo) in match_ip() argument 66 return ((ip_hdr(skb)->tos & XT_ECN_IP_MASK) == einfo->ip_ect) ^ in match_ip() 67 !!(einfo->invert & XT_ECN_OP_MATCH_IP); in match_ip() 105 const struct xt_ecn_info *einfo) in match_ipv6() argument 108 einfo->ip_ect) ^ in match_ipv6() [all …]
|
A D | xt_CHECKSUM.c | 36 const struct xt_CHECKSUM_info *einfo = par->targinfo; in checksum_tg_check() local 40 if (einfo->operation & ~XT_CHECKSUM_OP_FILL) { in checksum_tg_check() 42 einfo->operation); in checksum_tg_check() 45 if (!einfo->operation) in checksum_tg_check()
|
/linux/arch/arm/kernel/ |
A D | vdso.c | 162 struct elfinfo einfo; in patch_vdso() local 164 einfo = (struct elfinfo) { in patch_vdso() 168 einfo.dynsym = find_section(einfo.hdr, ".dynsym", &einfo.dynsymsize); in patch_vdso() 169 einfo.dynstr = find_section(einfo.hdr, ".dynstr", NULL); in patch_vdso() 176 vdso_nullpatch_one(&einfo, "__vdso_gettimeofday"); in patch_vdso() 177 vdso_nullpatch_one(&einfo, "__vdso_clock_gettime"); in patch_vdso() 178 vdso_nullpatch_one(&einfo, "__vdso_clock_gettime64"); in patch_vdso()
|
/linux/drivers/net/ieee802154/ |
A D | mac802154_hwsim.c | 113 struct hwsim_edge_info *einfo; in hwsim_hw_xmit() local 137 einfo->lqi); in hwsim_hw_xmit() 249 einfo->lqi); in append_radio_msg() 389 einfo = kzalloc(sizeof(*einfo), GFP_KERNEL); in hwsim_alloc_edge() 390 if (!einfo) { in hwsim_alloc_edge() 395 einfo->lqi = 0xff; in hwsim_alloc_edge() 410 kfree_rcu(einfo, rcu); in hwsim_free_edge() 553 einfo = kzalloc(sizeof(*einfo), GFP_KERNEL); in hwsim_set_edge_lqi() 554 if (!einfo) { in hwsim_set_edge_lqi() 562 einfo->lqi = lqi; in hwsim_set_edge_lqi() [all …]
|
/linux/drivers/mtd/ |
A D | mtdchar.c | 822 struct erase_info_user einfo; in mtdchar_ioctl() local 824 if (copy_from_user(&einfo, argp, sizeof(einfo))) in mtdchar_ioctl() 827 ret = mtd_lock(mtd, einfo.start, einfo.length); in mtdchar_ioctl() 833 struct erase_info_user einfo; in mtdchar_ioctl() local 835 if (copy_from_user(&einfo, argp, sizeof(einfo))) in mtdchar_ioctl() 838 ret = mtd_unlock(mtd, einfo.start, einfo.length); in mtdchar_ioctl() 844 struct erase_info_user einfo; in mtdchar_ioctl() local 846 if (copy_from_user(&einfo, argp, sizeof(einfo))) in mtdchar_ioctl() 849 ret = mtd_is_locked(mtd, einfo.start, einfo.length); in mtdchar_ioctl()
|
/linux/drivers/mtd/nand/ |
A D | core.c | 153 int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo) in nanddev_mtd_erase() argument 159 nanddev_offs_to_pos(nand, einfo->addr, &pos); in nanddev_mtd_erase() 160 nanddev_offs_to_pos(nand, einfo->addr + einfo->len - 1, &last); in nanddev_mtd_erase() 164 einfo->fail_addr = nanddev_pos_to_offs(nand, &pos); in nanddev_mtd_erase()
|
/linux/drivers/net/ethernet/tundra/ |
A D | tsi108_eth.c | 1551 hw_info *einfo; in tsi108_init_one() local 1554 einfo = dev_get_platdata(&pdev->dev); in tsi108_init_one() 1556 if (NULL == einfo) { in tsi108_init_one() 1574 pdev->id, einfo->regs, einfo->phyregs, in tsi108_init_one() 1575 einfo->phy, einfo->irq_num); in tsi108_init_one() 1577 data->regs = ioremap(einfo->regs, 0x400); in tsi108_init_one() 1583 data->phyregs = ioremap(einfo->phyregs, 0x400); in tsi108_init_one() 1592 data->mii_if.phy_id = einfo->phy; in tsi108_init_one() 1596 data->phy = einfo->phy; in tsi108_init_one() 1597 data->phy_type = einfo->phy_type; in tsi108_init_one() [all …]
|
/linux/drivers/mtd/nand/raw/ |
A D | nand_bbt.c | 751 struct erase_info einfo; in write_bbt() local 889 memset(&einfo, 0, sizeof(einfo)); in write_bbt() 890 einfo.addr = to; in write_bbt() 891 einfo.len = 1 << this->bbt_erase_shift; in write_bbt() 892 res = nand_erase_nand(this, &einfo, 1); in write_bbt()
|
A D | nand_base.c | 567 struct erase_info einfo; in nand_block_markbad_lowlevel() local 570 memset(&einfo, 0, sizeof(einfo)); in nand_block_markbad_lowlevel() 571 einfo.addr = ofs; in nand_block_markbad_lowlevel() 572 einfo.len = 1ULL << chip->phys_erase_shift; in nand_block_markbad_lowlevel() 573 nand_erase_nand(chip, &einfo, 0); in nand_block_markbad_lowlevel()
|
/linux/drivers/mtd/nand/spi/ |
A D | core.c | 812 struct erase_info *einfo) in spinand_mtd_erase() argument 818 ret = nanddev_mtd_erase(mtd, einfo); in spinand_mtd_erase()
|
/linux/include/linux/mtd/ |
A D | nand.h | 1014 int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo);
|