pn 266 arch/mips/alchemy/common/clock.c static struct clk __init *alchemy_clk_setup_sysbus(const char *pn) pn 272 arch/mips/alchemy/common/clock.c pn, 0, 1, v); pn 280 arch/mips/alchemy/common/clock.c static struct clk __init *alchemy_clk_setup_periph(const char *pn) pn 286 arch/mips/alchemy/common/clock.c pn, 0, 1, 2); pn 294 arch/mips/alchemy/common/clock.c static struct clk __init *alchemy_clk_setup_mem(const char *pn, int ct) pn 319 arch/mips/alchemy/common/clock.c c = clk_register_fixed_factor(NULL, ALCHEMY_MEM_CLK, pn, pn 328 arch/mips/alchemy/common/clock.c static struct clk __init *alchemy_clk_setup_lrclk(const char *pn, int t) pn 349 arch/mips/alchemy/common/clock.c pn, 0, 1, v); pn 322 arch/powerpc/perf/imc-pmu.c struct imc_pmu **pn = per_nest_pmu_arr; pn 327 arch/powerpc/perf/imc-pmu.c while (*pn) { pn 328 arch/powerpc/perf/imc-pmu.c perf_pmu_migrate_context(&(*pn)->pmu, old_cpu, new_cpu); pn 329 arch/powerpc/perf/imc-pmu.c pn++; pn 130 arch/s390/include/asm/diag.h __u8 pn; pn 137 arch/s390/include/asm/diag.h __u8 pn; pn 70 arch/sparc/include/asm/backoff.h bg,pn %xcc, label; \ pn 38 arch/sparc/include/asm/head_64.h brnz,pn %tmp1, label; \ pn 47 arch/sparc/include/asm/head_64.h be,pn %icc, label; \ pn 56 arch/sparc/include/asm/head_64.h be,pn %icc, label; \ pn 124 arch/sparc/include/asm/tsb.h bne,pn %icc, 99b; \ pn 128 arch/sparc/include/asm/tsb.h bne,pn %icc, 99b; \ pn 163 arch/sparc/include/asm/tsb.h brz,pn REG1, FAIL_LABEL; \ pn 168 arch/sparc/include/asm/tsb.h brz,pn REG1, FAIL_LABEL; \ pn 170 arch/sparc/include/asm/tsb.h brz,pn REG1, FAIL_LABEL; \ pn 181 arch/sparc/include/asm/tsb.h brz,pn REG1, FAIL_LABEL; \ pn 184 arch/sparc/include/asm/tsb.h be,pn %xcc, 698f; \ pn 186 arch/sparc/include/asm/tsb.h 697: brgez,pn REG1, FAIL_LABEL; \ pn 195 arch/sparc/include/asm/tsb.h brgez,pn REG1, FAIL_LABEL; \ pn 215 arch/sparc/include/asm/tsb.h brz,pn REG1, FAIL_LABEL; \ pn 222 arch/sparc/include/asm/tsb.h brgez,pn REG1, FAIL_LABEL; \ pn 230 arch/sparc/include/asm/tsb.h brz,pn REG1, FAIL_LABEL; \ pn 244 arch/sparc/include/asm/tsb.h brz,pn REG1, FAIL_LABEL; \ pn 250 arch/sparc/include/asm/tsb.h brgez,pn REG1, FAIL_LABEL; \ pn 258 arch/sparc/include/asm/tsb.h brz,pn REG1, FAIL_LABEL; \ pn 276 arch/sparc/include/asm/tsb.h brz,pn REG1, FAIL_LABEL; \ pn 282 arch/sparc/include/asm/tsb.h brz,pn REG1, FAIL_LABEL; \ pn 293 arch/sparc/include/asm/tsb.h brgez,pn REG1, FAIL_LABEL; \ pn 306 arch/sparc/include/asm/tsb.h brz,pn REG2, FAIL_LABEL; \ pn 393 arch/sparc/include/asm/ttable.h brnz,pn %g3, (. - (128 + 4)); \ pn 428 arch/sparc/include/asm/ttable.h brnz,pn %g3, etrap_user_spill_64bit; \ pn 617 arch/sparc/include/asm/ttable.h brnz,pn %g3, (. - (128 + 4)); \ pn 650 arch/sparc/include/asm/ttable.h brnz,pn %g3, user_rtt_fill_64bit; \ pn 42 arch/sparc/kernel/adi_64.c u64 pn, *val; pn 48 arch/sparc/kernel/adi_64.c pn = mdesc_node_by_name(hp, MDESC_NODE_NULL, "cpu"); pn 49 arch/sparc/kernel/adi_64.c if (pn == MDESC_NODE_NULL) pn 52 arch/sparc/kernel/adi_64.c prop = mdesc_get_property(hp, pn, "hwcap-list", &len); pn 81 arch/sparc/kernel/adi_64.c pn = mdesc_node_by_name(hp, MDESC_NODE_NULL, "platform"); pn 82 arch/sparc/kernel/adi_64.c if (pn == MDESC_NODE_NULL) pn 85 arch/sparc/kernel/adi_64.c val = (u64 *) mdesc_get_property(hp, pn, "adp-blksz", &len); pn 90 arch/sparc/kernel/adi_64.c val = (u64 *) mdesc_get_property(hp, pn, "adp-nbits", &len); pn 95 arch/sparc/kernel/adi_64.c val = (u64 *) mdesc_get_property(hp, pn, "ue-on-adp", &len); pn 761 arch/sparc/kernel/mdesc.c u64 pn = mdesc_node_by_name(hp, MDESC_NODE_NULL, "platform"); pn 765 arch/sparc/kernel/mdesc.c if (pn == MDESC_NODE_NULL) { pn 770 arch/sparc/kernel/mdesc.c s = mdesc_get_property(hp, pn, "banner-name", NULL); pn 772 arch/sparc/kernel/mdesc.c s = mdesc_get_property(hp, pn, "name", NULL); pn 775 arch/sparc/kernel/mdesc.c v = mdesc_get_property(hp, pn, "hostid", NULL); pn 778 arch/sparc/kernel/mdesc.c v = mdesc_get_property(hp, pn, "serial#", NULL); pn 781 arch/sparc/kernel/mdesc.c v = mdesc_get_property(hp, pn, "stick-frequency", NULL); pn 783 arch/sparc/kernel/mdesc.c v = mdesc_get_property(hp, pn, "mac-address", NULL); pn 786 arch/sparc/kernel/mdesc.c v = mdesc_get_property(hp, pn, "watchdog-resolution", NULL); pn 789 arch/sparc/kernel/mdesc.c v = mdesc_get_property(hp, pn, "watchdog-max-timeout", NULL); pn 792 arch/sparc/kernel/mdesc.c v = mdesc_get_property(hp, pn, "max-cpus", NULL); pn 491 arch/sparc/kernel/setup_64.c u64 pn; pn 497 arch/sparc/kernel/setup_64.c pn = mdesc_node_by_name(hp, MDESC_NODE_NULL, "cpu"); pn 498 arch/sparc/kernel/setup_64.c if (pn == MDESC_NODE_NULL) pn 501 arch/sparc/kernel/setup_64.c prop = mdesc_get_property(hp, pn, "hwcap-list", &len); pn 176 drivers/acpi/glue.c struct acpi_device_physical_node *physical_node, *pn; pn 209 drivers/acpi/glue.c list_for_each_entry(pn, &acpi_dev->physical_node_list, node) { pn 211 drivers/acpi/glue.c if (pn->dev == dev) { pn 223 drivers/acpi/glue.c if (pn->node_id == node_id) { pn 224 drivers/acpi/glue.c physnode_list = &pn->node; pn 118 drivers/acpi/scan.c struct acpi_device_physical_node *pn; pn 128 drivers/acpi/scan.c list_for_each_entry(pn, &adev->physical_node_list, node) pn 129 drivers/acpi/scan.c if (device_supports_offline(pn->dev) && !pn->dev->offline) { pn 131 drivers/acpi/scan.c kobject_uevent_env(&pn->dev->kobj, KOBJ_CHANGE, envp); pn 145 drivers/acpi/scan.c struct acpi_device_physical_node *pn; pn 159 drivers/acpi/scan.c list_for_each_entry(pn, &device->physical_node_list, node) { pn 164 drivers/acpi/scan.c if (pn->put_online) pn 167 drivers/acpi/scan.c pn->put_online = false; pn 169 drivers/acpi/scan.c ret = device_offline(pn->dev); pn 171 drivers/acpi/scan.c pn->put_online = !ret; pn 173 drivers/acpi/scan.c *ret_p = pn->dev; pn 190 drivers/acpi/scan.c struct acpi_device_physical_node *pn; pn 197 drivers/acpi/scan.c list_for_each_entry(pn, &device->physical_node_list, node) pn 198 drivers/acpi/scan.c if (pn->put_online) { pn 199 drivers/acpi/scan.c device_online(pn->dev); pn 200 drivers/acpi/scan.c pn->put_online = false; pn 532 drivers/clk/clk-milbeaut.c const char *pn = factors->parent_name ? pn 535 drivers/clk/clk-milbeaut.c hw = clk_hw_register_fixed_factor(NULL, factors->name, pn, 0, pn 115 drivers/clk/ingenic/cgu.c unsigned *pm, unsigned *pn, unsigned *pod) pn 137 drivers/clk/ingenic/cgu.c if (pn) pn 138 drivers/clk/ingenic/cgu.c *pn = n; pn 281 drivers/crypto/caam/pdb.h u32 pn; pn 293 drivers/crypto/caam/pdb.h u32 pn; pn 315 drivers/crypto/caam/pdb.h u32 pn; pn 327 drivers/crypto/caam/pdb.h u32 pn; pn 852 drivers/crypto/nx/nx-842-powernv.c static int __init nx842_powernv_probe_vas(struct device_node *pn) pn 859 drivers/crypto/nx/nx-842-powernv.c chip_id = of_get_ibm_chip_id(pn); pn 871 drivers/crypto/nx/nx-842-powernv.c for_each_child_of_node(pn, dn) { pn 115 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c u8 pn, pn_min, pn_max; pn 157 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c for (pn = pn_max; pn >= pn_min; pn--) { pn 158 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c f = clamp(DIV_ROUND_CLOSEST(fxp, 1 << pn), 1, 255); pn 159 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c fxp_actual = f << pn; pn 165 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c DP_EDP_PWMGEN_BIT_COUNT, pn) < 0) { pn 75 drivers/gpu/drm/msm/edp/edp.h u32 pixel_rate, u32 *pm, u32 *pn); pn 1316 drivers/gpu/drm/msm/edp/edp_ctrl.c u32 pixel_rate, u32 *pm, u32 *pn) pn 1337 drivers/gpu/drm/msm/edp/edp_ctrl.c if (pn) pn 1338 drivers/gpu/drm/msm/edp/edp_ctrl.c *pn = divs[i].n; pn 1243 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c int pn, ret = 0; pn 1248 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c for (pn = 0; pi + pn < pm; pn++) { pn 1249 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (map != !!(pfn[pi + pn] & NVKM_VMM_PFN_V)) pn 1252 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c size = min_t(u64, size, pn << page->shift); pn 347 drivers/gpu/drm/omapdrm/dss/base.c struct device_node *pn = of_graph_get_remote_port_parent(n); pn 349 drivers/gpu/drm/omapdrm/dss/base.c if (!pn) pn 352 drivers/gpu/drm/omapdrm/dss/base.c if (!of_device_is_available(pn) || omapdss_list_contains(pn)) { pn 353 drivers/gpu/drm/omapdrm/dss/base.c of_node_put(pn); pn 357 drivers/gpu/drm/omapdrm/dss/base.c omapdss_walk_device(dev, pn, false); pn 151 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c struct device_node *pn; pn 153 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c pn = of_graph_get_remote_port_parent(n); pn 155 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c if (!pn) pn 158 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c if (!of_device_is_available(pn) || omapdss_list_contains(pn)) { pn 159 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c of_node_put(pn); pn 163 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c omapdss_walk_device(pn, false); pn 545 drivers/hwtracing/stm/core.c struct stp_policy_node *pn; pn 554 drivers/hwtracing/stm/core.c for (n = 0, pn = NULL; ids[n] && !pn; n++) pn 555 drivers/hwtracing/stm/core.c pn = stp_policy_node_lookup(stm, ids[n]); pn 557 drivers/hwtracing/stm/core.c if (!pn) pn 560 drivers/hwtracing/stm/core.c err = stm_output_assign(stm, width, pn, output); pn 562 drivers/hwtracing/stm/core.c stp_policy_node_put(pn); pn 93 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = priv; pn 95 drivers/hwtracing/stm/p_sys-t.c generate_random_uuid(pn->uuid.b); pn 100 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = priv; pn 107 drivers/hwtracing/stm/p_sys-t.c memcpy(&opriv->node, pn, sizeof(opriv->node)); pn 121 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); pn 123 drivers/hwtracing/stm/p_sys-t.c return sprintf(page, "%pU\n", &pn->uuid); pn 131 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); pn 135 drivers/hwtracing/stm/p_sys-t.c ret = uuid_parse(page, &pn->uuid); pn 146 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); pn 148 drivers/hwtracing/stm/p_sys-t.c return sprintf(page, "%d\n", pn->do_len); pn 156 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); pn 160 drivers/hwtracing/stm/p_sys-t.c ret = kstrtobool(page, &pn->do_len); pn 171 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); pn 173 drivers/hwtracing/stm/p_sys-t.c return sprintf(page, "%u\n", jiffies_to_msecs(pn->ts_interval)); pn 181 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); pn 190 drivers/hwtracing/stm/p_sys-t.c pn->ts_interval = msecs_to_jiffies(ms); pn 202 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); pn 204 drivers/hwtracing/stm/p_sys-t.c return sprintf(page, "%u\n", jiffies_to_msecs(pn->clocksync_interval)); pn 212 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); pn 221 drivers/hwtracing/stm/p_sys-t.c pn->clocksync_interval = msecs_to_jiffies(ms); pn 40 drivers/hwtracing/stm/policy.c void *stp_policy_node_priv(struct stp_policy_node *pn) pn 42 drivers/hwtracing/stm/policy.c if (!pn) pn 45 drivers/hwtracing/stm/policy.c return pn->priv; pn 22 drivers/hwtracing/stm/stm.h void *stp_policy_node_priv(struct stp_policy_node *pn); pn 197 drivers/infiniband/sw/rdmavt/mcast.c struct rb_node *pn = NULL; pn 206 drivers/infiniband/sw/rdmavt/mcast.c pn = *n; pn 207 drivers/infiniband/sw/rdmavt/mcast.c tmcast = rb_entry(pn, struct rvt_mcast, rb_node); pn 213 drivers/infiniband/sw/rdmavt/mcast.c n = &pn->rb_left; pn 217 drivers/infiniband/sw/rdmavt/mcast.c n = &pn->rb_right; pn 261 drivers/infiniband/sw/rdmavt/mcast.c rb_link_node(&mcast->rb_node, pn, n); pn 583 drivers/infiniband/ulp/ipoib/ipoib_main.c struct rb_node *pn = NULL; pn 588 drivers/infiniband/ulp/ipoib/ipoib_main.c pn = *n; pn 589 drivers/infiniband/ulp/ipoib/ipoib_main.c tpath = rb_entry(pn, struct ipoib_path, rb_node); pn 594 drivers/infiniband/ulp/ipoib/ipoib_main.c n = &pn->rb_left; pn 596 drivers/infiniband/ulp/ipoib/ipoib_main.c n = &pn->rb_right; pn 601 drivers/infiniband/ulp/ipoib/ipoib_main.c rb_link_node(&path->rb_node, pn, n); pn 186 drivers/infiniband/ulp/ipoib/ipoib_multicast.c struct rb_node **n = &priv->multicast_tree.rb_node, *pn = NULL; pn 192 drivers/infiniband/ulp/ipoib/ipoib_multicast.c pn = *n; pn 193 drivers/infiniband/ulp/ipoib/ipoib_multicast.c tmcast = rb_entry(pn, struct ipoib_mcast, rb_node); pn 198 drivers/infiniband/ulp/ipoib/ipoib_multicast.c n = &pn->rb_left; pn 200 drivers/infiniband/ulp/ipoib/ipoib_multicast.c n = &pn->rb_right; pn 205 drivers/infiniband/ulp/ipoib/ipoib_multicast.c rb_link_node(&mcast->rb_node, pn, n); pn 4881 drivers/iommu/intel-iommu.c struct acpi_device_physical_node *pn; pn 4890 drivers/iommu/intel-iommu.c list_for_each_entry(pn, pn 4892 drivers/iommu/intel-iommu.c group = iommu_group_get(pn->dev); pn 4898 drivers/iommu/intel-iommu.c pn->dev->bus->iommu_ops = &intel_iommu_ops; pn 4899 drivers/iommu/intel-iommu.c ret = iommu_probe_device(pn->dev); pn 368 drivers/isdn/hardware/mISDN/netjet.c u8 *p, *pn; pn 406 drivers/isdn/hardware/mISDN/netjet.c pn = bc->hrbuf; pn 408 drivers/isdn/hardware/mISDN/netjet.c stat = isdnhdlc_decode(&bc->hrecv, pn, cnt, &i, pn 437 drivers/isdn/hardware/mISDN/netjet.c pn += i; pn 539 drivers/md/persistent-data/dm-btree.c struct btree_node *ln, *rn, *pn; pn 572 drivers/md/persistent-data/dm-btree.c pn = dm_block_data(parent); pn 575 drivers/md/persistent-data/dm-btree.c memcpy_disk(value_ptr(pn, parent_index), pn 581 drivers/md/persistent-data/dm-btree.c r = insert_at(sizeof(__le64), pn, parent_index + 1, pn 626 drivers/md/persistent-data/dm-btree.c struct btree_node *pn, *ln, *rn; pn 631 drivers/md/persistent-data/dm-btree.c pn = dm_block_data(new_parent); pn 632 drivers/md/persistent-data/dm-btree.c size = le32_to_cpu(pn->header.flags) & INTERNAL_NODE ? pn 641 drivers/md/persistent-data/dm-btree.c nr_left = le32_to_cpu(pn->header.nr_entries) / 2; pn 643 drivers/md/persistent-data/dm-btree.c ln->header.flags = pn->header.flags; pn 645 drivers/md/persistent-data/dm-btree.c ln->header.max_entries = pn->header.max_entries; pn 646 drivers/md/persistent-data/dm-btree.c ln->header.value_size = pn->header.value_size; pn 647 drivers/md/persistent-data/dm-btree.c memcpy(ln->keys, pn->keys, nr_left * sizeof(pn->keys[0])); pn 648 drivers/md/persistent-data/dm-btree.c memcpy(value_ptr(ln, 0), value_ptr(pn, 0), nr_left * size); pn 658 drivers/md/persistent-data/dm-btree.c nr_right = le32_to_cpu(pn->header.nr_entries) - nr_left; pn 660 drivers/md/persistent-data/dm-btree.c rn->header.flags = pn->header.flags; pn 662 drivers/md/persistent-data/dm-btree.c rn->header.max_entries = pn->header.max_entries; pn 663 drivers/md/persistent-data/dm-btree.c rn->header.value_size = pn->header.value_size; pn 664 drivers/md/persistent-data/dm-btree.c memcpy(rn->keys, pn->keys + nr_left, nr_right * sizeof(pn->keys[0])); pn 665 drivers/md/persistent-data/dm-btree.c memcpy(value_ptr(rn, 0), value_ptr(pn, nr_left), pn 669 drivers/md/persistent-data/dm-btree.c pn->header.flags = cpu_to_le32(INTERNAL_NODE); pn 670 drivers/md/persistent-data/dm-btree.c pn->header.nr_entries = cpu_to_le32(2); pn 671 drivers/md/persistent-data/dm-btree.c pn->header.max_entries = cpu_to_le32( pn 675 drivers/md/persistent-data/dm-btree.c pn->header.value_size = cpu_to_le32(sizeof(__le64)); pn 679 drivers/md/persistent-data/dm-btree.c pn->keys[0] = ln->keys[0]; pn 680 drivers/md/persistent-data/dm-btree.c memcpy_disk(value_ptr(pn, 0), &val, sizeof(__le64)); pn 684 drivers/md/persistent-data/dm-btree.c pn->keys[1] = rn->keys[0]; pn 685 drivers/md/persistent-data/dm-btree.c memcpy_disk(value_ptr(pn, 1), &val, sizeof(__le64)); pn 466 drivers/media/i2c/vpx3220.c u16 pn; pn 500 drivers/media/i2c/vpx3220.c pn = (i2c_smbus_read_byte_data(client, 0x02) << 8) + pn 503 drivers/media/i2c/vpx3220.c switch (pn) { pn 520 drivers/media/i2c/vpx3220.c ver, pn, client->addr << 1, client->adapter->name); pn 428 drivers/message/fusion/mptfc.c u64 pn, nn; pn 441 drivers/message/fusion/mptfc.c pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; pn 442 drivers/message/fusion/mptfc.c if (pn == rport_ids.port_name) { /* match */ pn 483 drivers/message/fusion/mptfc.c pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; pn 492 drivers/message/fusion/mptfc.c (unsigned long long)pn, pn 571 drivers/message/fusion/mptfc.c u64 nn, pn; pn 575 drivers/message/fusion/mptfc.c pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; pn 585 drivers/message/fusion/mptfc.c (unsigned long long)pn, pn 1084 drivers/message/fusion/mptfc.c u64 pn; pn 1102 drivers/message/fusion/mptfc.c pn = (u64)ri->pg0.WWPN.High << 32 | pn 1108 drivers/message/fusion/mptfc.c (unsigned long long)pn)); pn 1119 drivers/message/fusion/mptfc.c u64 pn; pn 1157 drivers/message/fusion/mptfc.c pn = (u64)ri->pg0.WWPN.High << 32 | pn 1163 drivers/message/fusion/mptfc.c (unsigned long long)pn)); pn 135 drivers/misc/mei/client.c const uuid_le *pn; pn 140 drivers/misc/mei/client.c pn = &me_cl->props.protocol_name; pn 141 drivers/misc/mei/client.c if (uuid_le_cmp(*uuid, *pn) == 0) pn 215 drivers/misc/mei/client.c const uuid_le *pn; pn 220 drivers/misc/mei/client.c pn = &me_cl->props.protocol_name; pn 221 drivers/misc/mei/client.c if (uuid_le_cmp(*uuid, *pn) == 0 && pn 328 drivers/misc/mic/scif/scif_api.c int scif_bind(scif_epd_t epd, u16 pn) pn 336 drivers/misc/mic/scif/scif_api.c ep, scif_ep_states[ep->state], pn); pn 337 drivers/misc/mic/scif/scif_api.c if (pn) { pn 343 drivers/misc/mic/scif/scif_api.c if (pn < SCIF_ADMIN_PORT_END && !capable(CAP_SYS_ADMIN)) { pn 358 drivers/misc/mic/scif/scif_api.c if (pn) { pn 359 drivers/misc/mic/scif/scif_api.c tmp = scif_rsrv_port(pn); pn 360 drivers/misc/mic/scif/scif_api.c if (tmp != pn) { pn 368 drivers/misc/mic/scif/scif_api.c pn = ret; pn 373 drivers/misc/mic/scif/scif_api.c ep->port.port = pn; pn 375 drivers/misc/mic/scif/scif_api.c ret = pn; pn 377 drivers/misc/mic/scif/scif_api.c "SCIFAPI bind: bound to port number %d\n", pn); pn 85 drivers/misc/mic/scif/scif_fd.c int pn; pn 87 drivers/misc/mic/scif/scif_fd.c if (copy_from_user(&pn, argp, sizeof(pn))) pn 90 drivers/misc/mic/scif/scif_fd.c pn = scif_bind(priv, pn); pn 91 drivers/misc/mic/scif/scif_fd.c if (pn < 0) pn 92 drivers/misc/mic/scif/scif_fd.c return pn; pn 94 drivers/misc/mic/scif/scif_fd.c if (copy_to_user(argp, &pn, sizeof(pn))) pn 167 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_MAX_LEN(pn) CRA(0x1,pn,0x02) /* Max length */ pn 168 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_MAC_HIGH_ADDR(pn) CRA(0x1,pn,0x03) /* Upper 24 bits of MAC addr */ pn 169 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_MAC_LOW_ADDR(pn) CRA(0x1,pn,0x04) /* Lower 24 bits of MAC addr */ pn 174 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_MODE_CFG(pn) CRA(0x1,pn,0x00) /* Mode configuration */ pn 175 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_PAUSE_CFG(pn) CRA(0x1,pn,0x01) /* Pause configuration */ pn 176 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_NORMALIZER(pn) CRA(0x1,pn,0x05) /* Normalizer */ pn 177 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_TBI_STATUS(pn) CRA(0x1,pn,0x06) /* TBI status */ pn 178 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_PCS_STATUS_DBG(pn) CRA(0x1,pn,0x07) /* PCS status debug */ pn 179 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_PCS_CTRL(pn) CRA(0x1,pn,0x08) /* PCS control */ pn 180 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_TBI_CONFIG(pn) CRA(0x1,pn,0x09) /* TBI configuration */ pn 181 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_STICK_BIT(pn) CRA(0x1,pn,0x0a) /* Sticky bits */ pn 182 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_DEV_SETUP(pn) CRA(0x1,pn,0x0b) /* MAC clock/reset setup */ pn 183 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_DROP_CNT(pn) CRA(0x1,pn,0x0c) /* Drop counter */ pn 184 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_PORT_POS(pn) CRA(0x1,pn,0x0d) /* Preamble port position */ pn 185 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_PORT_FAIL(pn) CRA(0x1,pn,0x0e) /* Preamble port position */ pn 186 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_SERDES_CONF(pn) CRA(0x1,pn,0x0f) /* SerDes configuration */ pn 187 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_SERDES_TEST(pn) CRA(0x1,pn,0x10) /* SerDes test */ pn 188 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_SERDES_STAT(pn) CRA(0x1,pn,0x11) /* SerDes status */ pn 189 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_SERDES_COM_CNT(pn) CRA(0x1,pn,0x12) /* SerDes comma counter */ pn 190 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_DENORM(pn) CRA(0x1,pn,0x15) /* Frame denormalization */ pn 191 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_DBG(pn) CRA(0x1,pn,0x16) /* Device 1G debug */ pn 192 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_TX_IFG(pn) CRA(0x1,pn,0x18) /* Tx IFG config */ pn 193 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_HDX(pn) CRA(0x1,pn,0x19) /* Half-duplex config */ pn 271 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_RX_OK_BYTES(pn) CRA(0x4,pn,RxOkBytes) pn 272 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_RX_BAD_BYTES(pn) CRA(0x4,pn,RxBadBytes) pn 273 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_TX_OK_BYTES(pn) CRA(0x4,pn,TxOkBytes) pn 579 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c VPD_ENTRY(pn, 16); /* part number */ pn 2334 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c memcpy(vpd_data->bn, vpd.pn, PN_LEN + 1); pn 321 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h u8 pn[PN_LEN + 1]; pn 2753 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int ec, sn, pn, na; pn 2828 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c FIND_VPD_KW(pn, "PN"); pn 2839 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c i = pci_vpd_info_field_size(vpd + pn - PCI_VPD_INFO_FLD_HDR_SIZE); pn 2840 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(p->pn, vpd + pn, min(i, PN_LEN)); pn 2841 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c strim(p->pn); pn 3325 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c adapter->params.vpd.sn, adapter->params.vpd.pn); pn 808 drivers/net/ethernet/cortina/gemini.c int pn) pn 838 drivers/net/ethernet/cortina/gemini.c freeq_entry = geth->freeq_ring + (pn << fpp_order); pn 840 drivers/net/ethernet/cortina/gemini.c pn, frag_len, (1 << fpp_order), freeq_entry); pn 848 drivers/net/ethernet/cortina/gemini.c gpage = &geth->freeq_pages[pn]; pn 850 drivers/net/ethernet/cortina/gemini.c mapping = geth->freeq_ring[pn << fpp_order].word2.buf_adr; pn 860 drivers/net/ethernet/cortina/gemini.c pn, (unsigned int)mapping, page); pn 878 drivers/net/ethernet/cortina/gemini.c unsigned int pn, epn; pn 889 drivers/net/ethernet/cortina/gemini.c pn = (refill ? rw.bits.wptr : rw.bits.rptr) >> fpp_order; pn 894 drivers/net/ethernet/cortina/gemini.c while (pn != epn) { pn 898 drivers/net/ethernet/cortina/gemini.c gpage = &geth->freeq_pages[pn]; pn 902 drivers/net/ethernet/cortina/gemini.c pn, page_ref_count(page), 1 << fpp_order); pn 905 drivers/net/ethernet/cortina/gemini.c unsigned int fl = (pn - epn) & m_pn; pn 910 drivers/net/ethernet/cortina/gemini.c page = geth_freeq_alloc_map_page(geth, pn); pn 918 drivers/net/ethernet/cortina/gemini.c pn++; pn 919 drivers/net/ethernet/cortina/gemini.c pn &= m_pn; pn 922 drivers/net/ethernet/cortina/gemini.c writew(pn << fpp_order, geth->base + GLOBAL_SWFQ_RWPTR_REG + 2); pn 938 drivers/net/ethernet/cortina/gemini.c unsigned int pn; pn 958 drivers/net/ethernet/cortina/gemini.c for (pn = 0; pn < pages; pn++) pn 959 drivers/net/ethernet/cortina/gemini.c if (!geth_freeq_alloc_map_page(geth, pn)) pn 978 drivers/net/ethernet/cortina/gemini.c while (pn > 0) { pn 982 drivers/net/ethernet/cortina/gemini.c --pn; pn 983 drivers/net/ethernet/cortina/gemini.c mapping = geth->freeq_ring[pn << fpp_order].word2.buf_adr; pn 985 drivers/net/ethernet/cortina/gemini.c gpage = &geth->freeq_pages[pn]; pn 1008 drivers/net/ethernet/cortina/gemini.c unsigned int pn; pn 1014 drivers/net/ethernet/cortina/gemini.c for (pn = 0; pn < pages; pn++) { pn 1018 drivers/net/ethernet/cortina/gemini.c mapping = geth->freeq_ring[pn << fpp_order].word2.buf_adr; pn 1021 drivers/net/ethernet/cortina/gemini.c gpage = &geth->freeq_pages[pn]; pn 1016 drivers/net/ethernet/renesas/ravb_main.c struct device_node *pn; pn 1023 drivers/net/ethernet/renesas/ravb_main.c pn = of_parse_phandle(np, "phy-handle", 0); pn 1024 drivers/net/ethernet/renesas/ravb_main.c if (!pn) { pn 1033 drivers/net/ethernet/renesas/ravb_main.c pn = of_node_get(np); pn 1035 drivers/net/ethernet/renesas/ravb_main.c phydev = of_phy_connect(ndev, pn, ravb_adjust_link, 0, pn 1037 drivers/net/ethernet/renesas/ravb_main.c of_node_put(pn); pn 2036 drivers/net/ethernet/renesas/sh_eth.c struct device_node *pn; pn 2038 drivers/net/ethernet/renesas/sh_eth.c pn = of_parse_phandle(np, "phy-handle", 0); pn 2039 drivers/net/ethernet/renesas/sh_eth.c phydev = of_phy_connect(ndev, pn, pn 2043 drivers/net/ethernet/renesas/sh_eth.c of_node_put(pn); pn 78 drivers/net/macsec.c __be32 pn; pn 448 drivers/net/macsec.c const struct macsec_secy *secy, u32 pn, pn 467 drivers/net/macsec.c h->packet_number = htonl(pn); pn 523 drivers/net/macsec.c static void macsec_fill_iv(unsigned char *iv, sci_t sci, u32 pn) pn 528 drivers/net/macsec.c gcm_iv->pn = htonl(pn); pn 538 drivers/net/macsec.c u32 pn; pn 541 drivers/net/macsec.c pn = tx_sa->next_pn; pn 552 drivers/net/macsec.c return pn; pn 662 drivers/net/macsec.c u32 pn; pn 703 drivers/net/macsec.c pn = tx_sa_update_pn(tx_sa, secy); pn 704 drivers/net/macsec.c if (pn == 0) { pn 709 drivers/net/macsec.c macsec_fill_sectag(hh, secy, pn, sci_present); pn 740 drivers/net/macsec.c macsec_fill_iv(iv, secy->sci, pn); pn 784 drivers/net/macsec.c static bool macsec_post_decrypt(struct sk_buff *skb, struct macsec_secy *secy, u32 pn) pn 798 drivers/net/macsec.c if (secy->replay_protect && pn < lowest_pn) { pn 831 drivers/net/macsec.c } else if (pn < lowest_pn) { pn 839 drivers/net/macsec.c if (pn < lowest_pn) { pn 847 drivers/net/macsec.c if (pn >= rx_sa->next_pn) pn 848 drivers/net/macsec.c rx_sa->next_pn = pn + 1; pn 892 drivers/net/macsec.c u32 pn; pn 900 drivers/net/macsec.c pn = ntohl(macsec_ethhdr(skb)->packet_number); pn 901 drivers/net/macsec.c if (!macsec_post_decrypt(skb, &macsec->secy, pn)) { pn 1084 drivers/net/macsec.c u32 pn; pn 1191 drivers/net/macsec.c pn = ntohl(hdr->packet_number); pn 1197 drivers/net/macsec.c pn < (rx_sa->next_pn - secy->replay_window); pn 1226 drivers/net/macsec.c if (!macsec_post_decrypt(skb, secy, pn)) pn 281 drivers/net/ppp/ppp_generic.c static struct ppp *ppp_find_unit(struct ppp_net *pn, int unit); pn 282 drivers/net/ppp/ppp_generic.c static struct channel *ppp_find_channel(struct ppp_net *pn, int unit); pn 836 drivers/net/ppp/ppp_generic.c struct ppp_net *pn; pn 859 drivers/net/ppp/ppp_generic.c pn = ppp_pernet(net); pn 860 drivers/net/ppp/ppp_generic.c mutex_lock(&pn->all_ppp_mutex); pn 861 drivers/net/ppp/ppp_generic.c ppp = ppp_find_unit(pn, unit); pn 867 drivers/net/ppp/ppp_generic.c mutex_unlock(&pn->all_ppp_mutex); pn 874 drivers/net/ppp/ppp_generic.c pn = ppp_pernet(net); pn 875 drivers/net/ppp/ppp_generic.c spin_lock_bh(&pn->all_channels_lock); pn 876 drivers/net/ppp/ppp_generic.c chan = ppp_find_channel(pn, unit); pn 882 drivers/net/ppp/ppp_generic.c spin_unlock_bh(&pn->all_channels_lock); pn 905 drivers/net/ppp/ppp_generic.c struct ppp_net *pn = net_generic(net, ppp_net_id); pn 907 drivers/net/ppp/ppp_generic.c idr_init(&pn->units_idr); pn 908 drivers/net/ppp/ppp_generic.c mutex_init(&pn->all_ppp_mutex); pn 910 drivers/net/ppp/ppp_generic.c INIT_LIST_HEAD(&pn->all_channels); pn 911 drivers/net/ppp/ppp_generic.c INIT_LIST_HEAD(&pn->new_channels); pn 913 drivers/net/ppp/ppp_generic.c spin_lock_init(&pn->all_channels_lock); pn 920 drivers/net/ppp/ppp_generic.c struct ppp_net *pn = net_generic(net, ppp_net_id); pn 933 drivers/net/ppp/ppp_generic.c idr_for_each_entry(&pn->units_idr, ppp, id) pn 941 drivers/net/ppp/ppp_generic.c mutex_destroy(&pn->all_ppp_mutex); pn 942 drivers/net/ppp/ppp_generic.c idr_destroy(&pn->units_idr); pn 943 drivers/net/ppp/ppp_generic.c WARN_ON_ONCE(!list_empty(&pn->all_channels)); pn 944 drivers/net/ppp/ppp_generic.c WARN_ON_ONCE(!list_empty(&pn->new_channels)); pn 956 drivers/net/ppp/ppp_generic.c struct ppp_net *pn = ppp_pernet(ppp->ppp_net); pn 959 drivers/net/ppp/ppp_generic.c mutex_lock(&pn->all_ppp_mutex); pn 962 drivers/net/ppp/ppp_generic.c ret = unit_get(&pn->units_idr, ppp); pn 971 drivers/net/ppp/ppp_generic.c if (unit_find(&pn->units_idr, unit)) { pn 975 drivers/net/ppp/ppp_generic.c ret = unit_set(&pn->units_idr, ppp, unit); pn 987 drivers/net/ppp/ppp_generic.c mutex_unlock(&pn->all_ppp_mutex); pn 998 drivers/net/ppp/ppp_generic.c mutex_lock(&pn->all_ppp_mutex); pn 999 drivers/net/ppp/ppp_generic.c unit_put(&pn->units_idr, ppp->file.index); pn 1001 drivers/net/ppp/ppp_generic.c mutex_unlock(&pn->all_ppp_mutex); pn 1340 drivers/net/ppp/ppp_generic.c struct ppp_net *pn = ppp_pernet(ppp->ppp_net); pn 1346 drivers/net/ppp/ppp_generic.c mutex_lock(&pn->all_ppp_mutex); pn 1347 drivers/net/ppp/ppp_generic.c unit_put(&pn->units_idr, ppp->file.index); pn 1348 drivers/net/ppp/ppp_generic.c mutex_unlock(&pn->all_ppp_mutex); pn 2603 drivers/net/ppp/ppp_generic.c struct ppp_net *pn; pn 2609 drivers/net/ppp/ppp_generic.c pn = ppp_pernet(net); pn 2624 drivers/net/ppp/ppp_generic.c spin_lock_bh(&pn->all_channels_lock); pn 2625 drivers/net/ppp/ppp_generic.c pch->file.index = ++pn->last_channel_index; pn 2626 drivers/net/ppp/ppp_generic.c list_add(&pch->list, &pn->new_channels); pn 2628 drivers/net/ppp/ppp_generic.c spin_unlock_bh(&pn->all_channels_lock); pn 2688 drivers/net/ppp/ppp_generic.c struct ppp_net *pn; pn 2706 drivers/net/ppp/ppp_generic.c pn = ppp_pernet(pch->chan_net); pn 2707 drivers/net/ppp/ppp_generic.c spin_lock_bh(&pn->all_channels_lock); pn 2709 drivers/net/ppp/ppp_generic.c spin_unlock_bh(&pn->all_channels_lock); pn 3137 drivers/net/ppp/ppp_generic.c ppp_find_unit(struct ppp_net *pn, int unit) pn 3139 drivers/net/ppp/ppp_generic.c return unit_find(&pn->units_idr, unit); pn 3151 drivers/net/ppp/ppp_generic.c ppp_find_channel(struct ppp_net *pn, int unit) pn 3155 drivers/net/ppp/ppp_generic.c list_for_each_entry(pch, &pn->new_channels, list) { pn 3157 drivers/net/ppp/ppp_generic.c list_move(&pch->list, &pn->all_channels); pn 3162 drivers/net/ppp/ppp_generic.c list_for_each_entry(pch, &pn->all_channels, list) { pn 3177 drivers/net/ppp/ppp_generic.c struct ppp_net *pn; pn 3181 drivers/net/ppp/ppp_generic.c pn = ppp_pernet(pch->chan_net); pn 3183 drivers/net/ppp/ppp_generic.c mutex_lock(&pn->all_ppp_mutex); pn 3184 drivers/net/ppp/ppp_generic.c ppp = ppp_find_unit(pn, unit); pn 3217 drivers/net/ppp/ppp_generic.c mutex_unlock(&pn->all_ppp_mutex); pn 161 drivers/net/ppp/pppoe.c static struct pppox_sock *__get_item(struct pppoe_net *pn, __be16 sid, pn 167 drivers/net/ppp/pppoe.c ret = pn->hash_table[hash]; pn 179 drivers/net/ppp/pppoe.c static int __set_item(struct pppoe_net *pn, struct pppox_sock *po) pn 184 drivers/net/ppp/pppoe.c ret = pn->hash_table[hash]; pn 193 drivers/net/ppp/pppoe.c po->next = pn->hash_table[hash]; pn 194 drivers/net/ppp/pppoe.c pn->hash_table[hash] = po; pn 199 drivers/net/ppp/pppoe.c static void __delete_item(struct pppoe_net *pn, __be16 sid, pn 205 drivers/net/ppp/pppoe.c ret = pn->hash_table[hash]; pn 206 drivers/net/ppp/pppoe.c src = &pn->hash_table[hash]; pn 225 drivers/net/ppp/pppoe.c static inline struct pppox_sock *get_item(struct pppoe_net *pn, __be16 sid, pn 230 drivers/net/ppp/pppoe.c read_lock_bh(&pn->hash_lock); pn 231 drivers/net/ppp/pppoe.c po = __get_item(pn, sid, addr, ifindex); pn 234 drivers/net/ppp/pppoe.c read_unlock_bh(&pn->hash_lock); pn 243 drivers/net/ppp/pppoe.c struct pppoe_net *pn; pn 252 drivers/net/ppp/pppoe.c pn = pppoe_pernet(net); pn 253 drivers/net/ppp/pppoe.c pppox_sock = get_item(pn, sp->sa_addr.pppoe.sid, pn 260 drivers/net/ppp/pppoe.c static inline void delete_item(struct pppoe_net *pn, __be16 sid, pn 263 drivers/net/ppp/pppoe.c write_lock_bh(&pn->hash_lock); pn 264 drivers/net/ppp/pppoe.c __delete_item(pn, sid, addr, ifindex); pn 265 drivers/net/ppp/pppoe.c write_unlock_bh(&pn->hash_lock); pn 277 drivers/net/ppp/pppoe.c struct pppoe_net *pn; pn 280 drivers/net/ppp/pppoe.c pn = pppoe_pernet(dev_net(dev)); pn 281 drivers/net/ppp/pppoe.c write_lock_bh(&pn->hash_lock); pn 283 drivers/net/ppp/pppoe.c struct pppox_sock *po = pn->hash_table[i]; pn 305 drivers/net/ppp/pppoe.c write_unlock_bh(&pn->hash_lock); pn 325 drivers/net/ppp/pppoe.c write_lock_bh(&pn->hash_lock); pn 326 drivers/net/ppp/pppoe.c po = pn->hash_table[i]; pn 329 drivers/net/ppp/pppoe.c write_unlock_bh(&pn->hash_lock); pn 420 drivers/net/ppp/pppoe.c struct pppoe_net *pn; pn 444 drivers/net/ppp/pppoe.c pn = pppoe_pernet(dev_net(dev)); pn 449 drivers/net/ppp/pppoe.c po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); pn 489 drivers/net/ppp/pppoe.c struct pppoe_net *pn; pn 505 drivers/net/ppp/pppoe.c pn = pppoe_pernet(dev_net(dev)); pn 506 drivers/net/ppp/pppoe.c po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); pn 567 drivers/net/ppp/pppoe.c struct pppoe_net *pn; pn 592 drivers/net/ppp/pppoe.c pn = pppoe_pernet(net); pn 598 drivers/net/ppp/pppoe.c delete_item(pn, po->pppoe_pa.sid, po->pppoe_pa.remote, pn 618 drivers/net/ppp/pppoe.c struct pppoe_net *pn; pn 649 drivers/net/ppp/pppoe.c pn = pppoe_pernet(sock_net(sk)); pn 650 drivers/net/ppp/pppoe.c delete_item(pn, po->pppoe_pa.sid, pn 677 drivers/net/ppp/pppoe.c pn = pppoe_pernet(net); pn 686 drivers/net/ppp/pppoe.c write_lock_bh(&pn->hash_lock); pn 687 drivers/net/ppp/pppoe.c error = __set_item(pn, po); pn 688 drivers/net/ppp/pppoe.c write_unlock_bh(&pn->hash_lock); pn 701 drivers/net/ppp/pppoe.c delete_item(pn, po->pppoe_pa.sid, pn 1032 drivers/net/ppp/pppoe.c static inline struct pppox_sock *pppoe_get_idx(struct pppoe_net *pn, loff_t pos) pn 1038 drivers/net/ppp/pppoe.c po = pn->hash_table[i]; pn 1051 drivers/net/ppp/pppoe.c __acquires(pn->hash_lock) pn 1053 drivers/net/ppp/pppoe.c struct pppoe_net *pn = pppoe_pernet(seq_file_net(seq)); pn 1056 drivers/net/ppp/pppoe.c read_lock_bh(&pn->hash_lock); pn 1057 drivers/net/ppp/pppoe.c return l ? pppoe_get_idx(pn, --l) : SEQ_START_TOKEN; pn 1062 drivers/net/ppp/pppoe.c struct pppoe_net *pn = pppoe_pernet(seq_file_net(seq)); pn 1067 drivers/net/ppp/pppoe.c po = pppoe_get_idx(pn, 0); pn 1078 drivers/net/ppp/pppoe.c po = pn->hash_table[hash]; pn 1089 drivers/net/ppp/pppoe.c __releases(pn->hash_lock) pn 1091 drivers/net/ppp/pppoe.c struct pppoe_net *pn = pppoe_pernet(seq_file_net(seq)); pn 1092 drivers/net/ppp/pppoe.c read_unlock_bh(&pn->hash_lock); pn 1134 drivers/net/ppp/pppoe.c struct pppoe_net *pn = pppoe_pernet(net); pn 1137 drivers/net/ppp/pppoe.c rwlock_init(&pn->hash_lock); pn 63 drivers/net/usb/pegasus.c #define PEGASUS_DEV(pn, vid, pid, flags) \ pn 64 drivers/net/usb/pegasus.c {.name = pn, .vendor = vid, .device = pid, .private = flags}, pn 65 drivers/net/usb/pegasus.c #define PEGASUS_DEV_CLASS(pn, vid, pid, dclass, flags) \ pn 66 drivers/net/usb/pegasus.c PEGASUS_DEV(pn, vid, pid, flags) pn 75 drivers/net/usb/pegasus.c #define PEGASUS_DEV(pn, vid, pid, flags) \ pn 83 drivers/net/usb/pegasus.c #define PEGASUS_DEV_CLASS(pn, vid, pid, dclass, flags) \ pn 2065 drivers/net/wireless/ath/ath10k/htt_rx.c union htt_rx_pn_t *pn, pn 2070 drivers/net/wireless/ath/ath10k/htt_rx.c pn->pn48 = __le32_to_cpu(rx_desc->pn_31_0) + pn 2074 drivers/net/wireless/ath/ath10k/htt_rx.c pn->pn24 = __le32_to_cpu(rx_desc->pn_31_0); pn 266 drivers/net/wireless/ath/ath10k/rx_desc.h u8 pn[6]; pn 1564 drivers/net/wireless/ath/wil6210/cfg80211.c memcpy(cc->pn, params->seq, pn 1567 drivers/net/wireless/ath/wil6210/cfg80211.c memset(cc->pn, 0, IEEE80211_GCMP_PN_LEN); pn 1574 drivers/net/wireless/ath/wil6210/cfg80211.c memcpy(cc->pn, params->seq, IEEE80211_GCMP_PN_LEN); pn 1576 drivers/net/wireless/ath/wil6210/cfg80211.c memset(cc->pn, 0, IEEE80211_GCMP_PN_LEN); pn 1618 drivers/net/wireless/ath/wil6210/debugfs.c cc->pn); pn 683 drivers/net/wireless/ath/wil6210/txrx.c const u8 *pn = (u8 *)&d->mac.pn_15_0; pn 692 drivers/net/wireless/ath/wil6210/txrx.c if (reverse_memcmp(pn, cc->pn, IEEE80211_GCMP_PN_LEN) <= 0) { pn 695 drivers/net/wireless/ath/wil6210/txrx.c cid, tid, mc, key_id, pn, cc->pn); pn 698 drivers/net/wireless/ath/wil6210/txrx.c memcpy(cc->pn, pn, IEEE80211_GCMP_PN_LEN); pn 549 drivers/net/wireless/ath/wil6210/txrx_edma.c const u8 *pn; pn 564 drivers/net/wireless/ath/wil6210/txrx_edma.c pn = (u8 *)&st->ext.pn_15_0; pn 573 drivers/net/wireless/ath/wil6210/txrx_edma.c if (reverse_memcmp(pn, cc->pn, IEEE80211_GCMP_PN_LEN) <= 0) { pn 576 drivers/net/wireless/ath/wil6210/txrx_edma.c cid, tid, mc, key_id, pn, cc->pn); pn 579 drivers/net/wireless/ath/wil6210/txrx_edma.c memcpy(cc->pn, pn, IEEE80211_GCMP_PN_LEN); pn 709 drivers/net/wireless/ath/wil6210/wil6210.h u8 pn[IEEE80211_GCMP_PN_LEN]; pn 3811 drivers/net/wireless/intel/iwlwifi/dvm/commands.h __le64 pn; pn 972 drivers/net/wireless/intel/iwlwifi/dvm/lib.c aes_tx_sc->pn = cpu_to_le64(pn64); pn 981 drivers/net/wireless/intel/iwlwifi/dvm/lib.c u8 *pn = seq.ccmp.pn; pn 984 drivers/net/wireless/intel/iwlwifi/dvm/lib.c aes_sc[i].pn = cpu_to_le64( pn 985 drivers/net/wireless/intel/iwlwifi/dvm/lib.c (u64)pn[5] | pn 986 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ((u64)pn[4] << 8) | pn 987 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ((u64)pn[3] << 16) | pn 988 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ((u64)pn[2] << 24) | pn 989 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ((u64)pn[1] << 32) | pn 990 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ((u64)pn[0] << 40)); pn 432 drivers/net/wireless/intel/iwlwifi/fw/api/d3.h __le64 pn; pn 144 drivers/net/wireless/intel/iwlwifi/mvm/d3.c const u8 *ret = seq->ccmp.pn; pn 152 drivers/net/wireless/intel/iwlwifi/mvm/d3.c const u8 *tmp = ptk_pn->q[i].pn[tid]; pn 314 drivers/net/wireless/intel/iwlwifi/mvm/d3.c aes_tx_sc->pn = cpu_to_le64(pn64); pn 326 drivers/net/wireless/intel/iwlwifi/mvm/d3.c const u8 *pn; pn 336 drivers/net/wireless/intel/iwlwifi/mvm/d3.c pn = iwl_mvm_find_max_pn(key, ptk_pn, &seq, i, pn 338 drivers/net/wireless/intel/iwlwifi/mvm/d3.c aes_sc[i].pn = cpu_to_le64((u64)pn[5] | pn 339 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ((u64)pn[4] << 8) | pn 340 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ((u64)pn[3] << 16) | pn 341 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ((u64)pn[2] << 24) | pn 342 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ((u64)pn[1] << 32) | pn 343 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ((u64)pn[0] << 40)); pn 347 drivers/net/wireless/intel/iwlwifi/mvm/d3.c u8 *pn = seq.ccmp.pn; pn 350 drivers/net/wireless/intel/iwlwifi/mvm/d3.c aes_sc[i].pn = cpu_to_le64((u64)pn[5] | pn 351 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ((u64)pn[4] << 8) | pn 352 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ((u64)pn[3] << 16) | pn 353 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ((u64)pn[2] << 24) | pn 354 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ((u64)pn[1] << 32) | pn 355 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ((u64)pn[0] << 40)); pn 1257 drivers/net/wireless/intel/iwlwifi/mvm/d3.c u64 pn; pn 1259 drivers/net/wireless/intel/iwlwifi/mvm/d3.c pn = le64_to_cpu(sc->pn); pn 1260 drivers/net/wireless/intel/iwlwifi/mvm/d3.c seq->ccmp.pn[0] = pn >> 40; pn 1261 drivers/net/wireless/intel/iwlwifi/mvm/d3.c seq->ccmp.pn[1] = pn >> 32; pn 1262 drivers/net/wireless/intel/iwlwifi/mvm/d3.c seq->ccmp.pn[2] = pn >> 24; pn 1263 drivers/net/wireless/intel/iwlwifi/mvm/d3.c seq->ccmp.pn[3] = pn >> 16; pn 1264 drivers/net/wireless/intel/iwlwifi/mvm/d3.c seq->ccmp.pn[4] = pn >> 8; pn 1265 drivers/net/wireless/intel/iwlwifi/mvm/d3.c seq->ccmp.pn[5] = pn; pn 1301 drivers/net/wireless/intel/iwlwifi/mvm/d3.c memcpy(ptk_pn->q[i].pn[tid], pn 1302 drivers/net/wireless/intel/iwlwifi/mvm/d3.c seq.ccmp.pn, IEEE80211_CCMP_PN_LEN); pn 1400 drivers/net/wireless/intel/iwlwifi/mvm/d3.c atomic64_set(&key->tx_pn, le64_to_cpu(sc->aes.tsc.pn)); pn 3450 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c memcpy(ptk_pn->q[q].pn[tid], pn 3451 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c seq.ccmp.pn, pn 104 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c u8 pn[IEEE80211_CCMP_PN_LEN]; pn 152 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c pn[0] = extiv[7]; pn 153 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c pn[1] = extiv[6]; pn 154 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c pn[2] = extiv[5]; pn 155 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c pn[3] = extiv[4]; pn 156 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c pn[4] = extiv[1]; pn 157 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c pn[5] = extiv[0]; pn 159 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); pn 165 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); pn 3209 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u64 pn = 0; pn 3233 drivers/net/wireless/intel/iwlwifi/mvm/sta.c pn = atomic64_read(&key->tx_pn); pn 3247 drivers/net/wireless/intel/iwlwifi/mvm/sta.c pn = atomic64_read(&key->tx_pn); pn 3263 drivers/net/wireless/intel/iwlwifi/mvm/sta.c pn = atomic64_read(&key->tx_pn); pn 3280 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u.cmd.transmit_seq_cnt = cpu_to_le64(pn); pn 3336 drivers/net/wireless/intel/iwlwifi/mvm/sta.c const u8 *pn; pn 3355 drivers/net/wireless/intel/iwlwifi/mvm/sta.c pn = seq.aes_cmac.pn; pn 3356 drivers/net/wireless/intel/iwlwifi/mvm/sta.c igtk_cmd.receive_seq_cnt = cpu_to_le64(((u64) pn[5] << 0) | pn 3357 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ((u64) pn[4] << 8) | pn 3358 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ((u64) pn[3] << 16) | pn 3359 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ((u64) pn[2] << 24) | pn 3360 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ((u64) pn[1] << 32) | pn 3361 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ((u64) pn[0] << 40)); pn 338 drivers/net/wireless/intel/iwlwifi/mvm/sta.h u8 pn[IWL_MAX_TID_COUNT][IEEE80211_CCMP_PN_LEN]; pn 417 drivers/net/wireless/intel/iwlwifi/mvm/tx.c u64 pn; pn 419 drivers/net/wireless/intel/iwlwifi/mvm/tx.c pn = atomic64_inc_return(&keyconf->tx_pn); pn 420 drivers/net/wireless/intel/iwlwifi/mvm/tx.c crypto_hdr[0] = pn; pn 423 drivers/net/wireless/intel/iwlwifi/mvm/tx.c crypto_hdr[1] = pn >> 8; pn 424 drivers/net/wireless/intel/iwlwifi/mvm/tx.c crypto_hdr[4] = pn >> 16; pn 425 drivers/net/wireless/intel/iwlwifi/mvm/tx.c crypto_hdr[5] = pn >> 24; pn 426 drivers/net/wireless/intel/iwlwifi/mvm/tx.c crypto_hdr[6] = pn >> 32; pn 427 drivers/net/wireless/intel/iwlwifi/mvm/tx.c crypto_hdr[7] = pn >> 40; pn 442 drivers/net/wireless/intel/iwlwifi/mvm/tx.c u64 pn; pn 452 drivers/net/wireless/intel/iwlwifi/mvm/tx.c pn = atomic64_inc_return(&keyconf->tx_pn); pn 453 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ieee80211_tkip_add_iv(crypto_hdr, keyconf, pn); pn 948 drivers/net/wireless/marvell/mwifiex/fw.h u8 pn[WPA_PN_SIZE]; pn 954 drivers/net/wireless/marvell/mwifiex/fw.h u8 pn[WPA_PN_SIZE]; pn 960 drivers/net/wireless/marvell/mwifiex/fw.h u8 pn[PN_LEN]; pn 260 drivers/net/wireless/marvell/mwifiex/ioctl.h u8 pn[PN_LEN]; /* packet number */ pn 605 drivers/net/wireless/marvell/mwifiex/sta_cmd.c enc_key->pn, enc_key->pn_len); pn 623 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.aes.pn, pn 624 drivers/net/wireless/marvell/mwifiex/sta_cmd.c enc_key->pn, enc_key->pn_len); pn 753 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.wapi.pn, enc_key->pn, pn 794 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(km->key_param_set.key_params.tkip.pn, pn 795 drivers/net/wireless/marvell/mwifiex/sta_cmd.c enc_key->pn, enc_key->pn_len); pn 890 drivers/net/wireless/marvell/mwifiex/sta_cmd.c enc_key->pn, PN_LEN); pn 968 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(param->ipn, enc_key->pn, IGTK_PN_LEN); pn 1130 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c memcpy(encrypt_key.pn, kp->seq, kp->seq_len); pn 482 drivers/net/wireless/mediatek/mt76/mac80211.c memcpy(wcid->rx_key_pn[i], seq.ccmp.pn, sizeof(seq.ccmp.pn)); pn 830 drivers/net/wireless/mediatek/mt76/mac80211.c u8 *hdr, *pn = status->iv; pn 836 drivers/net/wireless/mediatek/mt76/mac80211.c hdr[0] = pn[5]; pn 837 drivers/net/wireless/mediatek/mt76/mac80211.c hdr[1] = pn[4]; pn 840 drivers/net/wireless/mediatek/mt76/mac80211.c hdr[4] = pn[3]; pn 841 drivers/net/wireless/mediatek/mt76/mac80211.c hdr[5] = pn[2]; pn 842 drivers/net/wireless/mediatek/mt76/mac80211.c hdr[6] = pn[1]; pn 843 drivers/net/wireless/mediatek/mt76/mac80211.c hdr[7] = pn[0]; pn 895 drivers/net/wireless/mediatek/mt76/mt7603/mac.c u64 pn = atomic64_inc_return(&key->tx_pn); pn 898 drivers/net/wireless/mediatek/mt76/mt7603/mac.c txwi[4] = cpu_to_le32(pn & GENMASK(31, 0)); pn 899 drivers/net/wireless/mediatek/mt76/mt7603/mac.c txwi[5] |= cpu_to_le32(FIELD_PREP(MT_TXD5_PN_HIGH, pn >> 32)); pn 347 drivers/net/wireless/mediatek/mt76/mt7615/mcu.h u8 pn[6]; pn 65 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u64 pn; pn 71 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c pn = (u64)eiv << 16; pn 73 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c pn |= (iv >> 16) & 0xff; pn 74 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c pn |= (iv & 0xff) << 8; pn 76 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c pn |= iv & 0xffff; pn 81 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c atomic64_set(&key->tx_pn, pn); pn 90 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u64 pn; pn 104 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c pn = atomic64_read(&key->tx_pn); pn 109 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c put_unaligned_le32(pn >> 16, &iv_data[4]); pn 113 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c iv_data[0] = (pn >> 8) & 0xff; pn 115 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c iv_data[2] = pn & 0xff; pn 117 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c put_unaligned_le16((pn & 0xffff), &iv_data[0]); pn 343 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u64 pn = atomic64_inc_return(&key->tx_pn); pn 345 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ccmp_pn[0] = pn; pn 346 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ccmp_pn[1] = pn >> 8; pn 349 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ccmp_pn[4] = pn >> 16; pn 350 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ccmp_pn[5] = pn >> 24; pn 351 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ccmp_pn[6] = pn >> 32; pn 352 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ccmp_pn[7] = pn >> 40; pn 779 drivers/net/wireless/st/cw1200/sta.c wsm_key->aes_group.rx_seqnum[0] = seq.ccmp.pn[5]; pn 780 drivers/net/wireless/st/cw1200/sta.c wsm_key->aes_group.rx_seqnum[1] = seq.ccmp.pn[4]; pn 781 drivers/net/wireless/st/cw1200/sta.c wsm_key->aes_group.rx_seqnum[2] = seq.ccmp.pn[3]; pn 782 drivers/net/wireless/st/cw1200/sta.c wsm_key->aes_group.rx_seqnum[3] = seq.ccmp.pn[2]; pn 783 drivers/net/wireless/st/cw1200/sta.c wsm_key->aes_group.rx_seqnum[4] = seq.ccmp.pn[1]; pn 784 drivers/net/wireless/st/cw1200/sta.c wsm_key->aes_group.rx_seqnum[5] = seq.ccmp.pn[0]; pn 3237 drivers/nvme/host/fc.c u64 pn; pn 3290 drivers/nvme/host/fc.c if (__nvme_fc_parse_u64(&wwn, &traddr->pn)) pn 3312 drivers/nvme/host/fc.c if (ret || !raddr.nn || !raddr.pn) pn 3316 drivers/nvme/host/fc.c if (ret || !laddr.nn || !laddr.pn) pn 3323 drivers/nvme/host/fc.c lport->localport.port_name != laddr.pn) pn 3328 drivers/nvme/host/fc.c rport->remoteport.port_name != raddr.pn) pn 2432 drivers/nvme/target/fc.c u64 pn; pn 2485 drivers/nvme/target/fc.c if (__nvme_fc_parse_u64(&wwn, &traddr->pn)) pn 2524 drivers/nvme/target/fc.c (tgtport->fc_target_port.port_name == traddr.pn)) { pn 245 drivers/pinctrl/sh-pfc/pfc-emev2.c #define __PIN_CFG(pn, pfx, sfx) SH_PFC_PIN_CFG(pfx, 0) pn 254 drivers/pinctrl/sh-pfc/pfc-emev2.c #define __PORT_DATA(pn, pfx, sfx) PINMUX_DATA(PORT##pfx##_DATA, PORT##pfx##_FN) pn 633 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) pn 635 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_10(pn, fn, pfx, sfx) \ pn 636 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \ pn 637 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \ pn 638 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \ pn 639 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \ pn 640 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx) pn 642 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_90(pn, fn, pfx, sfx) \ pn 643 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \ pn 644 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \ pn 645 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_10(pn+50, fn, pfx##5, sfx), PORT_10(pn+60, fn, pfx##6, sfx), \ pn 646 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_10(pn+70, fn, pfx##7, sfx), PORT_10(pn+80, fn, pfx##8, sfx), \ pn 647 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_10(pn+90, fn, pfx##9, sfx) pn 650 drivers/pinctrl/sh-pfc/sh_pfc.h #define _PORT_ALL(pn, pfx, sfx) pfx##_##sfx pn 673 drivers/pinctrl/sh-pfc/sh_pfc.h #define _PORT_DATA(pn, pfx, sfx) \ pn 687 drivers/pinctrl/sh-pfc/sh_pfc.h #define _PORT_ENTRY(pn, pfx, sfx) \ pn 688 drivers/pinctrl/sh-pfc/sh_pfc.h deprecated)); char pfx[pn] __attribute__((deprecated pn 401 drivers/power/supply/bq24190_charger.c BQ24190_SYSFS_FIELD_RO(pn, VPRS, PN), pn 95 drivers/rtc/rtc-abx80x.c u16 pn; pn 101 drivers/rtc/rtc-abx80x.c [AB0801] = {.pn = 0x0801}, pn 102 drivers/rtc/rtc-abx80x.c [AB0803] = {.pn = 0x0803}, pn 103 drivers/rtc/rtc-abx80x.c [AB0804] = {.pn = 0x0804, .has_tc = true, .has_wdog = true}, pn 104 drivers/rtc/rtc-abx80x.c [AB0805] = {.pn = 0x0805, .has_tc = true, .has_wdog = true}, pn 105 drivers/rtc/rtc-abx80x.c [AB1801] = {.pn = 0x1801}, pn 106 drivers/rtc/rtc-abx80x.c [AB1803] = {.pn = 0x1803}, pn 107 drivers/rtc/rtc-abx80x.c [AB1804] = {.pn = 0x1804, .has_tc = true, .has_wdog = true}, pn 108 drivers/rtc/rtc-abx80x.c [AB1805] = {.pn = 0x1805, .has_tc = true, .has_wdog = true}, pn 109 drivers/rtc/rtc-abx80x.c [RV1805] = {.pn = 0x1805, .has_tc = true, .has_wdog = true}, pn 110 drivers/rtc/rtc-abx80x.c [ABX80X] = {.pn = 0} pn 781 drivers/rtc/rtc-abx80x.c for (i = 0; abx80x_caps[i].pn; i++) pn 782 drivers/rtc/rtc-abx80x.c if (partnumber == abx80x_caps[i].pn) pn 784 drivers/rtc/rtc-abx80x.c if (abx80x_caps[i].pn == 0) { pn 792 drivers/rtc/rtc-abx80x.c if (partnumber != abx80x_caps[part].pn) { pn 794 drivers/rtc/rtc-abx80x.c partnumber, abx80x_caps[part].pn); pn 244 drivers/sbus/char/oradax.c u64 pn; pn 251 drivers/sbus/char/oradax.c mdesc_for_each_node_by_name(hp, pn, "virtual-device") { pn 252 drivers/sbus/char/oradax.c prop = (char *)mdesc_get_property(hp, pn, "name", &len); pn 257 drivers/sbus/char/oradax.c dax_dbg("Found node 0x%llx = %s", pn, prop); pn 259 drivers/sbus/char/oradax.c prop = (char *)mdesc_get_property(hp, pn, "compatible", &len); pn 262 drivers/sbus/char/oradax.c dax_dbg("Found node 0x%llx = %s", pn, prop); pn 576 drivers/scsi/libfc/fc_disc.c struct fc_ns_gid_pn *pn; pn 592 drivers/scsi/libfc/fc_disc.c sizeof(*cp) + sizeof(*pn)) pn 594 drivers/scsi/libfc/fc_disc.c pn = (struct fc_ns_gid_pn *)(cp + 1); pn 595 drivers/scsi/libfc/fc_disc.c port_name = get_unaligned_be64(&pn->fn_wwpn); pn 55 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_name *nn, struct lpfc_name *pn) pn 67 drivers/scsi/lpfc/lpfc_nportdisc.c if (memcmp(pn, &ndlp->nlp_portname, sizeof (struct lpfc_name))) pn 89 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c u8 *pn, u8 *iv, u8 *aad) pn 124 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c memcpy(iv + 8, pn, CCMP_PN_LEN); pn 229 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c u8 pn[6]; pn 261 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c pn[0] = pos[7]; pn 262 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c pn[1] = pos[6]; pn 263 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c pn[2] = pos[5]; pn 264 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c pn[3] = pos[4]; pn 265 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c pn[4] = pos[1]; pn 266 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c pn[5] = pos[0]; pn 268 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { pn 284 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c aad_len = ccmp_init_iv_and_aad(hdr, pn, iv, aad); pn 306 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c memcpy(key->rx_pn, pn, CCMP_PN_LEN); pn 93 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c u8 *pn, u8 *iv, u8 *aad) pn 132 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c memcpy(iv + 8, pn, CCMP_PN_LEN); pn 234 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c u8 pn[6]; pn 266 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c pn[0] = pos[7]; pn 267 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c pn[1] = pos[6]; pn 268 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c pn[2] = pos[5]; pn 269 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c pn[3] = pos[4]; pn 270 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c pn[4] = pos[1]; pn 271 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c pn[5] = pos[0]; pn 274 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { pn 277 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c hdr->addr2, key->rx_pn, pn); pn 294 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c aad_len = ccmp_init_iv_and_aad(hdr, pn, iv, aad); pn 316 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c memcpy(key->rx_pn, pn, CCMP_PN_LEN); pn 1841 drivers/staging/speakup/main.c char *pn; pn 1855 drivers/staging/speakup/main.c for (pn = p_header->name; *pn; pn++) { pn 1856 drivers/staging/speakup/main.c if (*pn == '_') pn 1859 drivers/staging/speakup/main.c *cp++ = *pn; pn 2850 drivers/usb/gadget/function/f_mass_storage.c const char *pn) pn 2859 drivers/usb/gadget/function/f_mass_storage.c pn ?: ((*common->luns)->cdrom pn 138 drivers/usb/gadget/function/f_mass_storage.h const char *pn); pn 1502 drivers/usb/host/u132-hcd.c static void port_power(struct u132 *u132, int pn, int is_on) pn 1504 drivers/usb/host/u132-hcd.c u132->port[pn].power = is_on; pn 424 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define CFG_PALETTE_ENA(pn) ((pn)<<28) pn 154 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c struct device_node *pn; pn 156 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c pn = of_graph_get_remote_port_parent(n); pn 158 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c if (!pn) pn 161 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c if (!of_device_is_available(pn) || omapdss_list_contains(pn)) { pn 162 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c of_node_put(pn); pn 166 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c omapdss_walk_device(pn, false); pn 215 drivers/video/fbdev/pxa168fb.h #define CFG_PALETTE_ENA(pn) ((pn) << 28) pn 844 fs/gfs2/ops_fstype.c struct inode *pn = NULL; pn 856 fs/gfs2/ops_fstype.c pn = gfs2_lookup_simple(master, "per_node"); pn 857 fs/gfs2/ops_fstype.c if (IS_ERR(pn)) { pn 858 fs/gfs2/ops_fstype.c error = PTR_ERR(pn); pn 864 fs/gfs2/ops_fstype.c sdp->sd_sc_inode = gfs2_lookup_simple(pn, buf); pn 872 fs/gfs2/ops_fstype.c sdp->sd_qc_inode = gfs2_lookup_simple(pn, buf); pn 879 fs/gfs2/ops_fstype.c iput(pn); pn 880 fs/gfs2/ops_fstype.c pn = NULL; pn 909 fs/gfs2/ops_fstype.c iput(pn); pn 3000 fs/jfs/jfs_dtree.c s16 pn; pn 3135 fs/jfs/jfs_dtree.c if (dtoffset->pn == 0) { pn 3143 fs/jfs/jfs_dtree.c dtoffset->pn = 1; pn 3281 fs/jfs/jfs_dtree.c dtoffset->pn++; pn 3407 fs/jfs/jfs_dtree.c s16 pn; pn 3415 fs/jfs/jfs_dtree.c int pn; pn 3430 fs/jfs/jfs_dtree.c pn = dtoffset->pn - 1; /* Now pn = 0 represents leftmost leaf */ pn 3434 fs/jfs/jfs_dtree.c if (pn == 0) { pn 3445 fs/jfs/jfs_dtree.c dtoffset->pn++; pn 3457 fs/jfs/jfs_dtree.c if (pn > 1) pn 3491 fs/jfs/jfs_dtree.c while (pn >= p->header.nextindex) { pn 3492 fs/jfs/jfs_dtree.c pn -= p->header.nextindex; pn 3517 fs/jfs/jfs_dtree.c xd = (pxd_t *) & p->slot[stbl[pn]]; pn 3553 fs/jfs/jfs_dtree.c dtoffset->pn++; pn 177 fs/jfs/jfs_logmgr.c static int lbmRead(struct jfs_log * log, int pn, struct lbuf ** bpp); pn 519 fs/jfs/jfs_logmgr.c tblk->pn = log->page; pn 564 fs/jfs/jfs_logmgr.c int pn; /* current page number */ pn 570 fs/jfs/jfs_logmgr.c pn = log->page; pn 596 fs/jfs/jfs_logmgr.c if (tblk && tblk->pn == pn) { pn 634 fs/jfs/jfs_logmgr.c log->page = (pn == log->size - 1) ? 2 : pn + 1; pn 760 fs/jfs/jfs_logmgr.c gcpn = list_entry(log->cqueue.next, struct tblock, cqueue)->pn; pn 763 fs/jfs/jfs_logmgr.c if (tblk->pn != gcpn) pn 1883 fs/jfs/jfs_logmgr.c static struct lbuf *lbmAllocate(struct jfs_log * log, int pn) pn 1901 fs/jfs/jfs_logmgr.c bp->l_pn = pn; pn 1902 fs/jfs/jfs_logmgr.c bp->l_blkno = log->base + (pn << (L2LOGPSIZE - log->l2bsize)); pn 1969 fs/jfs/jfs_logmgr.c static int lbmRead(struct jfs_log * log, int pn, struct lbuf ** bpp) pn 1977 fs/jfs/jfs_logmgr.c *bpp = bp = lbmAllocate(log, pn); pn 1978 fs/jfs/jfs_logmgr.c jfs_info("lbmRead: bp:0x%p pn:0x%x", bp, pn); pn 46 fs/jfs/jfs_txnmgr.h s32 pn; /* commit record log page number */ pn 670 include/linux/memcontrol.h struct mem_cgroup_per_node *pn; pn 676 include/linux/memcontrol.h pn = container_of(lruvec, struct mem_cgroup_per_node, lruvec); pn 677 include/linux/memcontrol.h x = atomic_long_read(&pn->lruvec_stat[idx]); pn 688 include/linux/memcontrol.h struct mem_cgroup_per_node *pn; pn 695 include/linux/memcontrol.h pn = container_of(lruvec, struct mem_cgroup_per_node, lruvec); pn 697 include/linux/memcontrol.h x += per_cpu(pn->lruvec_stat_local->count[idx], cpu); pn 204 include/linux/scif.h int scif_bind(scif_epd_t epd, u16 pn); pn 1768 include/net/mac80211.h #define TKIP_PN_TO_IV16(pn) ((u16)(pn & 0xffff)) pn 1769 include/net/mac80211.h #define TKIP_PN_TO_IV32(pn) ((u32)((pn >> 16) & 0xffffffff)) pn 1792 include/net/mac80211.h u8 pn[6]; pn 1795 include/net/mac80211.h u8 pn[6]; pn 1798 include/net/mac80211.h u8 pn[6]; pn 1801 include/net/mac80211.h u8 pn[6]; pn 5041 include/net/mac80211.h u8 *ieee80211_tkip_add_iv(u8 *pos, struct ieee80211_key_conf *keyconf, u64 pn); pn 145 kernel/cgroup/cpuset.c int pn; pn 812 kernel/cgroup/cpuset.c csa[i]->pn = i; pn 819 kernel/cgroup/cpuset.c int apn = a->pn; pn 823 kernel/cgroup/cpuset.c int bpn = b->pn; pn 829 kernel/cgroup/cpuset.c if (c->pn == bpn) pn 830 kernel/cgroup/cpuset.c c->pn = apn; pn 856 kernel/cgroup/cpuset.c int apn = a->pn; pn 881 kernel/cgroup/cpuset.c if (apn == b->pn) { pn 888 kernel/cgroup/cpuset.c b->pn = -1; pn 280 kernel/locking/qspinlock_paravirt.h struct pv_node *pn = (struct pv_node *)node; pn 284 kernel/locking/qspinlock_paravirt.h pn->cpu = smp_processor_id(); pn 285 kernel/locking/qspinlock_paravirt.h pn->state = vcpu_running; pn 295 kernel/locking/qspinlock_paravirt.h struct pv_node *pn = (struct pv_node *)node; pn 320 kernel/locking/qspinlock_paravirt.h smp_store_mb(pn->state, vcpu_halted); pn 325 kernel/locking/qspinlock_paravirt.h pv_wait(&pn->state, vcpu_halted); pn 333 kernel/locking/qspinlock_paravirt.h cmpxchg(&pn->state, vcpu_halted, vcpu_running); pn 362 kernel/locking/qspinlock_paravirt.h struct pv_node *pn = (struct pv_node *)node; pn 380 kernel/locking/qspinlock_paravirt.h if (cmpxchg_relaxed(&pn->state, vcpu_halted, vcpu_hashed) pn 392 kernel/locking/qspinlock_paravirt.h (void)pv_hash(lock, pn); pn 405 kernel/locking/qspinlock_paravirt.h struct pv_node *pn = (struct pv_node *)node; pn 414 kernel/locking/qspinlock_paravirt.h if (READ_ONCE(pn->state) == vcpu_hashed) pn 427 kernel/locking/qspinlock_paravirt.h WRITE_ONCE(pn->state, vcpu_running); pn 443 kernel/locking/qspinlock_paravirt.h lp = pv_hash(lock, pn); pn 467 kernel/locking/qspinlock_paravirt.h WRITE_ONCE(pn->state, vcpu_hashed); pn 363 mm/memcontrol.c struct mem_cgroup_per_node *pn; pn 371 mm/memcontrol.c pn = mem_cgroup_nodeinfo(memcg, nid); pn 372 mm/memcontrol.c map = rcu_dereference_protected(pn->shrinker_map, true); pn 375 mm/memcontrol.c rcu_assign_pointer(pn->shrinker_map, NULL); pn 715 mm/memcontrol.c parent_nodeinfo(struct mem_cgroup_per_node *pn, int nid) pn 719 mm/memcontrol.c parent = parent_mem_cgroup(pn->memcg); pn 739 mm/memcontrol.c struct mem_cgroup_per_node *pn; pn 749 mm/memcontrol.c pn = container_of(lruvec, struct mem_cgroup_per_node, lruvec); pn 750 mm/memcontrol.c memcg = pn->memcg; pn 756 mm/memcontrol.c __this_cpu_add(pn->lruvec_stat_local->count[idx], val); pn 758 mm/memcontrol.c x = val + __this_cpu_read(pn->lruvec_stat_cpu->count[idx]); pn 762 mm/memcontrol.c for (pi = pn; pi; pi = parent_nodeinfo(pi, pgdat->node_id)) pn 766 mm/memcontrol.c __this_cpu_write(pn->lruvec_stat_cpu->count[idx], x); pn 2330 mm/memcontrol.c struct mem_cgroup_per_node *pn; pn 2332 mm/memcontrol.c pn = mem_cgroup_nodeinfo(memcg, nid); pn 2333 mm/memcontrol.c x = this_cpu_xchg(pn->lruvec_stat_cpu->count[i], 0); pn 2336 mm/memcontrol.c atomic_long_add(x, &pn->lruvec_stat[i]); pn 2337 mm/memcontrol.c } while ((pn = parent_nodeinfo(pn, nid))); pn 3488 mm/memcontrol.c struct mem_cgroup_per_node *pn = memcg->nodeinfo[node]; pn 3497 mm/memcontrol.c pn->lruvec_stat_cpu->count[i], cpu); pn 3499 mm/memcontrol.c for (pi = pn; pi; pi = parent_nodeinfo(pi, node)) pn 5025 mm/memcontrol.c struct mem_cgroup_per_node *pn; pn 5037 mm/memcontrol.c pn = kzalloc_node(sizeof(*pn), GFP_KERNEL, tmp); pn 5038 mm/memcontrol.c if (!pn) pn 5041 mm/memcontrol.c pn->lruvec_stat_local = alloc_percpu(struct lruvec_stat); pn 5042 mm/memcontrol.c if (!pn->lruvec_stat_local) { pn 5043 mm/memcontrol.c kfree(pn); pn 5047 mm/memcontrol.c pn->lruvec_stat_cpu = alloc_percpu(struct lruvec_stat); pn 5048 mm/memcontrol.c if (!pn->lruvec_stat_cpu) { pn 5049 mm/memcontrol.c free_percpu(pn->lruvec_stat_local); pn 5050 mm/memcontrol.c kfree(pn); pn 5054 mm/memcontrol.c lruvec_init(&pn->lruvec); pn 5055 mm/memcontrol.c pn->usage_in_excess = 0; pn 5056 mm/memcontrol.c pn->on_tree = false; pn 5057 mm/memcontrol.c pn->memcg = memcg; pn 5059 mm/memcontrol.c memcg->nodeinfo[node] = pn; pn 5065 mm/memcontrol.c struct mem_cgroup_per_node *pn = memcg->nodeinfo[node]; pn 5067 mm/memcontrol.c if (!pn) pn 5070 mm/memcontrol.c free_percpu(pn->lruvec_stat_cpu); pn 5071 mm/memcontrol.c free_percpu(pn->lruvec_stat_local); pn 5072 mm/memcontrol.c kfree(pn); pn 330 mm/mmap.c struct rb_node *nd, *pn = NULL; pn 360 mm/mmap.c pn = nd; pn 365 mm/mmap.c for (nd = pn; nd; nd = rb_prev(nd)) pn 921 net/bluetooth/rfcomm/core.c struct rfcomm_pn *pn; pn 929 net/bluetooth/rfcomm/core.c hdr->len = __len8(sizeof(*mcc) + sizeof(*pn)); pn 933 net/bluetooth/rfcomm/core.c mcc->len = __len8(sizeof(*pn)); pn 935 net/bluetooth/rfcomm/core.c pn = (void *) ptr; ptr += sizeof(*pn); pn 936 net/bluetooth/rfcomm/core.c pn->dlci = d->dlci; pn 937 net/bluetooth/rfcomm/core.c pn->priority = d->priority; pn 938 net/bluetooth/rfcomm/core.c pn->ack_timer = 0; pn 939 net/bluetooth/rfcomm/core.c pn->max_retrans = 0; pn 942 net/bluetooth/rfcomm/core.c pn->flow_ctrl = cr ? 0xf0 : 0xe0; pn 943 net/bluetooth/rfcomm/core.c pn->credits = RFCOMM_DEFAULT_CREDITS; pn 945 net/bluetooth/rfcomm/core.c pn->flow_ctrl = 0; pn 946 net/bluetooth/rfcomm/core.c pn->credits = 0; pn 950 net/bluetooth/rfcomm/core.c pn->mtu = cpu_to_le16(channel_mtu); pn 952 net/bluetooth/rfcomm/core.c pn->mtu = cpu_to_le16(d->mtu); pn 1366 net/bluetooth/rfcomm/core.c static int rfcomm_apply_pn(struct rfcomm_dlc *d, int cr, struct rfcomm_pn *pn) pn 1371 net/bluetooth/rfcomm/core.c d, d->state, d->dlci, pn->mtu, pn->flow_ctrl, pn->credits); pn 1373 net/bluetooth/rfcomm/core.c if ((pn->flow_ctrl == 0xf0 && s->cfc != RFCOMM_CFC_DISABLED) || pn 1374 net/bluetooth/rfcomm/core.c pn->flow_ctrl == 0xe0) { pn 1376 net/bluetooth/rfcomm/core.c d->tx_credits = pn->credits; pn 1385 net/bluetooth/rfcomm/core.c d->priority = pn->priority; pn 1387 net/bluetooth/rfcomm/core.c d->mtu = __le16_to_cpu(pn->mtu); pn 1397 net/bluetooth/rfcomm/core.c struct rfcomm_pn *pn = (void *) skb->data; pn 1399 net/bluetooth/rfcomm/core.c u8 dlci = pn->dlci; pn 1410 net/bluetooth/rfcomm/core.c rfcomm_apply_pn(d, cr, pn); pn 1416 net/bluetooth/rfcomm/core.c rfcomm_apply_pn(d, cr, pn); pn 1436 net/bluetooth/rfcomm/core.c rfcomm_apply_pn(d, cr, pn); pn 1906 net/core/neighbour.c struct pneigh_entry *pn; pn 1909 net/core/neighbour.c pn = pneigh_lookup(tbl, net, dst, dev, 1); pn 1910 net/core/neighbour.c if (pn) { pn 1911 net/core/neighbour.c pn->flags = ndm->ndm_flags; pn 1913 net/core/neighbour.c pn->protocol = protocol; pn 2478 net/core/neighbour.c static int pneigh_fill_info(struct sk_buff *skb, struct pneigh_entry *pn, pn 2493 net/core/neighbour.c ndm->ndm_flags = pn->flags | NTF_PROXY; pn 2495 net/core/neighbour.c ndm->ndm_ifindex = pn->dev ? pn->dev->ifindex : 0; pn 2498 net/core/neighbour.c if (nla_put(skb, NDA_DST, tbl->key_len, pn->key)) pn 2501 net/core/neighbour.c if (pn->protocol && nla_put_u8(skb, NDA_PROTOCOL, pn->protocol)) pn 2894 net/core/neighbour.c struct pneigh_entry *pn; pn 2896 net/core/neighbour.c pn = pneigh_lookup(tbl, net, dst, dev, 0); pn 2897 net/core/neighbour.c if (!pn) { pn 2901 net/core/neighbour.c return pneigh_get_reply(net, pn, NETLINK_CB(in_skb).portid, pn 3134 net/core/neighbour.c struct pneigh_entry *pn = NULL; pn 3139 net/core/neighbour.c pn = tbl->phash_buckets[bucket]; pn 3140 net/core/neighbour.c while (pn && !net_eq(pneigh_net(pn), net)) pn 3141 net/core/neighbour.c pn = pn->next; pn 3142 net/core/neighbour.c if (pn) pn 3147 net/core/neighbour.c return pn; pn 3151 net/core/neighbour.c struct pneigh_entry *pn, pn 3159 net/core/neighbour.c pn = pn->next; pn 3160 net/core/neighbour.c } while (pn && !net_eq(pneigh_net(pn), net)); pn 3162 net/core/neighbour.c while (!pn) { pn 3165 net/core/neighbour.c pn = tbl->phash_buckets[state->bucket]; pn 3166 net/core/neighbour.c while (pn && !net_eq(pneigh_net(pn), net)) pn 3167 net/core/neighbour.c pn = pn->next; pn 3168 net/core/neighbour.c if (pn) pn 3172 net/core/neighbour.c if (pn && pos) pn 3175 net/core/neighbour.c return pn; pn 3180 net/core/neighbour.c struct pneigh_entry *pn = pneigh_get_first(seq); pn 3182 net/core/neighbour.c if (pn) { pn 3185 net/core/neighbour.c pn = pneigh_get_next(seq, pn, pos); pn 3186 net/core/neighbour.c if (!pn) pn 3190 net/core/neighbour.c return *pos ? NULL : pn; pn 468 net/core/pktgen.c static void pktgen_run_all_threads(struct pktgen_net *pn); pn 469 net/core/pktgen.c static void pktgen_reset_all_threads(struct pktgen_net *pn); pn 470 net/core/pktgen.c static void pktgen_stop_all_threads_ifs(struct pktgen_net *pn); pn 502 net/core/pktgen.c struct pktgen_net *pn = net_generic(current->nsproxy->net_ns, pg_net_id); pn 519 net/core/pktgen.c pktgen_stop_all_threads_ifs(pn); pn 522 net/core/pktgen.c pktgen_run_all_threads(pn); pn 525 net/core/pktgen.c pktgen_reset_all_threads(pn); pn 1856 net/core/pktgen.c static struct pktgen_dev *__pktgen_NN_threads(const struct pktgen_net *pn, pn 1863 net/core/pktgen.c list_for_each_entry(t, &pn->pktgen_threads, th_list) { pn 1879 net/core/pktgen.c static void pktgen_mark_device(const struct pktgen_net *pn, const char *ifname) pn 1890 net/core/pktgen.c pkt_dev = __pktgen_NN_threads(pn, ifname, REMOVE); pn 1911 net/core/pktgen.c static void pktgen_change_name(const struct pktgen_net *pn, struct net_device *dev) pn 1917 net/core/pktgen.c list_for_each_entry(t, &pn->pktgen_threads, th_list) { pn 1928 net/core/pktgen.c pn->proc_dir, pn 1945 net/core/pktgen.c struct pktgen_net *pn = net_generic(dev_net(dev), pg_net_id); pn 1947 net/core/pktgen.c if (pn->pktgen_exiting) pn 1956 net/core/pktgen.c pktgen_change_name(pn, dev); pn 1960 net/core/pktgen.c pktgen_mark_device(pn, dev->name); pn 1967 net/core/pktgen.c static struct net_device *pktgen_dev_get_by_name(const struct pktgen_net *pn, pn 1982 net/core/pktgen.c return dev_get_by_name(pn->net, b); pn 1988 net/core/pktgen.c static int pktgen_setup_dev(const struct pktgen_net *pn, pn 2000 net/core/pktgen.c odev = pktgen_dev_get_by_name(pn, pkt_dev, ifname); pn 2240 net/core/pktgen.c struct pktgen_net *pn = net_generic(dev_net(pkt_dev->odev), pg_net_id); pn 2247 net/core/pktgen.c x = xfrm_state_lookup_byspi(pn->net, htonl(pkt_dev->spi), AF_INET); pn 2250 net/core/pktgen.c x = xfrm_stateonly_find(pn->net, DUMMY_MARK, 0, pn 3030 net/core/pktgen.c static void pktgen_stop_all_threads_ifs(struct pktgen_net *pn) pn 3038 net/core/pktgen.c list_for_each_entry(t, &pn->pktgen_threads, th_list) pn 3078 net/core/pktgen.c static int pktgen_wait_all_threads_run(struct pktgen_net *pn) pn 3089 net/core/pktgen.c list_for_each_entry(t, &pn->pktgen_threads, th_list) { pn 3096 net/core/pktgen.c list_for_each_entry(t, &pn->pktgen_threads, th_list) pn 3104 net/core/pktgen.c static void pktgen_run_all_threads(struct pktgen_net *pn) pn 3112 net/core/pktgen.c list_for_each_entry(t, &pn->pktgen_threads, th_list) pn 3120 net/core/pktgen.c pktgen_wait_all_threads_run(pn); pn 3123 net/core/pktgen.c static void pktgen_reset_all_threads(struct pktgen_net *pn) pn 3131 net/core/pktgen.c list_for_each_entry(t, &pn->pktgen_threads, th_list) pn 3139 net/core/pktgen.c pktgen_wait_all_threads_run(pn); pn 3677 net/core/pktgen.c static int __net_init pktgen_create_thread(int cpu, struct pktgen_net *pn) pn 3695 net/core/pktgen.c list_add_tail(&t->th_list, &pn->pktgen_threads); pn 3711 net/core/pktgen.c pe = proc_create_data(t->tsk->comm, 0600, pn->proc_dir, pn 3722 net/core/pktgen.c t->net = pn; pn 3785 net/core/pktgen.c struct pktgen_net *pn = net_generic(net, pg_net_id); pn 3789 net/core/pktgen.c pn->net = net; pn 3790 net/core/pktgen.c INIT_LIST_HEAD(&pn->pktgen_threads); pn 3791 net/core/pktgen.c pn->pktgen_exiting = false; pn 3792 net/core/pktgen.c pn->proc_dir = proc_mkdir(PG_PROC_DIR, pn->net->proc_net); pn 3793 net/core/pktgen.c if (!pn->proc_dir) { pn 3797 net/core/pktgen.c pe = proc_create(PGCTRL, 0600, pn->proc_dir, &pktgen_fops); pn 3807 net/core/pktgen.c err = pktgen_create_thread(cpu, pn); pn 3813 net/core/pktgen.c if (list_empty(&pn->pktgen_threads)) { pn 3822 net/core/pktgen.c remove_proc_entry(PGCTRL, pn->proc_dir); pn 3824 net/core/pktgen.c remove_proc_entry(PG_PROC_DIR, pn->net->proc_net); pn 3830 net/core/pktgen.c struct pktgen_net *pn = net_generic(net, pg_net_id); pn 3836 net/core/pktgen.c pn->pktgen_exiting = true; pn 3839 net/core/pktgen.c list_splice_init(&pn->pktgen_threads, &list); pn 3850 net/core/pktgen.c remove_proc_entry(PGCTRL, pn->proc_dir); pn 3851 net/core/pktgen.c remove_proc_entry(PG_PROC_DIR, pn->net->proc_net); pn 940 net/ipv4/fib_trie.c struct key_vector *pn, *n = t->kv; pn 944 net/ipv4/fib_trie.c pn = n; pn 974 net/ipv4/fib_trie.c *tp = pn; pn 1320 net/ipv4/fib_trie.c struct key_vector *n, *pn; pn 1325 net/ipv4/fib_trie.c pn = t->kv; pn 1328 net/ipv4/fib_trie.c n = get_child_rcu(pn, cindex); pn 1367 net/ipv4/fib_trie.c pn = n; pn 1409 net/ipv4/fib_trie.c t_key pkey = pn->key; pn 1415 net/ipv4/fib_trie.c if (IS_TRIE(pn)) { pn 1424 net/ipv4/fib_trie.c pn = node_parent_rcu(pn); pn 1425 net/ipv4/fib_trie.c cindex = get_index(pkey, pn); pn 1432 net/ipv4/fib_trie.c cptr = &pn->tnode[cindex]; pn 1620 net/ipv4/fib_trie.c struct key_vector *pn, *n = *tn; pn 1626 net/ipv4/fib_trie.c pn = n; pn 1627 net/ipv4/fib_trie.c cindex = (key > pn->key) ? get_index(key, pn) : 0; pn 1629 net/ipv4/fib_trie.c if (cindex >> pn->bits) pn 1633 net/ipv4/fib_trie.c n = get_child_rcu(pn, cindex++); pn 1643 net/ipv4/fib_trie.c while (!IS_TRIE(pn)) { pn 1645 net/ipv4/fib_trie.c if (cindex >= (1ul << pn->bits)) { pn 1646 net/ipv4/fib_trie.c t_key pkey = pn->key; pn 1648 net/ipv4/fib_trie.c pn = node_parent_rcu(pn); pn 1649 net/ipv4/fib_trie.c cindex = get_index(pkey, pn) + 1; pn 1654 net/ipv4/fib_trie.c n = get_child_rcu(pn, cindex++); pn 1663 net/ipv4/fib_trie.c pn = n; pn 1667 net/ipv4/fib_trie.c *tn = pn; pn 1671 net/ipv4/fib_trie.c *tn = pn; pn 1678 net/ipv4/fib_trie.c struct key_vector *pn = t->kv; pn 1688 net/ipv4/fib_trie.c t_key pkey = pn->key; pn 1690 net/ipv4/fib_trie.c if (IS_TRIE(pn)) pn 1693 net/ipv4/fib_trie.c n = pn; pn 1694 net/ipv4/fib_trie.c pn = node_parent(pn); pn 1697 net/ipv4/fib_trie.c put_child_root(pn, n->key, NULL); pn 1700 net/ipv4/fib_trie.c cindex = get_index(pkey, pn); pn 1706 net/ipv4/fib_trie.c n = get_child(pn, cindex); pn 1712 net/ipv4/fib_trie.c pn = n; pn 1723 net/ipv4/fib_trie.c put_child_root(pn, n->key, NULL); pn 1795 net/ipv4/fib_trie.c struct key_vector *pn = t->kv; pn 1806 net/ipv4/fib_trie.c t_key pkey = pn->key; pn 1809 net/ipv4/fib_trie.c if (IS_TRIE(pn)) pn 1813 net/ipv4/fib_trie.c if (pn->slen > pn->pos) pn 1814 net/ipv4/fib_trie.c update_suffix(pn); pn 1817 net/ipv4/fib_trie.c pn = resize(t, pn); pn 1818 net/ipv4/fib_trie.c cindex = get_index(pkey, pn); pn 1824 net/ipv4/fib_trie.c n = get_child(pn, cindex); pn 1830 net/ipv4/fib_trie.c pn = n; pn 1854 net/ipv4/fib_trie.c put_child_root(pn, n->key, NULL); pn 1864 net/ipv4/fib_trie.c struct key_vector *pn = t->kv; pn 1876 net/ipv4/fib_trie.c t_key pkey = pn->key; pn 1879 net/ipv4/fib_trie.c if (IS_TRIE(pn)) pn 1883 net/ipv4/fib_trie.c if (pn->slen > pn->pos) pn 1884 net/ipv4/fib_trie.c update_suffix(pn); pn 1887 net/ipv4/fib_trie.c pn = resize(t, pn); pn 1888 net/ipv4/fib_trie.c cindex = get_index(pkey, pn); pn 1894 net/ipv4/fib_trie.c n = get_child(pn, cindex); pn 1900 net/ipv4/fib_trie.c pn = n; pn 1938 net/ipv4/fib_trie.c put_child_root(pn, n->key, NULL); pn 1952 net/ipv4/fib_trie.c struct key_vector *pn = t->kv; pn 1960 net/ipv4/fib_trie.c t_key pkey = pn->key; pn 1962 net/ipv4/fib_trie.c if (IS_TRIE(pn)) pn 1965 net/ipv4/fib_trie.c pn = node_parent(pn); pn 1966 net/ipv4/fib_trie.c cindex = get_index(pkey, pn); pn 1971 net/ipv4/fib_trie.c n = get_child(pn, cindex); pn 1977 net/ipv4/fib_trie.c pn = n; pn 2269 net/ipv4/fib_trie.c struct key_vector *pn = iter->tnode; pn 2275 net/ipv4/fib_trie.c while (!IS_TRIE(pn)) { pn 2276 net/ipv4/fib_trie.c while (cindex < child_length(pn)) { pn 2277 net/ipv4/fib_trie.c struct key_vector *n = get_child_rcu(pn, cindex++); pn 2283 net/ipv4/fib_trie.c iter->tnode = pn; pn 2296 net/ipv4/fib_trie.c pkey = pn->key; pn 2297 net/ipv4/fib_trie.c pn = node_parent_rcu(pn); pn 2298 net/ipv4/fib_trie.c cindex = get_index(pkey, pn) + 1; pn 2303 net/ipv4/fib_trie.c iter->tnode = pn; pn 2312 net/ipv4/fib_trie.c struct key_vector *n, *pn; pn 2317 net/ipv4/fib_trie.c pn = t->kv; pn 2318 net/ipv4/fib_trie.c n = rcu_dereference(pn->tnode[0]); pn 2327 net/ipv4/fib_trie.c iter->tnode = pn; pn 694 net/ipv6/ip6_fib.c struct fib6_node *pn = NULL; pn 752 net/ipv6/ip6_fib.c pn = fn; pn 788 net/ipv6/ip6_fib.c RCU_INIT_POINTER(ln->parent, pn); pn 791 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->right, ln); pn 793 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->left, ln); pn 807 net/ipv6/ip6_fib.c pn = rcu_dereference_protected(fn->parent, pn 845 net/ipv6/ip6_fib.c RCU_INIT_POINTER(in->parent, pn); pn 852 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->right, in); pn 854 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->left, in); pn 883 net/ipv6/ip6_fib.c RCU_INIT_POINTER(ln->parent, pn); pn 893 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->right, ln); pn 895 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->left, ln); pn 1307 net/ipv6/ip6_fib.c struct fib6_node *fn, *pn = NULL; pn 1332 net/ipv6/ip6_fib.c pn = fn; pn 1422 net/ipv6/ip6_fib.c if (pn != fn) { pn 1424 net/ipv6/ip6_fib.c rcu_dereference_protected(pn->leaf, pn 1428 net/ipv6/ip6_fib.c RCU_INIT_POINTER(pn->leaf, NULL); pn 1431 net/ipv6/ip6_fib.c if (!pn_leaf && !(pn->fn_flags & RTN_RTINFO)) { pn 1433 net/ipv6/ip6_fib.c pn); pn 1442 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->leaf, pn_leaf); pn 1726 net/ipv6/ip6_fib.c struct fib6_node *pn = rcu_dereference_protected(fn->parent, pn 1728 net/ipv6/ip6_fib.c struct fib6_node *pn_r = rcu_dereference_protected(pn->right, pn 1730 net/ipv6/ip6_fib.c struct fib6_node *pn_l = rcu_dereference_protected(pn->left, pn 1734 net/ipv6/ip6_fib.c struct fib6_info *pn_leaf = rcu_dereference_protected(pn->leaf, pn 1767 net/ipv6/ip6_fib.c return pn; pn 1771 net/ipv6/ip6_fib.c if (FIB6_SUBTREE(pn) == fn) { pn 1773 net/ipv6/ip6_fib.c RCU_INIT_POINTER(pn->subtree, NULL); pn 1779 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->right, child); pn 1781 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->left, child); pn 1787 net/ipv6/ip6_fib.c rcu_assign_pointer(child->parent, pn); pn 1798 net/ipv6/ip6_fib.c w->node = pn; pn 1817 net/ipv6/ip6_fib.c if (pn->fn_flags & RTN_RTINFO || FIB6_SUBTREE(pn)) pn 1818 net/ipv6/ip6_fib.c return pn; pn 1820 net/ipv6/ip6_fib.c RCU_INIT_POINTER(pn->leaf, NULL); pn 1822 net/ipv6/ip6_fib.c fn = pn; pn 1955 net/ipv6/ip6_fib.c struct fib6_node *fn, *pn, *left, *right; pn 2016 net/ipv6/ip6_fib.c pn = rcu_dereference_protected(fn->parent, 1); pn 2017 net/ipv6/ip6_fib.c left = rcu_dereference_protected(pn->left, 1); pn 2018 net/ipv6/ip6_fib.c right = rcu_dereference_protected(pn->right, 1); pn 2019 net/ipv6/ip6_fib.c w->node = pn; pn 2021 net/ipv6/ip6_fib.c if (FIB6_SUBTREE(pn) == fn) { pn 1154 net/ipv6/route.c struct fib6_node *pn, *sn; pn 1158 net/ipv6/route.c pn = rcu_dereference(fn->parent); pn 1159 net/ipv6/route.c sn = FIB6_SUBTREE(pn); pn 1163 net/ipv6/route.c fn = pn; pn 136 net/l2tp/l2tp_core.c l2tp_session_id_hash_2(struct l2tp_net *pn, u32 session_id) pn 138 net/l2tp/l2tp_core.c return &pn->l2tp_session_hlist[hash_32(session_id, L2TP_HASH_BITS_2)]; pn 164 net/l2tp/l2tp_core.c const struct l2tp_net *pn = l2tp_pernet(net); pn 168 net/l2tp/l2tp_core.c list_for_each_entry_rcu(tunnel, &pn->l2tp_tunnel_list, list) { pn 184 net/l2tp/l2tp_core.c const struct l2tp_net *pn = l2tp_pernet(net); pn 189 net/l2tp/l2tp_core.c list_for_each_entry_rcu(tunnel, &pn->l2tp_tunnel_list, list) { pn 274 net/l2tp/l2tp_core.c struct l2tp_net *pn = l2tp_pernet(net); pn 280 net/l2tp/l2tp_core.c hlist_for_each_entry_rcu(session, &pn->l2tp_session_hlist[hash], global_hlist) { pn 302 net/l2tp/l2tp_core.c struct l2tp_net *pn; pn 320 net/l2tp/l2tp_core.c pn = l2tp_pernet(tunnel->l2tp_net); pn 321 net/l2tp/l2tp_core.c g_head = l2tp_session_id_hash_2(pn, session->session_id); pn 323 net/l2tp/l2tp_core.c spin_lock_bh(&pn->l2tp_session_hlist_lock); pn 339 net/l2tp/l2tp_core.c spin_unlock_bh(&pn->l2tp_session_hlist_lock); pn 350 net/l2tp/l2tp_core.c spin_unlock_bh(&pn->l2tp_session_hlist_lock); pn 1255 net/l2tp/l2tp_core.c struct l2tp_net *pn; pn 1270 net/l2tp/l2tp_core.c pn = l2tp_pernet(tunnel->l2tp_net); pn 1271 net/l2tp/l2tp_core.c spin_lock_bh(&pn->l2tp_tunnel_list_lock); pn 1273 net/l2tp/l2tp_core.c spin_unlock_bh(&pn->l2tp_tunnel_list_lock); pn 1480 net/l2tp/l2tp_core.c struct l2tp_net *pn; pn 1502 net/l2tp/l2tp_core.c pn = l2tp_pernet(net); pn 1504 net/l2tp/l2tp_core.c spin_lock_bh(&pn->l2tp_tunnel_list_lock); pn 1505 net/l2tp/l2tp_core.c list_for_each_entry(tunnel_walk, &pn->l2tp_tunnel_list, list) { pn 1507 net/l2tp/l2tp_core.c spin_unlock_bh(&pn->l2tp_tunnel_list_lock); pn 1513 net/l2tp/l2tp_core.c list_add_rcu(&tunnel->list, &pn->l2tp_tunnel_list); pn 1514 net/l2tp/l2tp_core.c spin_unlock_bh(&pn->l2tp_tunnel_list_lock); pn 1600 net/l2tp/l2tp_core.c struct l2tp_net *pn = l2tp_pernet(tunnel->l2tp_net); pn 1601 net/l2tp/l2tp_core.c spin_lock_bh(&pn->l2tp_session_hlist_lock); pn 1603 net/l2tp/l2tp_core.c spin_unlock_bh(&pn->l2tp_session_hlist_lock); pn 1717 net/l2tp/l2tp_core.c struct l2tp_net *pn = net_generic(net, l2tp_net_id); pn 1720 net/l2tp/l2tp_core.c INIT_LIST_HEAD(&pn->l2tp_tunnel_list); pn 1721 net/l2tp/l2tp_core.c spin_lock_init(&pn->l2tp_tunnel_list_lock); pn 1724 net/l2tp/l2tp_core.c INIT_HLIST_HEAD(&pn->l2tp_session_hlist[hash]); pn 1726 net/l2tp/l2tp_core.c spin_lock_init(&pn->l2tp_session_hlist_lock); pn 1733 net/l2tp/l2tp_core.c struct l2tp_net *pn = l2tp_pernet(net); pn 1738 net/l2tp/l2tp_core.c list_for_each_entry_rcu(tunnel, &pn->l2tp_tunnel_list, list) { pn 1748 net/l2tp/l2tp_core.c WARN_ON_ONCE(!hlist_empty(&pn->l2tp_session_hlist[hash])); pn 625 net/mac80211/cfg.c memcpy(seq, kseq.ccmp.pn, 6); pn 87 net/mac80211/debugfs_key.c u64 pn; pn 105 net/mac80211/debugfs_key.c ret = kstrtou64_from_user(userbuf, count, 16, &pn); pn 109 net/mac80211/debugfs_key.c if (pn >= (1ULL << 48)) pn 111 net/mac80211/debugfs_key.c atomic64_set(&key->conf.tx_pn, pn); pn 121 net/mac80211/debugfs_key.c u64 pn; pn 132 net/mac80211/debugfs_key.c pn = atomic64_read(&key->conf.tx_pn); pn 134 net/mac80211/debugfs_key.c TKIP_PN_TO_IV32(pn), pn 135 net/mac80211/debugfs_key.c TKIP_PN_TO_IV16(pn)); pn 145 net/mac80211/debugfs_key.c pn = atomic64_read(&key->conf.tx_pn); pn 147 net/mac80211/debugfs_key.c (u8)(pn >> 40), (u8)(pn >> 32), (u8)(pn >> 24), pn 148 net/mac80211/debugfs_key.c (u8)(pn >> 16), (u8)(pn >> 8), (u8)pn); pn 1106 net/mac80211/key.c const u8 *pn; pn 1122 net/mac80211/key.c pn = key->u.ccmp.rx_pn[IEEE80211_NUM_TIDS]; pn 1124 net/mac80211/key.c pn = key->u.ccmp.rx_pn[tid]; pn 1125 net/mac80211/key.c memcpy(seq->ccmp.pn, pn, IEEE80211_CCMP_PN_LEN); pn 1131 net/mac80211/key.c pn = key->u.aes_cmac.rx_pn; pn 1132 net/mac80211/key.c memcpy(seq->aes_cmac.pn, pn, IEEE80211_CMAC_PN_LEN); pn 1138 net/mac80211/key.c pn = key->u.aes_gmac.rx_pn; pn 1139 net/mac80211/key.c memcpy(seq->aes_gmac.pn, pn, IEEE80211_GMAC_PN_LEN); pn 1146 net/mac80211/key.c pn = key->u.gcmp.rx_pn[IEEE80211_NUM_TIDS]; pn 1148 net/mac80211/key.c pn = key->u.gcmp.rx_pn[tid]; pn 1149 net/mac80211/key.c memcpy(seq->gcmp.pn, pn, IEEE80211_GCMP_PN_LEN); pn 1159 net/mac80211/key.c u8 *pn; pn 1175 net/mac80211/key.c pn = key->u.ccmp.rx_pn[IEEE80211_NUM_TIDS]; pn 1177 net/mac80211/key.c pn = key->u.ccmp.rx_pn[tid]; pn 1178 net/mac80211/key.c memcpy(pn, seq->ccmp.pn, IEEE80211_CCMP_PN_LEN); pn 1184 net/mac80211/key.c pn = key->u.aes_cmac.rx_pn; pn 1185 net/mac80211/key.c memcpy(pn, seq->aes_cmac.pn, IEEE80211_CMAC_PN_LEN); pn 1191 net/mac80211/key.c pn = key->u.aes_gmac.rx_pn; pn 1192 net/mac80211/key.c memcpy(pn, seq->aes_gmac.pn, IEEE80211_GMAC_PN_LEN); pn 1199 net/mac80211/key.c pn = key->u.gcmp.rx_pn[IEEE80211_NUM_TIDS]; pn 1201 net/mac80211/key.c pn = key->u.gcmp.rx_pn[tid]; pn 1202 net/mac80211/key.c memcpy(pn, seq->gcmp.pn, IEEE80211_GCMP_PN_LEN); pn 2244 net/mac80211/rx.c u8 pn[IEEE80211_CCMP_PN_LEN], *rpn; pn 2253 net/mac80211/rx.c memcpy(pn, entry->last_pn, IEEE80211_CCMP_PN_LEN); pn 2255 net/mac80211/rx.c pn[i]++; pn 2256 net/mac80211/rx.c if (pn[i]) pn 2261 net/mac80211/rx.c if (memcmp(pn, rpn, IEEE80211_CCMP_PN_LEN)) pn 2263 net/mac80211/rx.c memcpy(entry->last_pn, pn, IEEE80211_CCMP_PN_LEN); pn 143 net/mac80211/tkip.c u8 *ieee80211_tkip_add_iv(u8 *pos, struct ieee80211_key_conf *keyconf, u64 pn) pn 145 net/mac80211/tkip.c pos = write_tkip_iv(pos, TKIP_PN_TO_IV16(pn)); pn 147 net/mac80211/tkip.c put_unaligned_le32(TKIP_PN_TO_IV32(pn), pos); pn 3401 net/mac80211/tx.c u64 pn; pn 3409 net/mac80211/tx.c pn = atomic64_inc_return(&key->conf.tx_pn); pn 3410 net/mac80211/tx.c crypto_hdr[0] = pn; pn 3411 net/mac80211/tx.c crypto_hdr[1] = pn >> 8; pn 3413 net/mac80211/tx.c crypto_hdr[4] = pn >> 16; pn 3414 net/mac80211/tx.c crypto_hdr[5] = pn >> 24; pn 3415 net/mac80211/tx.c crypto_hdr[6] = pn >> 32; pn 3416 net/mac80211/tx.c crypto_hdr[7] = pn >> 40; pn 200 net/mac80211/wpa.c u64 pn; pn 232 net/mac80211/wpa.c pn = atomic64_inc_return(&key->conf.tx_pn); pn 233 net/mac80211/wpa.c pos = ieee80211_tkip_add_iv(pos, &key->conf, pn); pn 314 net/mac80211/wpa.c static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad) pn 358 net/mac80211/wpa.c memcpy(&b_0[8], pn, IEEE80211_CCMP_PN_LEN); pn 381 net/mac80211/wpa.c static inline void ccmp_pn2hdr(u8 *hdr, u8 *pn, int key_id) pn 383 net/mac80211/wpa.c hdr[0] = pn[5]; pn 384 net/mac80211/wpa.c hdr[1] = pn[4]; pn 387 net/mac80211/wpa.c hdr[4] = pn[3]; pn 388 net/mac80211/wpa.c hdr[5] = pn[2]; pn 389 net/mac80211/wpa.c hdr[6] = pn[1]; pn 390 net/mac80211/wpa.c hdr[7] = pn[0]; pn 394 net/mac80211/wpa.c static inline void ccmp_hdr2pn(u8 *pn, u8 *hdr) pn 396 net/mac80211/wpa.c pn[0] = hdr[7]; pn 397 net/mac80211/wpa.c pn[1] = hdr[6]; pn 398 net/mac80211/wpa.c pn[2] = hdr[5]; pn 399 net/mac80211/wpa.c pn[3] = hdr[4]; pn 400 net/mac80211/wpa.c pn[4] = hdr[1]; pn 401 net/mac80211/wpa.c pn[5] = hdr[0]; pn 413 net/mac80211/wpa.c u8 pn[6]; pn 456 net/mac80211/wpa.c pn[5] = pn64; pn 457 net/mac80211/wpa.c pn[4] = pn64 >> 8; pn 458 net/mac80211/wpa.c pn[3] = pn64 >> 16; pn 459 net/mac80211/wpa.c pn[2] = pn64 >> 24; pn 460 net/mac80211/wpa.c pn[1] = pn64 >> 32; pn 461 net/mac80211/wpa.c pn[0] = pn64 >> 40; pn 463 net/mac80211/wpa.c ccmp_pn2hdr(pos, pn, key->conf.keyidx); pn 470 net/mac80211/wpa.c ccmp_special_blocks(skb, pn, b_0, aad); pn 502 net/mac80211/wpa.c u8 pn[IEEE80211_CCMP_PN_LEN]; pn 529 net/mac80211/wpa.c ccmp_hdr2pn(pn, skb->data + hdrlen); pn 533 net/mac80211/wpa.c res = memcmp(pn, key->u.ccmp.rx_pn[queue], pn 545 net/mac80211/wpa.c ccmp_special_blocks(skb, pn, b_0, aad); pn 555 net/mac80211/wpa.c memcpy(key->u.ccmp.rx_pn[queue], pn, IEEE80211_CCMP_PN_LEN); pn 567 net/mac80211/wpa.c static void gcmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *j_0, u8 *aad) pn 574 net/mac80211/wpa.c memcpy(&j_0[ETH_ALEN], pn, IEEE80211_GCMP_PN_LEN); pn 615 net/mac80211/wpa.c static inline void gcmp_pn2hdr(u8 *hdr, const u8 *pn, int key_id) pn 617 net/mac80211/wpa.c hdr[0] = pn[5]; pn 618 net/mac80211/wpa.c hdr[1] = pn[4]; pn 621 net/mac80211/wpa.c hdr[4] = pn[3]; pn 622 net/mac80211/wpa.c hdr[5] = pn[2]; pn 623 net/mac80211/wpa.c hdr[6] = pn[1]; pn 624 net/mac80211/wpa.c hdr[7] = pn[0]; pn 627 net/mac80211/wpa.c static inline void gcmp_hdr2pn(u8 *pn, const u8 *hdr) pn 629 net/mac80211/wpa.c pn[0] = hdr[7]; pn 630 net/mac80211/wpa.c pn[1] = hdr[6]; pn 631 net/mac80211/wpa.c pn[2] = hdr[5]; pn 632 net/mac80211/wpa.c pn[3] = hdr[4]; pn 633 net/mac80211/wpa.c pn[4] = hdr[1]; pn 634 net/mac80211/wpa.c pn[5] = hdr[0]; pn 644 net/mac80211/wpa.c u8 pn[6]; pn 688 net/mac80211/wpa.c pn[5] = pn64; pn 689 net/mac80211/wpa.c pn[4] = pn64 >> 8; pn 690 net/mac80211/wpa.c pn[3] = pn64 >> 16; pn 691 net/mac80211/wpa.c pn[2] = pn64 >> 24; pn 692 net/mac80211/wpa.c pn[1] = pn64 >> 32; pn 693 net/mac80211/wpa.c pn[0] = pn64 >> 40; pn 695 net/mac80211/wpa.c gcmp_pn2hdr(pos, pn, key->conf.keyidx); pn 702 net/mac80211/wpa.c gcmp_special_blocks(skb, pn, j_0, aad); pn 730 net/mac80211/wpa.c u8 pn[IEEE80211_GCMP_PN_LEN]; pn 756 net/mac80211/wpa.c gcmp_hdr2pn(pn, skb->data + hdrlen); pn 760 net/mac80211/wpa.c res = memcmp(pn, key->u.gcmp.rx_pn[queue], pn 772 net/mac80211/wpa.c gcmp_special_blocks(skb, pn, j_0, aad); pn 783 net/mac80211/wpa.c memcpy(key->u.gcmp.rx_pn[queue], pn, IEEE80211_GCMP_PN_LEN); pn 911 net/mac80211/wpa.c static inline void bip_ipn_set64(u8 *d, u64 pn) pn 913 net/mac80211/wpa.c *d++ = pn; pn 914 net/mac80211/wpa.c *d++ = pn >> 8; pn 915 net/mac80211/wpa.c *d++ = pn >> 16; pn 916 net/mac80211/wpa.c *d++ = pn >> 24; pn 917 net/mac80211/wpa.c *d++ = pn >> 32; pn 918 net/mac80211/wpa.c *d = pn >> 40; pn 336 net/mac802154/llsec.c struct ieee802154_llsec_device_key *pos, *pn; pn 339 net/mac802154/llsec.c list_for_each_entry_safe(pos, pn, &dev->dev.keys, list) { pn 54 net/phonet/af_phonet.c struct pn_sock *pn; pn 98 net/phonet/af_phonet.c pn = pn_sk(sk); pn 99 net/phonet/af_phonet.c pn->sobject = 0; pn 100 net/phonet/af_phonet.c pn->dobject = 0; pn 101 net/phonet/af_phonet.c pn->resource = 0; pn 229 net/phonet/af_phonet.c struct pn_sock *pn = pn_sk(sk); pn 234 net/phonet/af_phonet.c src = pn->sobject; pn 239 net/phonet/af_phonet.c dst = pn->dobject; pn 240 net/phonet/af_phonet.c res = pn->resource; pn 110 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 121 net/phonet/pep.c ph->pipe_handle = pn->pipe_handle; pn 131 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 142 net/phonet/pep.c ph->pipe_handle = pn->pipe_handle; pn 149 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 152 net/phonet/pep.c pn->tx_fc, pn->rx_fc, pn 229 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 233 net/phonet/pep.c switch (pn->rx_fc) { pn 239 net/phonet/pep.c pn->rx_credits = 1; pn 242 net/phonet/pep.c if ((pn->rx_credits + CREDITS_THR) > CREDITS_MAX) pn 245 net/phonet/pep.c CREDITS_MAX - pn->rx_credits, pn 247 net/phonet/pep.c pn->rx_credits = CREDITS_MAX; pn 254 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 270 net/phonet/pep.c switch (pn->tx_fc) { pn 274 net/phonet/pep.c atomic_set(&pn->tx_credits, 0); pn 277 net/phonet/pep.c atomic_set(&pn->tx_credits, wake = 1); pn 283 net/phonet/pep.c atomic_set(&pn->tx_credits, wake = 1); pn 289 net/phonet/pep.c if (pn->tx_fc != PN_MULTI_CREDIT_FLOW_CONTROL) pn 291 net/phonet/pep.c atomic_add(wake = hdr->data[3], &pn->tx_credits); pn 306 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 310 net/phonet/pep.c pn->rx_fc = pn->tx_fc = PN_LEGACY_FLOW_CONTROL; pn 322 net/phonet/pep.c pn->tx_fc = data[0] & 3; pn 323 net/phonet/pep.c pn->rx_fc = data[1] & 3; pn 335 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 362 net/phonet/pep.c pn->init_enable = 0; pn 365 net/phonet/pep.c pn->init_enable = 1; pn 373 net/phonet/pep.c atomic_set(&pn->tx_credits, 0); pn 378 net/phonet/pep.c if (skb_queue_len(&pn->ctrlreq_queue) >= PNPIPE_CTRLREQ_MAX) { pn 383 net/phonet/pep.c queue = &pn->ctrlreq_queue; pn 391 net/phonet/pep.c if (!pn_flow_safe(pn->rx_fc)) { pn 399 net/phonet/pep.c if (pn->rx_credits == 0) { pn 404 net/phonet/pep.c pn->rx_credits--; pn 422 net/phonet/pep.c if (!pn->init_enable) pn 426 net/phonet/pep.c if (!pn_flow_safe(pn->tx_fc)) { pn 427 net/phonet/pep.c atomic_set(&pn->tx_credits, 1); pn 438 net/phonet/pep.c pn->rx_credits = 0; pn 462 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 465 net/phonet/pep.c skb_queue_purge(&pn->ctrlreq_queue); pn 484 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 508 net/phonet/pep.c pn->tx_fc = pipe_negotiate_fc(data + 2, len - 2); pn 514 net/phonet/pep.c pn->rx_fc = pipe_negotiate_fc(data + 2, len - 2); pn 538 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 540 net/phonet/pep.c if (!pn_flow_safe(pn->tx_fc)) { pn 541 net/phonet/pep.c atomic_set(&pn->tx_credits, 1); pn 551 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 561 net/phonet/pep.c if (!pn_flow_safe(pn->rx_fc)) { pn 569 net/phonet/pep.c if (pn->rx_credits == 0) { pn 574 net/phonet/pep.c pn->rx_credits--; pn 591 net/phonet/pep.c if (pn->init_enable == PN_PIPE_DISABLE) pn 656 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 673 net/phonet/pep.c sknode = pep_find_pipe(&pn->hlist, &dst, pipe_handle); pn 717 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 728 net/phonet/pep.c ph->pipe_handle = pn->pipe_handle; pn 736 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 753 net/phonet/pep.c ifindex = pn->ifindex; pn 754 net/phonet/pep.c pn->ifindex = 0; pn 765 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk), *newpn; pn 828 net/phonet/pep.c newsk = pep_find_pipe(&pn->hlist, &dst, pipe_handle); pn 875 net/phonet/pep.c sk_add_node(newsk, &pn->hlist); pn 885 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 889 net/phonet/pep.c if (pn->pipe_handle == PN_PIPE_INVALID_HANDLE) pn 890 net/phonet/pep.c pn->pipe_handle = 1; /* anything but INVALID_HANDLE */ pn 893 net/phonet/pep.c pn->init_enable, data, 4); pn 895 net/phonet/pep.c pn->pipe_handle = PN_PIPE_INVALID_HANDLE; pn 920 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 933 net/phonet/pep.c !skb_queue_empty(&pn->ctrlreq_queue)) pn 934 net/phonet/pep.c answ = skb_peek(&pn->ctrlreq_queue)->len; pn 960 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 963 net/phonet/pep.c INIT_HLIST_HEAD(&pn->hlist); pn 964 net/phonet/pep.c pn->listener = NULL; pn 965 net/phonet/pep.c skb_queue_head_init(&pn->ctrlreq_queue); pn 966 net/phonet/pep.c atomic_set(&pn->tx_credits, 0); pn 967 net/phonet/pep.c pn->ifindex = 0; pn 968 net/phonet/pep.c pn->peer_type = 0; pn 969 net/phonet/pep.c pn->pipe_handle = PN_PIPE_INVALID_HANDLE; pn 970 net/phonet/pep.c pn->rx_credits = 0; pn 971 net/phonet/pep.c pn->rx_fc = pn->tx_fc = PN_LEGACY_FLOW_CONTROL; pn 972 net/phonet/pep.c pn->init_enable = 1; pn 973 net/phonet/pep.c pn->aligned = 0; pn 980 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 997 net/phonet/pep.c if (!pn->ifindex == !val) pn 1007 net/phonet/pep.c pn->ifindex = err; pn 1011 net/phonet/pep.c pn->ifindex = 0; pn 1021 net/phonet/pep.c pn->pipe_handle = val; pn 1027 net/phonet/pep.c pn->init_enable = !!val; pn 1042 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 1052 net/phonet/pep.c val = pn->ifindex ? PNPIPE_ENCAP_IP : PNPIPE_ENCAP_NONE; pn 1056 net/phonet/pep.c val = pn->ifindex; pn 1060 net/phonet/pep.c val = pn->pipe_handle; pn 1066 net/phonet/pep.c val = pn->init_enable; pn 1083 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 1087 net/phonet/pep.c if (pn_flow_safe(pn->tx_fc) && pn 1088 net/phonet/pep.c !atomic_add_unless(&pn->tx_credits, -1, 0)) { pn 1093 net/phonet/pep.c skb_push(skb, 3 + pn->aligned); pn 1097 net/phonet/pep.c if (pn->aligned) { pn 1102 net/phonet/pep.c ph->pipe_handle = pn->pipe_handle; pn 1105 net/phonet/pep.c if (err && pn_flow_safe(pn->tx_fc)) pn 1106 net/phonet/pep.c atomic_inc(&pn->tx_credits); pn 1113 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 1132 net/phonet/pep.c skb_reserve(skb, MAX_PHONET_HEADER + 3 + pn->aligned); pn 1158 net/phonet/pep.c done = atomic_read(&pn->tx_credits); pn 1172 net/phonet/pep.c done = sk_wait_event(sk, &timeo, atomic_read(&pn->tx_credits), &wait); pn 1192 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 1194 net/phonet/pep.c return atomic_read(&pn->tx_credits); pn 1252 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 1256 net/phonet/pep.c skb = skb_dequeue(&pn->ctrlreq_queue); pn 1296 net/phonet/pep.c struct pep_sock *pn = pep_sk(sk); pn 1301 net/phonet/pep.c if (pn->listener != NULL) { pn 1302 net/phonet/pep.c skparent = pn->listener; pn 1303 net/phonet/pep.c pn->listener = NULL; pn 1306 net/phonet/pep.c pn = pep_sk(skparent); pn 1314 net/phonet/pep.c if (hlist_empty(&pn->hlist)) pn 1315 net/phonet/pep.c pn_sock_unhash(&pn->pn_sk.sk); pn 76 net/phonet/socket.c struct pn_sock *pn = pn_sk(sknode); pn 77 net/phonet/socket.c BUG_ON(!pn->sobject); /* unbound socket */ pn 83 net/phonet/socket.c if (pn_port(pn->sobject) != pn_port(obj)) pn 87 net/phonet/socket.c if (pn->resource != res) pn 90 net/phonet/socket.c if (pn_addr(pn->sobject) && pn 91 net/phonet/socket.c pn_addr(pn->sobject) != pn_addr(obj)) pn 159 net/phonet/socket.c struct pn_sock *pn = pn_sk(sk); pn 179 net/phonet/socket.c if (sk->sk_state != TCP_CLOSE || pn_port(pn->sobject)) { pn 190 net/phonet/socket.c pn->sobject = pn_object(saddr, pn_port(pn->sobject)); pn 191 net/phonet/socket.c pn->resource = spn->spn_resource; pn 221 net/phonet/socket.c struct pn_sock *pn = pn_sk(sk); pn 251 net/phonet/socket.c pn->dobject = pn_sockaddr_get_object(spn); pn 252 net/phonet/socket.c pn->resource = pn_sockaddr_get_resource(spn); pn 258 net/phonet/socket.c pn->dobject = 0; pn 319 net/phonet/socket.c struct pn_sock *pn = pn_sk(sk); pn 325 net/phonet/socket.c pn->sobject); pn 334 net/phonet/socket.c struct pep_sock *pn = pep_sk(sk); pn 343 net/phonet/socket.c if (!skb_queue_empty_lockless(&pn->ctrlreq_queue)) pn 350 net/phonet/socket.c atomic_read(&pn->tx_credits)) pn 360 net/phonet/socket.c struct pn_sock *pn = pn_sk(sk); pn 387 net/phonet/socket.c handle = pn_object(saddr, pn_port(pn->sobject)); pn 485 net/phonet/socket.c struct pn_sock *pn = pn_sk(sk); pn 524 net/phonet/socket.c pn->sobject = pn_object(pn_addr(pn->sobject), sport); pn 594 net/phonet/socket.c struct pn_sock *pn = pn_sk(sk); pn 598 net/phonet/socket.c sk->sk_protocol, pn->sobject, pn->dobject, pn 599 net/phonet/socket.c pn->resource, sk->sk_state, pn 95 net/wireless/lib80211_crypt_ccmp.c const u8 *pn, u8 *iv, u8 *aad) pn 127 net/wireless/lib80211_crypt_ccmp.c memcpy(iv + 8, pn, CCMP_PN_LEN); pn 263 net/wireless/lib80211_crypt_ccmp.c u8 pn[6]; pn 293 net/wireless/lib80211_crypt_ccmp.c pn[0] = pos[7]; pn 294 net/wireless/lib80211_crypt_ccmp.c pn[1] = pos[6]; pn 295 net/wireless/lib80211_crypt_ccmp.c pn[2] = pos[5]; pn 296 net/wireless/lib80211_crypt_ccmp.c pn[3] = pos[4]; pn 297 net/wireless/lib80211_crypt_ccmp.c pn[4] = pos[1]; pn 298 net/wireless/lib80211_crypt_ccmp.c pn[5] = pos[0]; pn 301 net/wireless/lib80211_crypt_ccmp.c if (ccmp_replay_check(pn, key->rx_pn)) { pn 307 net/wireless/lib80211_crypt_ccmp.c pn[0], pn[1], pn[2], pn[3], pn[4], pn[5]); pn 317 net/wireless/lib80211_crypt_ccmp.c aad_len = ccmp_init_iv_and_aad(hdr, pn, iv, aad); pn 337 net/wireless/lib80211_crypt_ccmp.c memcpy(key->rx_pn, pn, CCMP_PN_LEN); pn 1666 sound/core/control.c struct snd_kctl_ioctl *pn; pn 1668 sound/core/control.c pn = kzalloc(sizeof(struct snd_kctl_ioctl), GFP_KERNEL); pn 1669 sound/core/control.c if (pn == NULL) pn 1671 sound/core/control.c pn->fioctl = fcn; pn 1673 sound/core/control.c list_add_tail(&pn->list, lists); pn 736 tools/perf/util/stat-shadow.c char *n, *pn; pn 769 tools/perf/util/stat-shadow.c pn = strchr(n, ' '); pn 770 tools/perf/util/stat-shadow.c if (pn) pn 771 tools/perf/util/stat-shadow.c *pn = 0; pn 4367 virt/kvm/kvm_main.c struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn) pn 4369 virt/kvm/kvm_main.c return container_of(pn, struct kvm_vcpu, preempt_notifier); pn 4372 virt/kvm/kvm_main.c static void kvm_sched_in(struct preempt_notifier *pn, int cpu) pn 4374 virt/kvm/kvm_main.c struct kvm_vcpu *vcpu = preempt_notifier_to_vcpu(pn); pn 4384 virt/kvm/kvm_main.c static void kvm_sched_out(struct preempt_notifier *pn, pn 4387 virt/kvm/kvm_main.c struct kvm_vcpu *vcpu = preempt_notifier_to_vcpu(pn);