Home
last modified time | relevance | path

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

12

/linux/drivers/of/
A Dfdt_address.c22 #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ argument
30 while(na--) in of_dump_addr()
43 int na, int ns, int pna);
75 cp = of_read_number(range, na); in fdt_bus_default_map()
77 da = of_read_number(addr, na); in fdt_bus_default_map()
90 memset(addr, 0, na * 4); in fdt_bus_default_translate()
92 if (na > 1) in fdt_bus_default_translate()
133 rone = na + pna + ns; in fdt_translate_one()
169 int na, ns, pna, pns; in fdt_translate_address() local
195 memcpy(addr, reg, na * 4); in fdt_translate_address()
[all …]
A 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
35 while (na--) in of_dump_addr()
71 int na, int ns, int pna) in of_bus_default_map() argument
89 memset(addr, 0, na * 4); in of_bus_default_translate()
91 if (na > 1) in of_bus_default_translate()
439 rone = na + pna + ns; in of_translate_one()
481 int na, ns, pna, pns; in __of_translate_address() local
553 na = pna; in __of_translate_address()
656 onesize = na + ns; in __of_get_address()
[all …]
/linux/tools/accounting/
A Dgetdelays.c39 #define NLA_DATA(na) ((void *)((char*)(na) + NLA_HDRLEN)) argument
123 struct nlattr *na; in send_cmd() local
138 na->nla_type = nla_type; in send_cmd()
172 struct nlattr *na; in get_family_id() local
188 na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); in get_family_id()
269 struct nlattr *na; in main() local
485 na = (struct nlattr *) NLA_DATA(na); in main()
508 if (write(fd, NLA_DATA(na), na->nla_len) < 0) { in main()
520 na->nla_type); in main()
524 na = (struct nlattr *)((char *)na + in main()
[all …]
/linux/arch/sparc/kernel/
A Dof_device_32.c51 int na, int ns, int pna) in of_bus_pci_map() argument
61 na - 1, ns)) 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()
204 for (i = 0; i < na; i++) in build_one_resource()
206 addr[na - 1 - i]; in build_one_resource()
214 rone = na + pna + ns; in build_one_resource()
251 int na, ns; in build_device_resources() local
270 num_reg /= na + ns; in build_device_resources()
[all …]
A Dof_device_64.c124 na - 1, ns)) 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()
259 addr[na - 1 - i]; in build_one_resource()
267 rone = na + pna + ns; in build_one_resource()
321 int na, ns; in build_device_resources() local
340 num_reg /= na + ns; in build_device_resources()
374 dna = na; in build_device_resources()
430 int na, num_reg, i; in apply_interrupt_map() local
450 irq = imap[na + 2]; in apply_interrupt_map()
[all …]
A 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()
A 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);
/linux/tools/testing/selftests/nci/
A Dnci_dev.c23 #define NLA_DATA(na) ((void *)((char *)(na) + NLA_HDRLEN)) argument
117 struct nlattr *na; in send_cmd_mt_nla() local
133 na->nla_type = nla_type[cnt]; in send_cmd_mt_nla()
183 struct nlattr *na; in get_family_id() local
205 len += NLA_ALIGN(na->nla_len); in get_family_id()
207 id = *(__u16 *)NLA_DATA(na); in get_family_id()
280 struct nlattr *na; in get_dev_enable_state() local
289 len += NLA_ALIGN(na->nla_len); in get_dev_enable_state()
291 return *(char *)NLA_DATA(na); in get_dev_enable_state()
646 struct nlattr *na; in get_taginfo() local
[all …]
/linux/net/bridge/
A Dbr_arp_nd_proxy.c256 struct nd_msg *na; in br_nd_send() local
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()
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()
329 na->opt[0] = ND_OPT_TARGET_LL_ADDR; in br_nd_send()
330 na->opt[1] = na_olen >> 3; in br_nd_send()
334 sizeof(*na) + na_olen, in br_nd_send()
[all …]
/linux/fs/dlm/
A Dlowcomms.c309 return na; in find_node_addr()
354 if (na && na->addr_count) { in nodeid_to_addr()
355 memcpy(&sas, na->addr[na->curr_addr_index], in nodeid_to_addr()
360 if (na->curr_addr_index == na->addr_count) in nodeid_to_addr()
366 if (!na) in nodeid_to_addr()
453 if (!na) { in dlm_lowcomms_addr()
478 na->addr[na->addr_count++] = new_addr; in dlm_lowcomms_addr()
581 if (!na) { in dlm_lowcomms_nodes_set_mark()
1497 if (na) { in dlm_lowcomms_close()
1500 kfree(na->addr[na->addr_count]); in dlm_lowcomms_close()
[all …]
/linux/arch/powerpc/boot/
A 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()
/linux/kernel/
A Dtaskstats.c339 if (na == NULL) in parse()
341 len = nla_len(na); in parse()
357 struct nlattr *na, *ret; in mk_reply() local
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()
390 struct nlattr *na; in cgroupstats_user_cmd() local
396 if (!na) in cgroupstats_user_cmd()
413 if (na == NULL) { in cgroupstats_user_cmd()
[all …]
/linux/fs/ntfs/
A Dinode.c65 if (na->name_len && memcmp(ni->name, na->name, in ntfs_test_inode()
107 BUG_ON(na->name); in ntfs_init_locked_inode()
122 if (na->name_len && na->name != I30) { in ntfs_init_locked_inode()
161 ntfs_attr na; in ntfs_iget() local
165 na.name = NULL; in ntfs_iget()
166 na.name_len = 0; in ntfs_iget()
219 ntfs_attr na; in ntfs_attr_iget() local
225 na.type = type; in ntfs_attr_iget()
226 na.name = name; in ntfs_attr_iget()
277 ntfs_attr na; in ntfs_index_iget() local
[all …]
A 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()
1014 na.mft_no = MREF_LE(m->base_mft_record); in ntfs_may_write_mft_record()
1017 if (!na.mft_no) { in ntfs_may_write_mft_record()
1023 &na); in ntfs_may_write_mft_record()
1030 "extent record.", na.mft_no); in ntfs_may_write_mft_record()
1072 mft_no, na.mft_no); in ntfs_may_write_mft_record()
[all …]
/linux/arch/powerpc/kernel/
A 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()
/linux/arch/powerpc/platforms/chrp/
A Dsetup.c371 int na = 1; in chrp_find_openpic() local
379 na = of_n_addr_cells(root); in chrp_find_openpic()
381 if (opprop && oplen >= na * sizeof(unsigned int)) { in chrp_find_openpic()
382 opaddr = opprop[na-1]; /* assume 32-bit */ in chrp_find_openpic()
383 oplen /= na * sizeof(unsigned int); in chrp_find_openpic()
425 j = na - 1; in chrp_find_openpic()
428 j += na; in chrp_find_openpic()
/linux/fs/hpfs/
A Danode.c66 anode_secno a, na = -1, ra, up = -1; in hpfs_add_sector_to_btree() local
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()
214 anode->up = cpu_to_le32(na); in hpfs_add_sector_to_btree()
218 } else na = a; in hpfs_add_sector_to_btree()
220 if ((anode = hpfs_map_anode(s, na, &bh))) { in hpfs_add_sector_to_btree()
[all …]
/linux/net/hsr/
A 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()
/linux/drivers/staging/gdm724x/
A 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 …]
/linux/tools/power/cpupower/po/
A 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"
542 msgstr "Užití: cpufreq-set [přepínače]\n"
634 " nebo nelze na tomto hardware nastavit určitou frekvenci?\n"
647 "přepínač -f/--freq nemůže být použit zároveň\n"
648 "s přepínačem -d/--min, -u/--max nebo -g/--governor\n"
656 "Musí být zadán alespoň jeden přepínač\n"
[all …]
/linux/drivers/media/dvb-frontends/
A Dbcm3510_priv.h88 u8 na :1; member
99 u8 na :3; member
110 u8 na :5; member
134 u8 na :2; member
/linux/drivers/target/iscsi/
A Discsi_target_erl1.c1101 struct iscsi_node_attrib *na; in iscsit_handle_dataout_timeout() local
1113 na = iscsit_tpg_get_node_attrib(sess); in iscsit_handle_dataout_timeout()
1124 if (++cmd->dataout_timeout_retries == na->dataout_timeout_retries) { in iscsit_handle_dataout_timeout()
1128 cmd->init_task_tag, na->dataout_timeout_retries, in iscsit_handle_dataout_timeout()
1186 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_mod_dataout_timer() local
1195 (get_jiffies_64() + na->dataout_timeout * HZ)); in iscsit_mod_dataout_timer()
1206 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_start_dataout_timer() local
1218 mod_timer(&cmd->dataout_timer, jiffies + na->dataout_timeout * HZ); in iscsit_start_dataout_timer()
A Discsi_target_util.c925 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_mod_nopin_response_timer() local
934 (get_jiffies_64() + na->nopin_response_timeout * HZ)); in iscsit_mod_nopin_response_timer()
941 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_start_nopin_response_timer() local
952 jiffies + na->nopin_response_timeout * HZ); in iscsit_start_nopin_response_timer()
955 " seconds\n", conn->cid, na->nopin_response_timeout); in iscsit_start_nopin_response_timer()
998 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in __iscsit_start_nopin_timer() local
1005 if (!na->nopin_timeout) in __iscsit_start_nopin_timer()
1013 mod_timer(&conn->nopin_timer, jiffies + na->nopin_timeout * HZ); in __iscsit_start_nopin_timer()
1016 " interval\n", conn->cid, na->nopin_timeout); in __iscsit_start_nopin_timer()
A 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()
A Discsi_target_tmr.c71 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_tmr_task_warm_reset() local
73 if (!na->tmr_warm_reset) { in iscsit_tmr_task_warm_reset()
91 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_tmr_task_cold_reset() local
93 if (!na->tmr_cold_reset) { in iscsit_tmr_task_cold_reset()

Completed in 58 milliseconds

12