Home
last modified time | relevance | path

Searched refs:na (Results 1 – 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/of/
Dfdt_address.c22 #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ argument
27 static void __init of_dump_addr(const char *s, const __be32 *addr, int na) in of_dump_addr() argument
30 while(na--) in of_dump_addr()
35 static void __init of_dump_addr(const char *s, const __be32 *addr, int na) { } in of_dump_addr() argument
43 int na, int ns, int pna);
44 int (*translate)(__be32 *addr, u64 offset, int na);
71 int na, int ns, int pna) in fdt_bus_default_map() argument
75 cp = of_read_number(range, na); in fdt_bus_default_map()
76 s = of_read_number(range + na + pna, ns); in fdt_bus_default_map()
77 da = of_read_number(addr, na); in fdt_bus_default_map()
[all …]
Daddress.c22 #define OF_CHECK_ADDR_COUNT(na) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS) argument
23 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) argument
32 static void of_dump_addr(const char *s, const __be32 *addr, int na) in of_dump_addr() argument
35 while (na--) in of_dump_addr()
40 static void of_dump_addr(const char *s, const __be32 *addr, int na) { } in of_dump_addr() argument
51 int na, int ns, int pna);
52 int (*translate)(__be32 *addr, u64 offset, int na);
71 int na, int ns, int pna) in of_bus_default_map() argument
75 cp = of_read_number(range, na); in of_bus_default_map()
76 s = of_read_number(range + na + pna, ns); in of_bus_default_map()
[all …]
/kernel/linux/linux-5.10/tools/accounting/
Dgetdelays.c39 #define NLA_DATA(na) ((void *)((char*)(na) + NLA_HDRLEN)) argument
123 struct nlattr *na; in send_cmd() local
137 na = (struct nlattr *) GENLMSG_DATA(&msg); in send_cmd()
138 na->nla_type = nla_type; in send_cmd()
139 na->nla_len = nla_len + NLA_HDRLEN; in send_cmd()
140 memcpy(NLA_DATA(na), nla_data, nla_len); in send_cmd()
141 msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len); in send_cmd()
172 struct nlattr *na; in get_family_id() local
187 na = (struct nlattr *) GENLMSG_DATA(&ans); in get_family_id()
188 na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); in get_family_id()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dof_device_32.c51 int na, int ns, int pna) in of_bus_pci_map() argument
60 if (of_out_of_range(addr + 1, range + 1, range + na + pna, in of_bus_pci_map()
61 na - 1, ns)) in of_bus_pci_map()
65 memcpy(result, range + na, pna * 4); in of_bus_pci_map()
68 for (i = 0; i < na - 1; i++) in of_bus_pci_map()
70 (addr[na - 1 - i] - in of_bus_pci_map()
71 range[na - 1 - i]); in of_bus_pci_map()
123 int na, int ns, int pna) in of_bus_ambapp_map() argument
125 return of_bus_default_map(addr, range, na, ns, pna); in of_bus_ambapp_map()
192 int na, int ns, int pna) in build_one_resource() argument
[all …]
Dof_device_64.c89 int na, int ns, int pna) in of_bus_simba_map() argument
104 int na, int ns, int pna) in of_bus_pci_map() argument
123 if (of_out_of_range(addr + 1, range + 1, range + na + pna, in of_bus_pci_map()
124 na - 1, ns)) in of_bus_pci_map()
128 memcpy(result, range + na, pna * 4); in of_bus_pci_map()
131 for (i = 0; i < na - 1; i++) in of_bus_pci_map()
133 (addr[na - 1 - i] - in of_bus_pci_map()
134 range[na - 1 - i]); in of_bus_pci_map()
246 int na, int ns, int pna) in build_one_resource() argument
257 for (i = 0; i < na; i++) in build_one_resource()
[all …]
Dof_device_common.c98 const u32 *size, int na, int ns) in of_out_of_range() argument
100 u64 a = of_read_addr(addr, na); in of_out_of_range()
101 u64 b = of_read_addr(base, na); in of_out_of_range()
113 int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna) in of_bus_default_map() argument
123 if (of_out_of_range(addr, range, range + na + pna, na, ns)) in of_bus_default_map()
127 memcpy(result, range + na, pna * 4); in of_bus_default_map()
130 for (i = 0; i < na; i++) in of_bus_default_map()
132 (addr[na - 1 - i] - in of_bus_default_map()
133 range[na - 1 - i]); in of_bus_default_map()
Dof_device_common.h16 const u32 *size, int na, int ns);
17 int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna);
33 int na, int ns, int pna);
/kernel/linux/linux-5.10/net/bridge/
Dbr_arp_nd_proxy.c256 struct nd_msg *na; in br_nd_send() local
268 sizeof(*na) + na_olen + dev->needed_tailroom; in br_nd_send()
319 na = (struct nd_msg *)skb_put(reply, sizeof(*na) + na_olen); in br_nd_send()
322 memset(na, 0, sizeof(*na) + na_olen); in br_nd_send()
323 na->icmph.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT; in br_nd_send()
324 na->icmph.icmp6_router = (n->flags & NTF_ROUTER) ? 1 : 0; in br_nd_send()
325 na->icmph.icmp6_override = 1; in br_nd_send()
326 na->icmph.icmp6_solicited = 1; in br_nd_send()
327 na->target = ns->target; in br_nd_send()
328 ether_addr_copy(&na->opt[2], n->ha); in br_nd_send()
[all …]
/kernel/linux/linux-5.10/fs/dlm/
Dlowcomms.c252 struct dlm_node_addr *na; in find_node_addr() local
254 list_for_each_entry(na, &dlm_node_addrs, list) { in find_node_addr()
255 if (na->nodeid == nodeid) in find_node_addr()
256 return na; in find_node_addr()
292 struct dlm_node_addr *na; in nodeid_to_addr() local
298 na = find_node_addr(nodeid); in nodeid_to_addr()
299 if (na && na->addr_count) { in nodeid_to_addr()
300 memcpy(&sas, na->addr[na->curr_addr_index], in nodeid_to_addr()
304 na->curr_addr_index++; in nodeid_to_addr()
305 if (na->curr_addr_index == na->addr_count) in nodeid_to_addr()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dsimpleboot.c28 const u32 *na, *ns, *reg, *timebase; in platform_init() local
40 na = fdt_getprop(_dtb_start, node, "#address-cells", &size); in platform_init()
41 if (!na || (size != 4)) in platform_init()
53 if (size < (*na+*ns) * sizeof(u32)) in platform_init()
57 for (i = 0; i < *na; i++) in platform_init()
/kernel/linux/linux-5.10/kernel/
Dtaskstats.c333 static int parse(struct nlattr *na, struct cpumask *mask) in parse() argument
339 if (na == NULL) in parse()
341 len = nla_len(na); in parse()
349 nla_strlcpy(data, na, len); in parse()
357 struct nlattr *na, *ret; in mk_reply() local
364 na = nla_nest_start_noflag(skb, aggr); in mk_reply()
365 if (!na) in mk_reply()
369 nla_nest_cancel(skb, na); in mk_reply()
375 nla_nest_cancel(skb, na); in mk_reply()
378 nla_nest_end(skb, na); in mk_reply()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Disa-bridge.c191 u32 na, ns, pna; in isa_bridge_init_non_pci() local
199 if (of_property_read_u32(np, "#address-cells", &na) || in isa_bridge_init_non_pci()
207 if (na != 2 || ns != 1) { in isa_bridge_init_non_pci()
212 rs = na + ns + pna; in isa_bridge_init_non_pci()
227 size = of_read_number(ranges + i + na + pna, ns); in isa_bridge_init_non_pci()
228 pbasep = ranges + i + na; in isa_bridge_init_non_pci()
/kernel/linux/linux-5.10/fs/ntfs/
Dinode.c48 ntfs_attr *na = (ntfs_attr *)data; in ntfs_test_inode() local
51 if (vi->i_ino != na->mft_no) in ntfs_test_inode()
57 if (unlikely(na->type != AT_UNUSED)) in ntfs_test_inode()
61 if (ni->type != na->type) in ntfs_test_inode()
63 if (ni->name_len != na->name_len) in ntfs_test_inode()
65 if (na->name_len && memcmp(ni->name, na->name, in ntfs_test_inode()
66 na->name_len * sizeof(ntfschar))) in ntfs_test_inode()
93 ntfs_attr *na = (ntfs_attr *)data; in ntfs_init_locked_inode() local
96 vi->i_ino = na->mft_no; in ntfs_init_locked_inode()
98 ni->type = na->type; in ntfs_init_locked_inode()
[all …]
Dmft.c928 ntfs_attr na; in ntfs_may_write_mft_record() local
941 na.mft_no = mft_no; in ntfs_may_write_mft_record()
942 na.name = NULL; in ntfs_may_write_mft_record()
943 na.name_len = 0; in ntfs_may_write_mft_record()
944 na.type = AT_UNUSED; in ntfs_may_write_mft_record()
961 vi = ilookup5_nowait(sb, mft_no, ntfs_test_inode, &na); in ntfs_may_write_mft_record()
1014 na.mft_no = MREF_LE(m->base_mft_record); in ntfs_may_write_mft_record()
1016 "inode 0x%lx in icache.", mft_no, na.mft_no); in ntfs_may_write_mft_record()
1017 if (!na.mft_no) { in ntfs_may_write_mft_record()
1022 vi = ilookup5_nowait(sb, na.mft_no, ntfs_test_inode, in ntfs_may_write_mft_record()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/
Dsetup.c382 int na = 1; in chrp_find_openpic() local
390 na = of_n_addr_cells(root); in chrp_find_openpic()
392 if (opprop && oplen >= na * sizeof(unsigned int)) { in chrp_find_openpic()
393 opaddr = opprop[na-1]; /* assume 32-bit */ in chrp_find_openpic()
394 oplen /= na * sizeof(unsigned int); in chrp_find_openpic()
436 j = na - 1; in chrp_find_openpic()
439 j += na; in chrp_find_openpic()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0008_linux_net.patch928 + struct nlattr *na;
934 + na = info->attrs[TSN_CMD_ATTR_MESG];
935 + if (!na)
938 + msg = (char *)nla_data(na);
961 + struct nlattr *na;
968 + na = info->attrs[TSN_CMD_ATTR_DATA];
969 + if (!na)
1040 + struct nlattr *na;
1052 + na = info->attrs[TSN_ATTR_IFNAME];
1054 + portname = (char *)nla_data(na);
[all …]
/kernel/linux/linux-5.10/net/hsr/
Dhsr_netlink.c274 struct nlattr *na; in hsr_get_node_status() local
293 na = info->attrs[HSR_A_IFINDEX]; in hsr_get_node_status()
294 if (!na) in hsr_get_node_status()
296 na = info->attrs[HSR_A_NODE_ADDR]; in hsr_get_node_status()
297 if (!na) in hsr_get_node_status()
414 struct nlattr *na; in hsr_get_node_list() local
422 na = info->attrs[HSR_A_IFINDEX]; in hsr_get_node_list()
423 if (!na) in hsr_get_node_list()
/kernel/linux/linux-5.10/fs/hpfs/
Danode.c66 anode_secno a, na = -1, ra, up = -1; in hpfs_add_sector_to_btree() local
126 if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { in hpfs_add_sector_to_btree()
143 btree->u.internal[0].down = cpu_to_le32(na); in hpfs_add_sector_to_btree()
149 hpfs_free_sectors(s, na, 1); in hpfs_add_sector_to_btree()
163 if ((a == node && fnod) || na == -1) return se; in hpfs_add_sector_to_btree()
180 btree->u.internal[n].down = cpu_to_le32(na); in hpfs_add_sector_to_btree()
186 if ((anode = hpfs_map_anode(s, na, &bh))) { in hpfs_add_sector_to_btree()
201 a = na; in hpfs_add_sector_to_btree()
202 if ((new_anode = hpfs_alloc_anode(s, a, &na, &bh))) { in hpfs_add_sector_to_btree()
214 anode->up = cpu_to_le32(na); in hpfs_add_sector_to_btree()
[all …]
/kernel/linux/linux-5.10/drivers/staging/gdm724x/
Dgdm_lte.c224 struct neighbour_advertisement na; in gdm_lte_emulate_ndp() local
281 memcpy(&na.target_address, ns->target_address, 16); in gdm_lte_emulate_ndp()
282 na.type = 0x02; in gdm_lte_emulate_ndp()
283 na.length = 1; in gdm_lte_emulate_ndp()
284 na.link_layer_address[0] = 0x00; in gdm_lte_emulate_ndp()
285 na.link_layer_address[1] = 0x0a; in gdm_lte_emulate_ndp()
286 na.link_layer_address[2] = 0x3b; in gdm_lte_emulate_ndp()
287 na.link_layer_address[3] = 0xaf; in gdm_lte_emulate_ndp()
288 na.link_layer_address[4] = 0x63; in gdm_lte_emulate_ndp()
289 na.link_layer_address[5] = 0xc7; in gdm_lte_emulate_ndp()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dbcm3510_priv.h88 u8 na :1; member
99 u8 na :3; member
110 u8 na :5; member
134 u8 na :2; member
/kernel/linux/linux-5.10/tools/power/cpupower/po/
Dcs.po219 "Chyby v programu prosím hlaste na %s (anglicky).\n"
220 "Chyby v překladu prosím hlaste na kavol@seznam.cz (česky ;-)\n"
374 msgstr "Užití: cpufreq-info [přepínače]\n"
380 msgstr "Přepínače:\n"
393 " -f, --freq Zjistí aktuální frekvenci, na které CPU běží\n"
402 " -w, --hwfreq Zjistí aktuální frekvenci, na které CPU běží\n"
494 "Není-li zadán žádný parametr nebo je-li zadán pouze přepínač -c, --cpu, "
504 "Není-li při použití přepínačů označených * zadán parametr -c nebo --cpu,\n"
512 msgstr "Zadaný parametr nemůže být použit zároveň s přepínačem -c nebo --cpu\n"
542 msgstr "Užití: cpufreq-set [přepínače]\n"
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dselftest_timeline.c122 unsigned int na; in mock_hwsp_freelist() local
149 for_each_prime_number_from(na, 1, 2 * CACHELINES_PER_PAGE) { in mock_hwsp_freelist()
150 err = __mock_hwsp_timeline(&state, na, p->flags); in mock_hwsp_freelist()
157 for (na = 0; na < state.max; na++) in mock_hwsp_freelist()
158 __mock_hwsp_record(&state, na, NULL); in mock_hwsp_freelist()
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target_erl1.c1103 struct iscsi_node_attrib *na; in iscsit_handle_dataout_timeout() local
1115 na = iscsit_tpg_get_node_attrib(sess); in iscsit_handle_dataout_timeout()
1126 if (++cmd->dataout_timeout_retries == na->dataout_timeout_retries) { in iscsit_handle_dataout_timeout()
1130 cmd->init_task_tag, na->dataout_timeout_retries, in iscsit_handle_dataout_timeout()
1188 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_mod_dataout_timer() local
1197 (get_jiffies_64() + na->dataout_timeout * HZ)); in iscsit_mod_dataout_timer()
1208 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_start_dataout_timer() local
1220 mod_timer(&cmd->dataout_timer, jiffies + na->dataout_timeout * HZ); in iscsit_start_dataout_timer()
Discsi_target_util.c941 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_mod_nopin_response_timer() local
950 (get_jiffies_64() + na->nopin_response_timeout * HZ)); in iscsit_mod_nopin_response_timer()
957 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_start_nopin_response_timer() local
968 jiffies + na->nopin_response_timeout * HZ); in iscsit_start_nopin_response_timer()
971 " seconds\n", conn->cid, na->nopin_response_timeout); in iscsit_start_nopin_response_timer()
1014 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in __iscsit_start_nopin_timer() local
1021 if (!na->nopin_timeout) in __iscsit_start_nopin_timer()
1029 mod_timer(&conn->nopin_timer, jiffies + na->nopin_timeout * HZ); in __iscsit_start_nopin_timer()
1032 " interval\n", conn->cid, na->nopin_timeout); in __iscsit_start_nopin_timer()
Discsi_target_seq_pdu_list.c497 struct iscsi_node_attrib *na; in iscsit_build_pdu_and_seq_lists() local
509 na = iscsit_tpg_get_node_attrib(sess); in iscsit_build_pdu_and_seq_lists()
515 if (na->random_datain_pdu_offsets) in iscsit_build_pdu_and_seq_lists()
517 if (na->random_datain_seq_offsets) in iscsit_build_pdu_and_seq_lists()
522 if (na->random_r2t_offsets) in iscsit_build_pdu_and_seq_lists()

12