na 132 arch/ia64/include/asm/processor.h __u64 na : 1; na 28 arch/powerpc/boot/simpleboot.c const u32 *na, *ns, *reg, *timebase; na 40 arch/powerpc/boot/simpleboot.c na = fdt_getprop(_dtb_start, node, "#address-cells", &size); na 41 arch/powerpc/boot/simpleboot.c if (!na || (size != 4)) na 53 arch/powerpc/boot/simpleboot.c if (size < (*na+*ns) * sizeof(u32)) na 57 arch/powerpc/boot/simpleboot.c for (i = 0; i < *na; i++) na 176 arch/powerpc/kernel/isa-bridge.c u32 na, ns, pna; na 184 arch/powerpc/kernel/isa-bridge.c if (of_property_read_u32(np, "#address-cells", &na) || na 192 arch/powerpc/kernel/isa-bridge.c if (na != 2 || ns != 1) { na 197 arch/powerpc/kernel/isa-bridge.c rs = na + ns + pna; na 212 arch/powerpc/kernel/isa-bridge.c size = of_read_number(ranges + i + na + pna, ns); na 213 arch/powerpc/kernel/isa-bridge.c pbasep = ranges + i + na; na 383 arch/powerpc/platforms/chrp/setup.c int na = 1; na 391 arch/powerpc/platforms/chrp/setup.c na = of_n_addr_cells(root); na 393 arch/powerpc/platforms/chrp/setup.c if (opprop && oplen >= na * sizeof(unsigned int)) { na 394 arch/powerpc/platforms/chrp/setup.c opaddr = opprop[na-1]; /* assume 32-bit */ na 395 arch/powerpc/platforms/chrp/setup.c oplen /= na * sizeof(unsigned int); na 437 arch/powerpc/platforms/chrp/setup.c j = na - 1; na 440 arch/powerpc/platforms/chrp/setup.c j += na; na 51 arch/sparc/kernel/of_device_32.c int na, int ns, int pna) na 60 arch/sparc/kernel/of_device_32.c if (of_out_of_range(addr + 1, range + 1, range + na + pna, na 61 arch/sparc/kernel/of_device_32.c na - 1, ns)) na 65 arch/sparc/kernel/of_device_32.c memcpy(result, range + na, pna * 4); na 68 arch/sparc/kernel/of_device_32.c for (i = 0; i < na - 1; i++) na 70 arch/sparc/kernel/of_device_32.c (addr[na - 1 - i] - na 71 arch/sparc/kernel/of_device_32.c range[na - 1 - i]); na 123 arch/sparc/kernel/of_device_32.c int na, int ns, int pna) na 125 arch/sparc/kernel/of_device_32.c return of_bus_default_map(addr, range, na, ns, pna); na 192 arch/sparc/kernel/of_device_32.c int na, int ns, int pna) na 204 arch/sparc/kernel/of_device_32.c for (i = 0; i < na; i++) na 206 arch/sparc/kernel/of_device_32.c addr[na - 1 - i]; na 214 arch/sparc/kernel/of_device_32.c rone = na + pna + ns; na 216 arch/sparc/kernel/of_device_32.c if (!bus->map(addr, ranges, na, ns, pna)) na 251 arch/sparc/kernel/of_device_32.c int na, ns; na 260 arch/sparc/kernel/of_device_32.c bus->count_cells(op->dev.of_node, &na, &ns); na 270 arch/sparc/kernel/of_device_32.c num_reg /= na + ns; na 277 arch/sparc/kernel/of_device_32.c const u32 *reg = (preg + (index * ((na + ns) * 4))); na 286 arch/sparc/kernel/of_device_32.c size = of_read_addr(reg + na, ns); na 288 arch/sparc/kernel/of_device_32.c memcpy(addr, reg, na * 4); na 293 arch/sparc/kernel/of_device_32.c result = of_read_addr(addr, na); na 297 arch/sparc/kernel/of_device_32.c dna = na; na 89 arch/sparc/kernel/of_device_64.c int na, int ns, int pna) na 104 arch/sparc/kernel/of_device_64.c int na, int ns, int pna) na 123 arch/sparc/kernel/of_device_64.c if (of_out_of_range(addr + 1, range + 1, range + na + pna, na 124 arch/sparc/kernel/of_device_64.c na - 1, ns)) na 128 arch/sparc/kernel/of_device_64.c memcpy(result, range + na, pna * 4); na 131 arch/sparc/kernel/of_device_64.c for (i = 0; i < na - 1; i++) na 133 arch/sparc/kernel/of_device_64.c (addr[na - 1 - i] - na 134 arch/sparc/kernel/of_device_64.c range[na - 1 - i]); na 246 arch/sparc/kernel/of_device_64.c int na, int ns, int pna) na 257 arch/sparc/kernel/of_device_64.c for (i = 0; i < na; i++) na 259 arch/sparc/kernel/of_device_64.c addr[na - 1 - i]; na 267 arch/sparc/kernel/of_device_64.c rone = na + pna + ns; na 269 arch/sparc/kernel/of_device_64.c if (!bus->map(addr, ranges, na, ns, pna)) na 321 arch/sparc/kernel/of_device_64.c int na, ns; na 330 arch/sparc/kernel/of_device_64.c bus->count_cells(op->dev.of_node, &na, &ns); na 340 arch/sparc/kernel/of_device_64.c num_reg /= na + ns; na 355 arch/sparc/kernel/of_device_64.c const u32 *reg = (preg + (index * ((na + ns) * 4))); na 364 arch/sparc/kernel/of_device_64.c size = of_read_addr(reg + na, ns); na 365 arch/sparc/kernel/of_device_64.c memcpy(addr, reg, na * 4); na 370 arch/sparc/kernel/of_device_64.c result = of_read_addr(addr, na); na 374 arch/sparc/kernel/of_device_64.c dna = na; na 430 arch/sparc/kernel/of_device_64.c int na, num_reg, i; na 433 arch/sparc/kernel/of_device_64.c bus->count_cells(dp, &na, NULL); na 439 arch/sparc/kernel/of_device_64.c imlen /= ((na + 3) * 4); na 444 arch/sparc/kernel/of_device_64.c for (j = 0; j < na; j++) { na 448 arch/sparc/kernel/of_device_64.c if (imap[na] == irq) { na 449 arch/sparc/kernel/of_device_64.c handle = imap[na + 1]; na 450 arch/sparc/kernel/of_device_64.c irq = imap[na + 2]; na 455 arch/sparc/kernel/of_device_64.c imap += (na + 3); na 97 arch/sparc/kernel/of_device_common.c const u32 *size, int na, int ns) na 99 arch/sparc/kernel/of_device_common.c u64 a = of_read_addr(addr, na); na 100 arch/sparc/kernel/of_device_common.c u64 b = of_read_addr(base, na); na 112 arch/sparc/kernel/of_device_common.c int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna) na 122 arch/sparc/kernel/of_device_common.c if (of_out_of_range(addr, range, range + na + pna, na, ns)) na 126 arch/sparc/kernel/of_device_common.c memcpy(result, range + na, pna * 4); na 129 arch/sparc/kernel/of_device_common.c for (i = 0; i < na; i++) na 131 arch/sparc/kernel/of_device_common.c (addr[na - 1 - i] - na 132 arch/sparc/kernel/of_device_common.c range[na - 1 - i]); na 16 arch/sparc/kernel/of_device_common.h const u32 *size, int na, int ns); na 17 arch/sparc/kernel/of_device_common.h int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna); na 33 arch/sparc/kernel/of_device_common.h int na, int ns, int pna); na 964 drivers/base/node.c struct node_attr *na = container_of(attr, struct node_attr, attr); na 965 drivers/base/node.c return print_nodes_state(na->state, buf); na 412 drivers/fsi/fsi-core.c unsigned int len, na, ns; na 416 drivers/fsi/fsi-core.c na = of_n_addr_cells(np); na 419 drivers/fsi/fsi-core.c if (na != 1 || ns != 1) na 648 drivers/fsi/fsi-core.c unsigned int len, na, ns; na 651 drivers/fsi/fsi-core.c na = of_n_addr_cells(np); na 657 drivers/fsi/fsi-core.c if (na != 2 || ns != 0) na 116 drivers/gpu/drm/i915/gt/selftest_timeline.c unsigned int na; na 142 drivers/gpu/drm/i915/gt/selftest_timeline.c for_each_prime_number_from(na, 1, 2 * CACHELINES_PER_PAGE) { na 143 drivers/gpu/drm/i915/gt/selftest_timeline.c err = __mock_hwsp_timeline(&state, na, p->flags); na 150 drivers/gpu/drm/i915/gt/selftest_timeline.c for (na = 0; na < state.max; na++) na 151 drivers/gpu/drm/i915/gt/selftest_timeline.c __mock_hwsp_record(&state, na, NULL); na 88 drivers/media/dvb-frontends/bcm3510_priv.h u8 na :1; na 99 drivers/media/dvb-frontends/bcm3510_priv.h u8 na :3; na 110 drivers/media/dvb-frontends/bcm3510_priv.h u8 na :5; na 134 drivers/media/dvb-frontends/bcm3510_priv.h u8 na :2; na 582 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c VPD_ENTRY(na, 12); /* MAC address base */ na 232 drivers/net/ethernet/chelsio/cxgb4/cudbg_entity.h u8 na[MACADDR_LEN + 1]; na 2335 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c memcpy(vpd_data->na, vpd.na, MACADDR_LEN + 1); na 322 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h u8 na[MACADDR_LEN + 1]; na 2766 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c u8 *na; na 2774 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c na = adap->params.vpd.na; na 2776 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c hw_addr[i] = (hex2val(na[2 * i + 0]) * 16 + na 2777 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c hex2val(na[2 * i + 1])); na 5927 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c u8 *na = adapter->params.vpd.na; na 5932 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c hw_addr[i] = (hex2val(na[2 * i + 0]) * 16 + na 5933 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c hex2val(na[2 * i + 1])); na 2753 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int ec, sn, pn, na; na 2829 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c FIND_VPD_KW(na, "NA"); na 2842 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(p->na, vpd + na, min(i, MACADDR_LEN)); na 2843 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c strim((char *)p->na); na 1899 drivers/net/vxlan.c struct nd_msg *ns, *na; na 1910 drivers/net/vxlan.c sizeof(*na) + na_olen + dev->needed_tailroom; na 1962 drivers/net/vxlan.c na = skb_put_zero(reply, sizeof(*na) + na_olen); na 1963 drivers/net/vxlan.c na->icmph.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT; na 1964 drivers/net/vxlan.c na->icmph.icmp6_router = isrouter; na 1965 drivers/net/vxlan.c na->icmph.icmp6_override = 1; na 1966 drivers/net/vxlan.c na->icmph.icmp6_solicited = 1; na 1967 drivers/net/vxlan.c na->target = ns->target; na 1968 drivers/net/vxlan.c ether_addr_copy(&na->opt[2], n->ha); na 1969 drivers/net/vxlan.c na->opt[0] = ND_OPT_TARGET_LL_ADDR; na 1970 drivers/net/vxlan.c na->opt[1] = na_olen >> 3; na 1972 drivers/net/vxlan.c na->icmph.icmp6_cksum = csum_ipv6_magic(&pip6->saddr, na 1973 drivers/net/vxlan.c &pip6->daddr, sizeof(*na)+na_olen, IPPROTO_ICMPV6, na 1974 drivers/net/vxlan.c csum_partial(na, sizeof(*na)+na_olen, 0)); na 1976 drivers/net/vxlan.c pip6->payload_len = htons(sizeof(*na)+na_olen); na 19 drivers/of/address.c #define OF_CHECK_ADDR_COUNT(na) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS) na 20 drivers/of/address.c #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) na 29 drivers/of/address.c static void of_dump_addr(const char *s, const __be32 *addr, int na) na 32 drivers/of/address.c while (na--) na 37 drivers/of/address.c static void of_dump_addr(const char *s, const __be32 *addr, int na) { } na 48 drivers/of/address.c int na, int ns, int pna); na 49 drivers/of/address.c int (*translate)(__be32 *addr, u64 offset, int na); na 67 drivers/of/address.c int na, int ns, int pna) na 71 drivers/of/address.c cp = of_read_number(range, na); na 72 drivers/of/address.c s = of_read_number(range + na + pna, ns); na 73 drivers/of/address.c da = of_read_number(addr, na); na 84 drivers/of/address.c static int of_bus_default_translate(__be32 *addr, u64 offset, int na) na 86 drivers/of/address.c u64 a = of_read_number(addr, na); na 87 drivers/of/address.c memset(addr, 0, na * 4); na 89 drivers/of/address.c if (na > 1) na 90 drivers/of/address.c addr[na - 2] = cpu_to_be32(a >> 32); na 91 drivers/of/address.c addr[na - 1] = cpu_to_be32(a & 0xffffffffu); na 145 drivers/of/address.c static u64 of_bus_pci_map(__be32 *addr, const __be32 *range, int na, int ns, na 159 drivers/of/address.c cp = of_read_number(range + 1, na - 1); na 160 drivers/of/address.c s = of_read_number(range + na + pna, ns); na 161 drivers/of/address.c da = of_read_number(addr + 1, na - 1); na 172 drivers/of/address.c static int of_bus_pci_translate(__be32 *addr, u64 offset, int na) na 174 drivers/of/address.c return of_bus_default_translate(addr + 1, offset, na - 1); na 184 drivers/of/address.c int onesize, i, na, ns; na 195 drivers/of/address.c bus->count_cells(dev, &na, &ns); na 197 drivers/of/address.c if (!OF_CHECK_ADDR_COUNT(na)) na 206 drivers/of/address.c onesize = na + ns; na 211 drivers/of/address.c *size = of_read_number(prop + na, ns); na 238 drivers/of/address.c const int na = 3, ns = 2; na 243 drivers/of/address.c parser->np = parser->pna + na + ns; na 271 drivers/of/address.c const int na = 3, ns = 2; na 283 drivers/of/address.c parser->range + na); na 284 drivers/of/address.c range->size = of_read_number(parser->range + parser->pna + na, ns); na 296 drivers/of/address.c parser->range + na); na 297 drivers/of/address.c size = of_read_number(parser->range + parser->pna + na, ns); na 386 drivers/of/address.c static u64 of_bus_isa_map(__be32 *addr, const __be32 *range, int na, int ns, na 396 drivers/of/address.c cp = of_read_number(range + 1, na - 1); na 397 drivers/of/address.c s = of_read_number(range + na + pna, ns); na 398 drivers/of/address.c da = of_read_number(addr + 1, na - 1); na 409 drivers/of/address.c static int of_bus_isa_translate(__be32 *addr, u64 offset, int na) na 411 drivers/of/address.c return of_bus_default_translate(addr + 1, offset, na - 1); na 498 drivers/of/address.c int na, int ns, int pna, const char *rprop) na 527 drivers/of/address.c offset = of_read_number(addr, na); na 537 drivers/of/address.c rone = na + pna + ns; na 539 drivers/of/address.c offset = bus->map(addr, ranges, na, ns, pna); na 547 drivers/of/address.c memcpy(addr, ranges + na, 4 * pna); na 579 drivers/of/address.c int na, ns, pna, pns; na 595 drivers/of/address.c bus->count_cells(dev, &na, &ns); na 596 drivers/of/address.c if (!OF_CHECK_COUNTS(na, ns)) { na 600 drivers/of/address.c memcpy(addr, in_addr, na * 4); na 603 drivers/of/address.c bus->name, na, ns, parent); na 604 drivers/of/address.c of_dump_addr("translating address:", addr, na); na 618 drivers/of/address.c result = of_read_number(addr, na); na 628 drivers/of/address.c result = of_read_number(addr + 1, na - 1); na 647 drivers/of/address.c if (of_translate_one(dev, bus, pbus, addr, na, ns, pna, rprop)) na 651 drivers/of/address.c na = pna; na 655 drivers/of/address.c of_dump_addr("one level translation:", addr, na); na 722 drivers/of/address.c int onesize, i, na, ns; na 729 drivers/of/address.c bus->count_cells(dev, &na, &ns); na 731 drivers/of/address.c if (!OF_CHECK_ADDR_COUNT(na)) na 740 drivers/of/address.c onesize = na + ns; na 744 drivers/of/address.c *size = of_read_number(prop + na, ns); na 22 drivers/of/fdt_address.c #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ na 27 drivers/of/fdt_address.c static void __init of_dump_addr(const char *s, const __be32 *addr, int na) na 30 drivers/of/fdt_address.c while(na--) na 35 drivers/of/fdt_address.c static void __init of_dump_addr(const char *s, const __be32 *addr, int na) { } na 43 drivers/of/fdt_address.c int na, int ns, int pna); na 44 drivers/of/fdt_address.c int (*translate)(__be32 *addr, u64 offset, int na); na 71 drivers/of/fdt_address.c int na, int ns, int pna) na 75 drivers/of/fdt_address.c cp = of_read_number(range, na); na 76 drivers/of/fdt_address.c s = of_read_number(range + na + pna, ns); na 77 drivers/of/fdt_address.c da = of_read_number(addr, na); na 87 drivers/of/fdt_address.c static int __init fdt_bus_default_translate(__be32 *addr, u64 offset, int na) na 89 drivers/of/fdt_address.c u64 a = of_read_number(addr, na); na 90 drivers/of/fdt_address.c memset(addr, 0, na * 4); na 92 drivers/of/fdt_address.c if (na > 1) na 93 drivers/of/fdt_address.c addr[na - 2] = cpu_to_fdt32(a >> 32); na 94 drivers/of/fdt_address.c addr[na - 1] = cpu_to_fdt32(a & 0xffffffffu); na 112 drivers/of/fdt_address.c int na, int ns, int pna, const char *rprop) na 123 drivers/of/fdt_address.c offset = of_read_number(addr, na); na 133 drivers/of/fdt_address.c rone = na + pna + ns; na 135 drivers/of/fdt_address.c offset = bus->map(addr, ranges, na, ns, pna); na 143 drivers/of/fdt_address.c memcpy(addr, ranges + na, 4 * pna); na 169 drivers/of/fdt_address.c int na, ns, pna, pns; na 189 drivers/of/fdt_address.c bus->count_cells(blob, parent, &na, &ns); na 190 drivers/of/fdt_address.c if (!OF_CHECK_COUNTS(na, ns)) { na 195 drivers/of/fdt_address.c memcpy(addr, reg, na * 4); na 198 drivers/of/fdt_address.c na, ns, fdt_get_name(blob, parent, NULL)); na 199 drivers/of/fdt_address.c of_dump_addr("translating address:", addr, na); na 210 drivers/of/fdt_address.c result = of_read_number(addr, na); na 228 drivers/of/fdt_address.c addr, na, ns, pna, "ranges")) na 232 drivers/of/fdt_address.c na = pna; na 236 drivers/of/fdt_address.c of_dump_addr("one level translation:", addr, na); na 732 drivers/pci/controller/pci-mvebu.c const int na = 3, ns = 2; na 744 drivers/pci/controller/pci-mvebu.c rangesz = pna + na + ns; na 750 drivers/pci/controller/pci-mvebu.c u64 cpuaddr = of_read_number(range + na, pna); na 1778 drivers/scsi/scsi_debug.c int k, offset, len, errsts, count, bump, na; na 1818 drivers/scsi/scsi_debug.c na = oip->num_attached; na 1829 drivers/scsi/scsi_debug.c for (k = 0, oip = oip->arrp; k < na; ++k, ++oip) { na 1876 drivers/scsi/scsi_debug.c na = oip->num_attached; na 1877 drivers/scsi/scsi_debug.c for (k = 0, oip = oip->arrp; k < na; na 1882 drivers/scsi/scsi_debug.c supp = (k >= na) ? 1 : 3; na 1884 drivers/scsi/scsi_debug.c na = oip->num_attached; na 1885 drivers/scsi/scsi_debug.c for (k = 0, oip = oip->arrp; k < na; na 1890 drivers/scsi/scsi_debug.c supp = (k >= na) ? 1 : 3; na 5600 drivers/scsi/scsi_debug.c int k, na; na 5641 drivers/scsi/scsi_debug.c na = oip->num_attached; na 5643 drivers/scsi/scsi_debug.c if (na) { /* multiple commands with this opcode */ na 5650 drivers/scsi/scsi_debug.c for (k = 0; k <= na; oip = r_oip->arrp + k++) { na 5655 drivers/scsi/scsi_debug.c for (k = 0; k <= na; oip = r_oip->arrp + k++) { na 5660 drivers/scsi/scsi_debug.c if (k > na) { na 224 drivers/staging/gdm724x/gdm_lte.c struct neighbour_advertisement na; na 281 drivers/staging/gdm724x/gdm_lte.c memcpy(&na.target_address, ns->target_address, 16); na 282 drivers/staging/gdm724x/gdm_lte.c na.type = 0x02; na 283 drivers/staging/gdm724x/gdm_lte.c na.length = 1; na 284 drivers/staging/gdm724x/gdm_lte.c na.link_layer_address[0] = 0x00; na 285 drivers/staging/gdm724x/gdm_lte.c na.link_layer_address[1] = 0x0a; na 286 drivers/staging/gdm724x/gdm_lte.c na.link_layer_address[2] = 0x3b; na 287 drivers/staging/gdm724x/gdm_lte.c na.link_layer_address[3] = 0xaf; na 288 drivers/staging/gdm724x/gdm_lte.c na.link_layer_address[4] = 0x63; na 289 drivers/staging/gdm724x/gdm_lte.c na.link_layer_address[5] = 0xc7; na 292 drivers/staging/gdm724x/gdm_lte.c memcpy(ipv6_out.saddr.in6_u.u6_addr8, &na.target_address, 16); na 299 drivers/staging/gdm724x/gdm_lte.c memcpy(icmp_na + sizeof(struct icmp6hdr), &na, na 323 drivers/staging/gdm724x/gdm_lte.c skb_put_data(skb_out, &na, sizeof(struct neighbour_advertisement)); na 1103 drivers/target/iscsi/iscsi_target_erl1.c struct iscsi_node_attrib *na; na 1115 drivers/target/iscsi/iscsi_target_erl1.c na = iscsit_tpg_get_node_attrib(sess); na 1126 drivers/target/iscsi/iscsi_target_erl1.c if (++cmd->dataout_timeout_retries == na->dataout_timeout_retries) { na 1130 drivers/target/iscsi/iscsi_target_erl1.c cmd->init_task_tag, na->dataout_timeout_retries, na 1188 drivers/target/iscsi/iscsi_target_erl1.c struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); na 1197 drivers/target/iscsi/iscsi_target_erl1.c (get_jiffies_64() + na->dataout_timeout * HZ)); na 1208 drivers/target/iscsi/iscsi_target_erl1.c struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); na 1220 drivers/target/iscsi/iscsi_target_erl1.c mod_timer(&cmd->dataout_timer, jiffies + na->dataout_timeout * HZ); na 341 drivers/target/iscsi/iscsi_target_login.c struct iscsi_node_attrib *na; na 374 drivers/target/iscsi/iscsi_target_login.c na = iscsit_tpg_get_node_attrib(sess); na 391 drivers/target/iscsi/iscsi_target_login.c if (iscsi_change_param_sprintf(conn, "ErrorRecoveryLevel=%d", na->default_erl)) na 497 drivers/target/iscsi/iscsi_target_seq_pdu_list.c struct iscsi_node_attrib *na; na 509 drivers/target/iscsi/iscsi_target_seq_pdu_list.c na = iscsit_tpg_get_node_attrib(sess); na 515 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (na->random_datain_pdu_offsets) na 517 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (na->random_datain_seq_offsets) na 522 drivers/target/iscsi/iscsi_target_seq_pdu_list.c if (na->random_r2t_offsets) na 71 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); na 73 drivers/target/iscsi/iscsi_target_tmr.c if (!na->tmr_warm_reset) { na 91 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); na 93 drivers/target/iscsi/iscsi_target_tmr.c if (!na->tmr_cold_reset) { na 941 drivers/target/iscsi/iscsi_target_util.c struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); na 950 drivers/target/iscsi/iscsi_target_util.c (get_jiffies_64() + na->nopin_response_timeout * HZ)); na 957 drivers/target/iscsi/iscsi_target_util.c struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); na 968 drivers/target/iscsi/iscsi_target_util.c jiffies + na->nopin_response_timeout * HZ); na 971 drivers/target/iscsi/iscsi_target_util.c " seconds\n", conn->cid, na->nopin_response_timeout); na 1014 drivers/target/iscsi/iscsi_target_util.c struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); na 1021 drivers/target/iscsi/iscsi_target_util.c if (!na->nopin_timeout) na 1029 drivers/target/iscsi/iscsi_target_util.c mod_timer(&conn->nopin_timer, jiffies + na->nopin_timeout * HZ); na 1032 drivers/target/iscsi/iscsi_target_util.c " interval\n", conn->cid, na->nopin_timeout); na 260 fs/dlm/lowcomms.c struct dlm_node_addr *na; na 262 fs/dlm/lowcomms.c list_for_each_entry(na, &dlm_node_addrs, list) { na 263 fs/dlm/lowcomms.c if (na->nodeid == nodeid) na 264 fs/dlm/lowcomms.c return na; na 300 fs/dlm/lowcomms.c struct dlm_node_addr *na; na 306 fs/dlm/lowcomms.c na = find_node_addr(nodeid); na 307 fs/dlm/lowcomms.c if (na && na->addr_count) { na 308 fs/dlm/lowcomms.c memcpy(&sas, na->addr[na->curr_addr_index], na 312 fs/dlm/lowcomms.c na->curr_addr_index++; na 313 fs/dlm/lowcomms.c if (na->curr_addr_index == na->addr_count) na 314 fs/dlm/lowcomms.c na->curr_addr_index = 0; na 319 fs/dlm/lowcomms.c if (!na) na 322 fs/dlm/lowcomms.c if (!na->addr_count) na 346 fs/dlm/lowcomms.c struct dlm_node_addr *na; na 351 fs/dlm/lowcomms.c list_for_each_entry(na, &dlm_node_addrs, list) { na 352 fs/dlm/lowcomms.c if (!na->addr_count) na 355 fs/dlm/lowcomms.c for (addr_i = 0; addr_i < na->addr_count; addr_i++) { na 356 fs/dlm/lowcomms.c if (addr_compare(na->addr[addr_i], addr)) { na 357 fs/dlm/lowcomms.c *nodeid = na->nodeid; na 371 fs/dlm/lowcomms.c struct dlm_node_addr *new_node, *na; na 386 fs/dlm/lowcomms.c na = find_node_addr(nodeid); na 387 fs/dlm/lowcomms.c if (!na) { na 396 fs/dlm/lowcomms.c if (na->addr_count >= DLM_MAX_ADDR_COUNT) { na 403 fs/dlm/lowcomms.c na->addr[na->addr_count++] = new_addr; na 1575 fs/dlm/lowcomms.c struct dlm_node_addr *na; na 1586 fs/dlm/lowcomms.c na = find_node_addr(nodeid); na 1587 fs/dlm/lowcomms.c if (na) { na 1588 fs/dlm/lowcomms.c list_del(&na->list); na 1589 fs/dlm/lowcomms.c while (na->addr_count--) na 1590 fs/dlm/lowcomms.c kfree(na->addr[na->addr_count]); na 1591 fs/dlm/lowcomms.c kfree(na); na 1791 fs/dlm/lowcomms.c struct dlm_node_addr *na, *safe; na 1794 fs/dlm/lowcomms.c list_for_each_entry_safe(na, safe, &dlm_node_addrs, list) { na 1795 fs/dlm/lowcomms.c list_del(&na->list); na 1796 fs/dlm/lowcomms.c while (na->addr_count--) na 1797 fs/dlm/lowcomms.c kfree(na->addr[na->addr_count]); na 1798 fs/dlm/lowcomms.c kfree(na); na 66 fs/hpfs/anode.c anode_secno a, na = -1, ra, up = -1; na 126 fs/hpfs/anode.c if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { na 143 fs/hpfs/anode.c btree->u.internal[0].down = cpu_to_le32(na); na 149 fs/hpfs/anode.c hpfs_free_sectors(s, na, 1); na 163 fs/hpfs/anode.c if ((a == node && fnod) || na == -1) return se; na 180 fs/hpfs/anode.c btree->u.internal[n].down = cpu_to_le32(na); na 186 fs/hpfs/anode.c if ((anode = hpfs_map_anode(s, na, &bh))) { na 201 fs/hpfs/anode.c a = na; na 202 fs/hpfs/anode.c if ((new_anode = hpfs_alloc_anode(s, a, &na, &bh))) { na 214 fs/hpfs/anode.c anode->up = cpu_to_le32(na); na 218 fs/hpfs/anode.c } else na = a; na 220 fs/hpfs/anode.c if ((anode = hpfs_map_anode(s, na, &bh))) { na 261 fs/hpfs/anode.c btree->u.internal[1].down = cpu_to_le32(na); na 1491 fs/ntfs/dir.c ntfs_attr na; na 1502 fs/ntfs/dir.c na.mft_no = vi->i_ino; na 1503 fs/ntfs/dir.c na.type = AT_BITMAP; na 1504 fs/ntfs/dir.c na.name = I30; na 1505 fs/ntfs/dir.c na.name_len = 4; na 1506 fs/ntfs/dir.c bmp_vi = ilookup5(vi->i_sb, vi->i_ino, (test_t)ntfs_test_inode, &na); na 46 fs/ntfs/inode.c int ntfs_test_inode(struct inode *vi, ntfs_attr *na) na 50 fs/ntfs/inode.c if (vi->i_ino != na->mft_no) na 56 fs/ntfs/inode.c if (unlikely(na->type != AT_UNUSED)) na 60 fs/ntfs/inode.c if (ni->type != na->type) na 62 fs/ntfs/inode.c if (ni->name_len != na->name_len) na 64 fs/ntfs/inode.c if (na->name_len && memcmp(ni->name, na->name, na 65 fs/ntfs/inode.c na->name_len * sizeof(ntfschar))) na 90 fs/ntfs/inode.c static int ntfs_init_locked_inode(struct inode *vi, ntfs_attr *na) na 94 fs/ntfs/inode.c vi->i_ino = na->mft_no; na 96 fs/ntfs/inode.c ni->type = na->type; na 97 fs/ntfs/inode.c if (na->type == AT_INDEX_ALLOCATION) na 100 fs/ntfs/inode.c ni->name = na->name; na 101 fs/ntfs/inode.c ni->name_len = na->name_len; na 104 fs/ntfs/inode.c if (likely(na->type == AT_UNUSED)) { na 105 fs/ntfs/inode.c BUG_ON(na->name); na 106 fs/ntfs/inode.c BUG_ON(na->name_len); na 120 fs/ntfs/inode.c if (na->name_len && na->name != I30) { na 123 fs/ntfs/inode.c BUG_ON(!na->name); na 124 fs/ntfs/inode.c i = na->name_len * sizeof(ntfschar); na 128 fs/ntfs/inode.c memcpy(ni->name, na->name, i); na 129 fs/ntfs/inode.c ni->name[na->name_len] = 0; na 160 fs/ntfs/inode.c ntfs_attr na; na 162 fs/ntfs/inode.c na.mft_no = mft_no; na 163 fs/ntfs/inode.c na.type = AT_UNUSED; na 164 fs/ntfs/inode.c na.name = NULL; na 165 fs/ntfs/inode.c na.name_len = 0; na 168 fs/ntfs/inode.c (set_t)ntfs_init_locked_inode, &na); na 218 fs/ntfs/inode.c ntfs_attr na; na 223 fs/ntfs/inode.c na.mft_no = base_vi->i_ino; na 224 fs/ntfs/inode.c na.type = type; na 225 fs/ntfs/inode.c na.name = name; na 226 fs/ntfs/inode.c na.name_len = name_len; na 228 fs/ntfs/inode.c vi = iget5_locked(base_vi->i_sb, na.mft_no, (test_t)ntfs_test_inode, na 229 fs/ntfs/inode.c (set_t)ntfs_init_locked_inode, &na); na 276 fs/ntfs/inode.c ntfs_attr na; na 278 fs/ntfs/inode.c na.mft_no = base_vi->i_ino; na 279 fs/ntfs/inode.c na.type = AT_INDEX_ALLOCATION; na 280 fs/ntfs/inode.c na.name = name; na 281 fs/ntfs/inode.c na.name_len = name_len; na 283 fs/ntfs/inode.c vi = iget5_locked(base_vi->i_sb, na.mft_no, (test_t)ntfs_test_inode, na 284 fs/ntfs/inode.c (set_t)ntfs_init_locked_inode, &na); na 258 fs/ntfs/inode.h extern int ntfs_test_inode(struct inode *vi, ntfs_attr *na); na 928 fs/ntfs/mft.c ntfs_attr na; na 941 fs/ntfs/mft.c na.mft_no = mft_no; na 942 fs/ntfs/mft.c na.name = NULL; na 943 fs/ntfs/mft.c na.name_len = 0; na 944 fs/ntfs/mft.c na.type = AT_UNUSED; na 961 fs/ntfs/mft.c vi = ilookup5_nowait(sb, mft_no, (test_t)ntfs_test_inode, &na); na 1014 fs/ntfs/mft.c na.mft_no = MREF_LE(m->base_mft_record); na 1016 fs/ntfs/mft.c "inode 0x%lx in icache.", mft_no, na.mft_no); na 1017 fs/ntfs/mft.c if (!na.mft_no) { na 1022 fs/ntfs/mft.c vi = ilookup5_nowait(sb, na.mft_no, (test_t)ntfs_test_inode, na 1023 fs/ntfs/mft.c &na); na 1030 fs/ntfs/mft.c "extent record.", na.mft_no); na 1033 fs/ntfs/mft.c ntfs_debug("Base inode 0x%lx is in icache.", na.mft_no); na 1048 fs/ntfs/mft.c "write the extent record.", na.mft_no); na 1072 fs/ntfs/mft.c mft_no, na.mft_no); na 1076 fs/ntfs/mft.c mft_no, na.mft_no); na 337 kernel/taskstats.c static int parse(struct nlattr *na, struct cpumask *mask) na 343 kernel/taskstats.c if (na == NULL) na 345 kernel/taskstats.c len = nla_len(na); na 353 kernel/taskstats.c nla_strlcpy(data, na, len); na 361 kernel/taskstats.c struct nlattr *na, *ret; na 368 kernel/taskstats.c na = nla_nest_start_noflag(skb, aggr); na 369 kernel/taskstats.c if (!na) na 373 kernel/taskstats.c nla_nest_cancel(skb, na); na 379 kernel/taskstats.c nla_nest_cancel(skb, na); na 382 kernel/taskstats.c nla_nest_end(skb, na); na 394 kernel/taskstats.c struct nlattr *na; na 399 kernel/taskstats.c na = info->attrs[CGROUPSTATS_CMD_ATTR_FD]; na 400 kernel/taskstats.c if (!na) na 415 kernel/taskstats.c na = nla_reserve(rep_skb, CGROUPSTATS_TYPE_CGROUP_STATS, na 417 kernel/taskstats.c if (na == NULL) { na 423 kernel/taskstats.c stats = nla_data(na); na 1416 net/bluetooth/smp.c u8 *na, *nb, a[7], b[7]; na 1419 net/bluetooth/smp.c na = smp->prnd; na 1422 net/bluetooth/smp.c na = smp->rrnd; na 1431 net/bluetooth/smp.c return smp_f5(smp->tfm_cmac, smp->dhkey, na, nb, a, b, mackey, ltk); na 2124 net/bluetooth/smp.c u8 *pkax, *pkbx, *na, *nb; na 2142 net/bluetooth/smp.c na = smp->prnd; na 2147 net/bluetooth/smp.c na = smp->rrnd; na 2193 net/bluetooth/smp.c err = smp_g2(smp->tfm_cmac, pkax, pkbx, na, nb, &passkey); na 249 net/bridge/br_arp_nd_proxy.c struct nd_msg *na; na 261 net/bridge/br_arp_nd_proxy.c sizeof(*na) + na_olen + dev->needed_tailroom; na 312 net/bridge/br_arp_nd_proxy.c na = (struct nd_msg *)skb_put(reply, sizeof(*na) + na_olen); na 315 net/bridge/br_arp_nd_proxy.c memset(na, 0, sizeof(*na) + na_olen); na 316 net/bridge/br_arp_nd_proxy.c na->icmph.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT; na 317 net/bridge/br_arp_nd_proxy.c na->icmph.icmp6_router = (n->flags & NTF_ROUTER) ? 1 : 0; na 318 net/bridge/br_arp_nd_proxy.c na->icmph.icmp6_override = 1; na 319 net/bridge/br_arp_nd_proxy.c na->icmph.icmp6_solicited = 1; na 320 net/bridge/br_arp_nd_proxy.c na->target = ns->target; na 321 net/bridge/br_arp_nd_proxy.c ether_addr_copy(&na->opt[2], n->ha); na 322 net/bridge/br_arp_nd_proxy.c na->opt[0] = ND_OPT_TARGET_LL_ADDR; na 323 net/bridge/br_arp_nd_proxy.c na->opt[1] = na_olen >> 3; na 325 net/bridge/br_arp_nd_proxy.c na->icmph.icmp6_cksum = csum_ipv6_magic(&pip6->saddr, na 327 net/bridge/br_arp_nd_proxy.c sizeof(*na) + na_olen, na 329 net/bridge/br_arp_nd_proxy.c csum_partial(na, sizeof(*na) + na_olen, 0)); na 331 net/bridge/br_arp_nd_proxy.c pip6->payload_len = htons(sizeof(*na) + na_olen); na 234 net/hsr/hsr_netlink.c struct nlattr *na; na 253 net/hsr/hsr_netlink.c na = info->attrs[HSR_A_IFINDEX]; na 254 net/hsr/hsr_netlink.c if (!na) na 256 net/hsr/hsr_netlink.c na = info->attrs[HSR_A_NODE_ADDR]; na 257 net/hsr/hsr_netlink.c if (!na) na 374 net/hsr/hsr_netlink.c struct nlattr *na; na 382 net/hsr/hsr_netlink.c na = info->attrs[HSR_A_IFINDEX]; na 383 net/hsr/hsr_netlink.c if (!na) na 39 tools/accounting/getdelays.c #define NLA_DATA(na) ((void *)((char*)(na) + NLA_HDRLEN)) na 123 tools/accounting/getdelays.c struct nlattr *na; na 137 tools/accounting/getdelays.c na = (struct nlattr *) GENLMSG_DATA(&msg); na 138 tools/accounting/getdelays.c na->nla_type = nla_type; na 139 tools/accounting/getdelays.c na->nla_len = nla_len + NLA_HDRLEN; na 140 tools/accounting/getdelays.c memcpy(NLA_DATA(na), nla_data, nla_len); na 141 tools/accounting/getdelays.c msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len); na 172 tools/accounting/getdelays.c struct nlattr *na; na 187 tools/accounting/getdelays.c na = (struct nlattr *) GENLMSG_DATA(&ans); na 188 tools/accounting/getdelays.c na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); na 189 tools/accounting/getdelays.c if (na->nla_type == CTRL_ATTR_FAMILY_ID) { na 190 tools/accounting/getdelays.c id = *(__u16 *) NLA_DATA(na); na 269 tools/accounting/getdelays.c struct nlattr *na; na 474 tools/accounting/getdelays.c na = (struct nlattr *) GENLMSG_DATA(&msg); na 477 tools/accounting/getdelays.c len += NLA_ALIGN(na->nla_len); na 478 tools/accounting/getdelays.c switch (na->nla_type) { na 482 tools/accounting/getdelays.c aggr_len = NLA_PAYLOAD(na->nla_len); na 485 tools/accounting/getdelays.c na = (struct nlattr *) NLA_DATA(na); na 488 tools/accounting/getdelays.c switch (na->nla_type) { na 490 tools/accounting/getdelays.c rtid = *(int *) NLA_DATA(na); na 495 tools/accounting/getdelays.c rtid = *(int *) NLA_DATA(na); na 502 tools/accounting/getdelays.c print_delayacct((struct taskstats *) NLA_DATA(na)); na 504 tools/accounting/getdelays.c print_ioacct((struct taskstats *) NLA_DATA(na)); na 506 tools/accounting/getdelays.c task_context_switch_counts((struct taskstats *) NLA_DATA(na)); na 508 tools/accounting/getdelays.c if (write(fd, NLA_DATA(na), na->nla_len) < 0) { na 520 tools/accounting/getdelays.c na->nla_type); na 523 tools/accounting/getdelays.c len2 += NLA_ALIGN(na->nla_len); na 524 tools/accounting/getdelays.c na = (struct nlattr *)((char *)na + na 525 tools/accounting/getdelays.c NLA_ALIGN(na->nla_len)); na 530 tools/accounting/getdelays.c print_cgroupstats(NLA_DATA(na)); na 534 tools/accounting/getdelays.c na->nla_type); na 538 tools/accounting/getdelays.c na = (struct nlattr *) (GENLMSG_DATA(&msg) + len); na 1253 tools/perf/util/header.c const struct memory_node *na = a; na 1256 tools/perf/util/header.c return na->node - nb->node; na 140 tools/perf/util/symbol.c size_t na, nb; na 175 tools/perf/util/symbol.c na = strlen(syma->name); na 177 tools/perf/util/symbol.c if (na > nb) na 179 tools/perf/util/symbol.c else if (na < nb)