/Linux-v4.19/drivers/of/ |
D | fdt_address.c | 22 #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 …]
|
D | address.c | 19 #define OF_CHECK_ADDR_COUNT(na) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS) argument 20 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) argument 29 static void of_dump_addr(const char *s, const __be32 *addr, int na) in of_dump_addr() argument 32 while (na--) in of_dump_addr() 37 static void of_dump_addr(const char *s, const __be32 *addr, int na) { } in of_dump_addr() argument 48 int na, int ns, int pna); 49 int (*translate)(__be32 *addr, u64 offset, int na); 67 int na, int ns, int pna) in of_bus_default_map() argument 71 cp = of_read_number(range, na); in of_bus_default_map() 72 s = of_read_number(range + na + pna, ns); in of_bus_default_map() [all …]
|
/Linux-v4.19/tools/accounting/ |
D | getdelays.c | 39 #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 + 1 + 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 …]
|
/Linux-v4.19/arch/sparc/kernel/ |
D | of_device_32.c | 51 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 …]
|
D | of_device_64.c | 89 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 …]
|
D | of_device_common.c | 96 const u32 *size, int na, int ns) in of_out_of_range() argument 98 u64 a = of_read_addr(addr, na); in of_out_of_range() 99 u64 b = of_read_addr(base, na); in of_out_of_range() 111 int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna) in of_bus_default_map() argument 121 if (of_out_of_range(addr, range, range + na + pna, na, ns)) in of_bus_default_map() 125 memcpy(result, range + na, pna * 4); in of_bus_default_map() 128 for (i = 0; i < na; i++) in of_bus_default_map() 130 (addr[na - 1 - i] - in of_bus_default_map() 131 range[na - 1 - i]); in of_bus_default_map()
|
D | of_device_common.h | 16 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-v4.19/net/bridge/ |
D | br_arp_nd_proxy.c | 250 struct nd_msg *na; in br_nd_send() local 262 sizeof(*na) + na_olen + dev->needed_tailroom; in br_nd_send() 309 na = (struct nd_msg *)skb_put(reply, sizeof(*na) + na_olen); in br_nd_send() 312 memset(na, 0, sizeof(*na) + na_olen); in br_nd_send() 313 na->icmph.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT; in br_nd_send() 314 na->icmph.icmp6_router = 0; /* XXX: should be 1 ? */ in br_nd_send() 315 na->icmph.icmp6_override = 1; in br_nd_send() 316 na->icmph.icmp6_solicited = 1; in br_nd_send() 317 na->target = ns->target; in br_nd_send() 318 ether_addr_copy(&na->opt[2], n->ha); in br_nd_send() [all …]
|
/Linux-v4.19/arch/powerpc/boot/ |
D | simpleboot.c | 31 const u32 *na, *ns, *reg, *timebase; in platform_init() local 43 na = fdt_getprop(_dtb_start, node, "#address-cells", &size); in platform_init() 44 if (!na || (size != 4)) in platform_init() 56 if (size < (*na+*ns) * sizeof(u32)) in platform_init() 60 for (i = 0; i < *na; i++) in platform_init()
|
/Linux-v4.19/fs/dlm/ |
D | lowcomms.c | 262 struct dlm_node_addr *na; in find_node_addr() local 264 list_for_each_entry(na, &dlm_node_addrs, list) { in find_node_addr() 265 if (na->nodeid == nodeid) in find_node_addr() 266 return na; in find_node_addr() 302 struct dlm_node_addr *na; in nodeid_to_addr() local 308 na = find_node_addr(nodeid); in nodeid_to_addr() 309 if (na && na->addr_count) { in nodeid_to_addr() 310 memcpy(&sas, na->addr[na->curr_addr_index], in nodeid_to_addr() 314 na->curr_addr_index++; in nodeid_to_addr() 315 if (na->curr_addr_index == na->addr_count) in nodeid_to_addr() [all …]
|
/Linux-v4.19/kernel/ |
D | taskstats.c | 347 static int parse(struct nlattr *na, struct cpumask *mask) in parse() argument 353 if (na == NULL) in parse() 355 len = nla_len(na); in parse() 363 nla_strlcpy(data, na, len); in parse() 371 struct nlattr *na, *ret; in mk_reply() local 378 na = nla_nest_start(skb, aggr); in mk_reply() 379 if (!na) in mk_reply() 383 nla_nest_cancel(skb, na); in mk_reply() 389 nla_nest_cancel(skb, na); in mk_reply() 392 nla_nest_end(skb, na); in mk_reply() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | isa-bridge.c | 180 u32 na, ns, pna; in isa_bridge_init_non_pci() local 188 if (of_property_read_u32(np, "#address-cells", &na) || in isa_bridge_init_non_pci() 196 if (na != 2 || ns != 1) { in isa_bridge_init_non_pci() 201 rs = na + ns + pna; in isa_bridge_init_non_pci() 216 size = of_read_number(ranges + i + na + pna, ns); in isa_bridge_init_non_pci() 217 pbasep = ranges + i + na; in isa_bridge_init_non_pci()
|
/Linux-v4.19/fs/ntfs/ |
D | inode.c | 60 int ntfs_test_inode(struct inode *vi, ntfs_attr *na) in ntfs_test_inode() argument 64 if (vi->i_ino != na->mft_no) in ntfs_test_inode() 70 if (unlikely(na->type != AT_UNUSED)) in ntfs_test_inode() 74 if (ni->type != na->type) in ntfs_test_inode() 76 if (ni->name_len != na->name_len) in ntfs_test_inode() 78 if (na->name_len && memcmp(ni->name, na->name, in ntfs_test_inode() 79 na->name_len * sizeof(ntfschar))) in ntfs_test_inode() 104 static int ntfs_init_locked_inode(struct inode *vi, ntfs_attr *na) in ntfs_init_locked_inode() argument 108 vi->i_ino = na->mft_no; in ntfs_init_locked_inode() 110 ni->type = na->type; in ntfs_init_locked_inode() [all …]
|
D | mft.c | 942 ntfs_attr na; in ntfs_may_write_mft_record() local 955 na.mft_no = mft_no; in ntfs_may_write_mft_record() 956 na.name = NULL; in ntfs_may_write_mft_record() 957 na.name_len = 0; in ntfs_may_write_mft_record() 958 na.type = AT_UNUSED; in ntfs_may_write_mft_record() 975 vi = ilookup5_nowait(sb, mft_no, (test_t)ntfs_test_inode, &na); in ntfs_may_write_mft_record() 1028 na.mft_no = MREF_LE(m->base_mft_record); in ntfs_may_write_mft_record() 1030 "inode 0x%lx in icache.", mft_no, na.mft_no); in ntfs_may_write_mft_record() 1031 if (!na.mft_no) { in ntfs_may_write_mft_record() 1036 vi = ilookup5_nowait(sb, na.mft_no, (test_t)ntfs_test_inode, in ntfs_may_write_mft_record() [all …]
|
/Linux-v4.19/net/hsr/ |
D | hsr_netlink.c | 236 struct nlattr *na; in hsr_get_node_status() local 255 na = info->attrs[HSR_A_IFINDEX]; in hsr_get_node_status() 256 if (!na) in hsr_get_node_status() 258 na = info->attrs[HSR_A_NODE_ADDR]; in hsr_get_node_status() 259 if (!na) in hsr_get_node_status() 370 struct nlattr *na; in hsr_get_node_list() local 384 na = info->attrs[HSR_A_IFINDEX]; in hsr_get_node_list() 385 if (!na) in hsr_get_node_list()
|
/Linux-v4.19/arch/powerpc/platforms/chrp/ |
D | setup.c | 389 int na = 1; in chrp_find_openpic() local 397 na = of_n_addr_cells(root); in chrp_find_openpic() 399 if (opprop && oplen >= na * sizeof(unsigned int)) { in chrp_find_openpic() 400 opaddr = opprop[na-1]; /* assume 32-bit */ in chrp_find_openpic() 401 oplen /= na * sizeof(unsigned int); in chrp_find_openpic() 443 j = na - 1; in chrp_find_openpic() 446 j += na; in chrp_find_openpic()
|
/Linux-v4.19/drivers/staging/gdm724x/ |
D | gdm_lte.c | 224 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-v4.19/fs/hpfs/ |
D | anode.c | 66 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 …]
|
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | bcm3510_priv.h | 97 u8 na :1; member 108 u8 na :3; member 119 u8 na :5; member 143 u8 na :2; member
|
/Linux-v4.19/tools/power/cpupower/po/ |
D | cs.po | 219 "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 …]
|
/Linux-v4.19/drivers/target/iscsi/ |
D | iscsi_target_erl1.c | 1157 struct iscsi_node_attrib *na; in iscsit_handle_dataout_timeout() local 1169 na = iscsit_tpg_get_node_attrib(sess); in iscsit_handle_dataout_timeout() 1177 if (++cmd->dataout_timeout_retries == na->dataout_timeout_retries) { in iscsit_handle_dataout_timeout() 1180 cmd->init_task_tag, na->dataout_timeout_retries); in iscsit_handle_dataout_timeout() 1235 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_mod_dataout_timer() local 1244 (get_jiffies_64() + na->dataout_timeout * HZ)); in iscsit_mod_dataout_timer() 1258 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_start_dataout_timer() local 1268 mod_timer(&cmd->dataout_timer, jiffies + na->dataout_timeout * HZ); in iscsit_start_dataout_timer()
|
D | iscsi_target_util.c | 957 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_mod_nopin_response_timer() local 966 (get_jiffies_64() + na->nopin_response_timeout * HZ)); in iscsit_mod_nopin_response_timer() 976 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_start_nopin_response_timer() local 987 jiffies + na->nopin_response_timeout * HZ); in iscsit_start_nopin_response_timer() 990 " seconds\n", conn->cid, na->nopin_response_timeout); in iscsit_start_nopin_response_timer() 1036 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in __iscsit_start_nopin_timer() local 1040 if (!na->nopin_timeout) in __iscsit_start_nopin_timer() 1048 mod_timer(&conn->nopin_timer, jiffies + na->nopin_timeout * HZ); in __iscsit_start_nopin_timer() 1051 " interval\n", conn->cid, na->nopin_timeout); in __iscsit_start_nopin_timer()
|
D | iscsi_target_seq_pdu_list.c | 505 struct iscsi_node_attrib *na; in iscsit_build_pdu_and_seq_lists() local 517 na = iscsit_tpg_get_node_attrib(sess); in iscsit_build_pdu_and_seq_lists() 523 if (na->random_datain_pdu_offsets) in iscsit_build_pdu_and_seq_lists() 525 if (na->random_datain_seq_offsets) in iscsit_build_pdu_and_seq_lists() 530 if (na->random_r2t_offsets) in iscsit_build_pdu_and_seq_lists()
|
D | iscsi_target_tmr.c | 79 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_tmr_task_warm_reset() local 81 if (!na->tmr_warm_reset) { in iscsit_tmr_task_warm_reset() 99 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_tmr_task_cold_reset() local 101 if (!na->tmr_cold_reset) { in iscsit_tmr_task_cold_reset()
|
/Linux-v4.19/drivers/fsi/ |
D | fsi-core.c | 420 unsigned int len, na, ns; in fsi_device_node_matches() local 424 na = of_n_addr_cells(np); in fsi_device_node_matches() 427 if (na != 1 || ns != 1) in fsi_device_node_matches() 633 unsigned int len, na, ns; in fsi_slave_node_matches() local 636 na = of_n_addr_cells(np); in fsi_slave_node_matches() 642 if (na != 2 || ns != 0) in fsi_slave_node_matches()
|