/linux/tools/accounting/ |
H A D | procacct.c | 51 #define NLA_DATA(na) ((void *)((char *)(na) + NLA_HDRLEN)) argument 129 struct nlattr *na; in send_cmd() local 143 na = (struct nlattr *) GENLMSG_DATA(&msg); in send_cmd() 144 na->nla_type = nla_type; in send_cmd() 145 na->nla_len = nla_len + 1 + NLA_HDRLEN; in send_cmd() 146 memcpy(NLA_DATA(na), nla_data, nla_len); in send_cmd() 147 msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len); in send_cmd() 178 struct nlattr *na; in get_family_id() local 193 na = (struct nlattr *) GENLMSG_DATA(&ans); in get_family_id() 194 na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); in get_family_id() [all …]
|
H A D | getdelays.c | 39 #define NLA_DATA(na) ((void *)((char*)(na) + NLA_HDRLEN)) argument 122 struct nlattr *na; in send_cmd() local 136 na = (struct nlattr *) GENLMSG_DATA(&msg); in send_cmd() 137 na->nla_type = nla_type; in send_cmd() 138 na->nla_len = nla_len + NLA_HDRLEN; in send_cmd() 139 memcpy(NLA_DATA(na), nla_data, nla_len); in send_cmd() 140 msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len); in send_cmd() 171 struct nlattr *na; in get_family_id() local 186 na = (struct nlattr *) GENLMSG_DATA(&ans); in get_family_id() 187 na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); in get_family_id() [all …]
|
/linux/drivers/of/ |
H A D | address.c | 23 #define OF_CHECK_ADDR_COUNT(na) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS) argument 24 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) argument 28 static void of_dump_addr(const char *s, const __be32 *addr, int na) in of_dump_addr() argument 31 while (na--) in of_dump_addr() 36 static void of_dump_addr(const char *s, const __be32 *addr, int na) { } in of_dump_addr() argument 47 int na, int ns, int pna, int fna); 48 int (*translate)(__be32 *addr, u64 offset, int na); 67 int na, int ns, int pna, int fna) in of_bus_default_map() argument 71 cp = of_read_number(range + fna, na - fna); in of_bus_default_map() 72 s = of_read_number(range + na + pna, ns); in of_bus_default_map() [all …]
|
/linux/arch/sparc/kernel/ |
H A 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 …]
|
H A D | of_device_common.c | 98 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()
|
H A 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/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 23 #define NLA_DATA(na) ((void *)((char *)(na) + NLA_HDRLEN)) argument 117 struct nlattr *na; in send_cmd_mt_nla() local 132 na = (struct nlattr *)(GENLMSG_DATA(&msg) + prv_len); in send_cmd_mt_nla() 133 na->nla_type = nla_type[cnt]; in send_cmd_mt_nla() 134 na->nla_len = nla_len[cnt] + NLA_HDRLEN; in send_cmd_mt_nla() 137 memcpy(NLA_DATA(na), nla_data[cnt], nla_len[cnt]); in send_cmd_mt_nla() 183 struct nlattr *na; in get_family_id() local 202 na = (struct nlattr *)GENLMSG_DATA(&ans); in get_family_id() 205 len += NLA_ALIGN(na->nla_len); in get_family_id() 206 if (na->nla_type == CTRL_ATTR_FAMILY_ID) { in get_family_id() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | umc_v8_10.h | 55 #define SWIZZLE_MODE_TMP_ADDR(na, ch_num, ch_idx) \ argument 56 ((((na) >> 10) * (ch_num) + (ch_idx)) << 10) 59 #define SWIZZLE_MODE_ADDR_MID(na, col_bit) ((((na) >> 8) & 0x3) << (col_bit)) argument 62 #define SWIZZLE_MODE_ADDR_LSB(na) ((na) & 0xFF) argument
|
H A D | umc_v8_10.c | 187 uint64_t na, uint64_t *soc_pa) in umc_v8_10_swizzle_mode_na_to_pa() argument 196 tmp_addr = SWIZZLE_MODE_TMP_ADDR(na, channel_num, channel_idx); in umc_v8_10_swizzle_mode_na_to_pa() 198 SWIZZLE_MODE_ADDR_MID(na, col_bit) | in umc_v8_10_swizzle_mode_na_to_pa() 200 SWIZZLE_MODE_ADDR_LSB(na); in umc_v8_10_swizzle_mode_na_to_pa()
|
/linux/net/bridge/ |
H A D | br_arp_nd_proxy.c | 256 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 …]
|
/linux/arch/powerpc/boot/ |
H A D | simpleboot.c | 28 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/ |
H A D | taskstats.c | 354 static int parse(struct nlattr *na, struct cpumask *mask) in parse() argument 360 if (na == NULL) in parse() 362 len = nla_len(na); in parse() 370 nla_strscpy(data, na, len); in parse() 378 struct nlattr *na, *ret; in mk_reply() local 385 na = nla_nest_start_noflag(skb, aggr); in mk_reply() 386 if (!na) in mk_reply() 390 nla_nest_cancel(skb, na); in mk_reply() 396 nla_nest_cancel(skb, na); in mk_reply() 399 nla_nest_end(skb, na); in mk_reply() [all …]
|
/linux/arch/powerpc/platforms/chrp/ |
H A D | setup.c | 373 int na = 1; in chrp_find_openpic() local 381 na = of_n_addr_cells(root); in chrp_find_openpic() 383 if (opprop && oplen >= na * sizeof(unsigned int)) { in chrp_find_openpic() 384 opaddr = opprop[na-1]; /* assume 32-bit */ in chrp_find_openpic() 385 oplen /= na * sizeof(unsigned int); in chrp_find_openpic() 427 j = na - 1; in chrp_find_openpic() 430 j += na; in chrp_find_openpic()
|
/linux/fs/hpfs/ |
H A 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/tools/power/cpupower/po/ |
H A 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/drivers/media/dvb-frontends/ |
H A D | bcm3510_priv.h | 88 u8 na :1; member 99 u8 na :3; member 110 u8 na :5; member 134 u8 na :2; member
|
/linux/drivers/target/iscsi/ |
H A D | iscsi_target_erl1.c | 1100 struct iscsi_node_attrib *na; in iscsit_handle_dataout_timeout() local 1112 na = iscsit_tpg_get_node_attrib(sess); in iscsit_handle_dataout_timeout() 1123 if (++cmd->dataout_timeout_retries == na->dataout_timeout_retries) { in iscsit_handle_dataout_timeout() 1127 cmd->init_task_tag, na->dataout_timeout_retries, in iscsit_handle_dataout_timeout() 1185 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_mod_dataout_timer() local 1194 (get_jiffies_64() + na->dataout_timeout * HZ)); in iscsit_mod_dataout_timer() 1205 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_start_dataout_timer() local 1217 mod_timer(&cmd->dataout_timer, jiffies + na->dataout_timeout * HZ); in iscsit_start_dataout_timer()
|
H A D | iscsi_target_util.c | 925 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()
|
H A D | iscsi_target_seq_pdu_list.c | 497 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()
|
H A D | iscsi_target_tmr.c | 71 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()
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8183-kukui-krane-sku0.dts | 23 compatible = "auo,kd101n80-45na";
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_timeline.c | 154 unsigned int na; in mock_hwsp_freelist() local 181 for_each_prime_number_from(na, 1, 2 * CACHELINES_PER_PAGE) { in mock_hwsp_freelist() 182 err = __mock_hwsp_timeline(&state, na, p->flags); in mock_hwsp_freelist() 189 for (na = 0; na < state.max; na++) in mock_hwsp_freelist() 190 __mock_hwsp_record(&state, na, NULL); in mock_hwsp_freelist()
|
/linux/fs/afs/ |
H A D | addr_prefs.c | 157 u32 mask, na, nb; in afs_cmp_address_pref() local 187 na = ntohl(*pa); in afs_cmp_address_pref() 189 diff = (na & mask) - (nb & mask); in afs_cmp_address_pref()
|
/linux/tools/perf/util/ |
H A D | mem-events.c | 435 goto na; in perf_mem__lvl_scnprintf() 465 goto na; in perf_mem__lvl_scnprintf() 469 goto na; in perf_mem__lvl_scnprintf() 486 na:
|
/linux/tools/lib/bpf/ |
H A D | netlink.c | 253 struct nlattr *na = (struct nlattr *)((void *)gnl + GENL_HDRLEN); in parse_genl_family_id() local 257 libbpf_nla_parse(tb, CTRL_ATTR_FAMILY_ID, na, in parse_genl_family_id() 409 struct nlattr *na = (struct nlattr *)((void *)gnl + GENL_HDRLEN); in parse_xdp_features() local 414 libbpf_nla_parse(tb, NETDEV_CMD_MAX, na, in parse_xdp_features()
|