/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-debug.c | 45 int pos = 0; in il4965_ucode_rx_stats_read() local 89 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_rx_stats_read() 90 pos += in il4965_ucode_rx_stats_read() 91 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read() 93 pos += in il4965_ucode_rx_stats_read() 94 scnprintf(buf + pos, bufsz - pos, fmt_table, "ina_cnt:", in il4965_ucode_rx_stats_read() 97 pos += in il4965_ucode_rx_stats_read() 98 scnprintf(buf + pos, bufs in il4965_ucode_rx_stats_read() 457 int pos = 0; il4965_ucode_tx_stats_read() local 623 int pos = 0; il4965_ucode_general_stats_read() local [all...] |
H A D | 3945-debug.c | 38 int pos = 0; in il3945_ucode_rx_stats_read() local 76 pos += il3945_stats_flag(il, buf, bufsz); in il3945_ucode_rx_stats_read() 77 pos += in il3945_ucode_rx_stats_read() 78 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 82 pos += in il3945_ucode_rx_stats_read() 83 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 87 pos += in il3945_ucode_rx_stats_read() 88 scnprintf(buf + pos, bufs in il3945_ucode_rx_stats_read() 303 int pos = 0; il3945_ucode_tx_stats_read() local 393 int pos = 0; il3945_ucode_general_stats_read() local [all...] |
H A D | debug.c | 206 int pos = 0; in il_dbgfs_tx_stats_read() local 215 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n"); in il_dbgfs_tx_stats_read() 217 pos += in il_dbgfs_tx_stats_read() 218 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read() 221 pos += scnprintf(buf + pos, bufsz - pos, "Contro in il_dbgfs_tx_stats_read() 267 int pos = 0; il_dbgfs_rx_stats_read() local 312 int pos = 0; il_dbgfs_sram_read() local 396 int i, j, pos = 0; il_dbgfs_stations_read() local 458 int pos = 0, ofs = 0, buf_size = 0; il_dbgfs_nvm_read() local 503 int pos = 0, i, bufsz = PAGE_SIZE; il_dbgfs_channels_read() local 582 int pos = 0; il_dbgfs_status_read() local 642 int pos = 0; il_dbgfs_interrupt_read() local 741 int pos = 0, i; il_dbgfs_qos_read() local 793 int pos = 0; il_dbgfs_disable_ht40_read() local 820 int pos = 0; il_dbgfs_tx_queue_read() local 866 int pos = 0; il_dbgfs_rx_queue_read() local 920 int pos = 0; il_dbgfs_sensitivity_read() local 1019 int pos = 0; il_dbgfs_chain_noise_read() local 1090 int pos = 0; il_dbgfs_power_save_status_read() local 1166 int pos = 0; il_dbgfs_fh_reg_read() local 1188 int pos = 0; il_dbgfs_missed_beacon_read() local 1230 int pos = 0; il_dbgfs_force_reset_read() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-debug.c | 45 int pos = 0; in il4965_ucode_rx_stats_read() local 89 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_rx_stats_read() 90 pos += in il4965_ucode_rx_stats_read() 91 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read() 93 pos += in il4965_ucode_rx_stats_read() 94 scnprintf(buf + pos, bufsz - pos, fmt_table, "ina_cnt:", in il4965_ucode_rx_stats_read() 97 pos += in il4965_ucode_rx_stats_read() 98 scnprintf(buf + pos, bufs in il4965_ucode_rx_stats_read() 457 int pos = 0; il4965_ucode_tx_stats_read() local 623 int pos = 0; il4965_ucode_general_stats_read() local [all...] |
H A D | 3945-debug.c | 38 int pos = 0; in il3945_ucode_rx_stats_read() local 76 pos += il3945_stats_flag(il, buf, bufsz); in il3945_ucode_rx_stats_read() 77 pos += in il3945_ucode_rx_stats_read() 78 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 82 pos += in il3945_ucode_rx_stats_read() 83 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 87 pos += in il3945_ucode_rx_stats_read() 88 scnprintf(buf + pos, bufs in il3945_ucode_rx_stats_read() 303 int pos = 0; il3945_ucode_tx_stats_read() local 393 int pos = 0; il3945_ucode_general_stats_read() local [all...] |
H A D | debug.c | 206 int pos = 0; in il_dbgfs_tx_stats_read() local 215 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n"); in il_dbgfs_tx_stats_read() 217 pos += in il_dbgfs_tx_stats_read() 218 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read() 221 pos += scnprintf(buf + pos, bufsz - pos, "Contro in il_dbgfs_tx_stats_read() 267 int pos = 0; il_dbgfs_rx_stats_read() local 312 int pos = 0; il_dbgfs_sram_read() local 396 int i, j, pos = 0; il_dbgfs_stations_read() local 458 int pos = 0, ofs = 0, buf_size = 0; il_dbgfs_nvm_read() local 503 int pos = 0, i, bufsz = PAGE_SIZE; il_dbgfs_channels_read() local 582 int pos = 0; il_dbgfs_status_read() local 642 int pos = 0; il_dbgfs_interrupt_read() local 741 int pos = 0, i; il_dbgfs_qos_read() local 793 int pos = 0; il_dbgfs_disable_ht40_read() local 820 int pos = 0; il_dbgfs_tx_queue_read() local 866 int pos = 0; il_dbgfs_rx_queue_read() local 920 int pos = 0; il_dbgfs_sensitivity_read() local 1019 int pos = 0; il_dbgfs_chain_noise_read() local 1090 int pos = 0; il_dbgfs_power_save_status_read() local 1166 int pos = 0; il_dbgfs_fh_reg_read() local 1188 int pos = 0; il_dbgfs_missed_beacon_read() local 1230 int pos = 0; il_dbgfs_force_reset_read() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | debugfs.c | 66 int pos = 0; in iwl_dbgfs_sram_read() local 95 pos += scnprintf(buf + pos, bufsz - pos, "sram_len: 0x%x\n", in iwl_dbgfs_sram_read() 97 pos += scnprintf(buf + pos, bufsz - pos, "sram_offset: 0x%x\n", in iwl_dbgfs_sram_read() 110 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read() 194 int i, j, pos = 0; iwl_dbgfs_stations_read() local 250 int pos = 0, ofs = 0, buf_size = 0; iwl_dbgfs_nvm_read() local 288 int pos = 0, i, bufsz = PAGE_SIZE; iwl_dbgfs_channels_read() local 353 int pos = 0; iwl_dbgfs_status_read() local 387 int pos = 0; iwl_dbgfs_rx_handlers_read() local 438 int pos = 0, i; iwl_dbgfs_qos_read() local 468 int pos = 0; iwl_dbgfs_thermal_throttling_read() local 521 int pos = 0; iwl_dbgfs_disable_ht40_read() local 536 int pos = 0; iwl_dbgfs_temperature_read() local 592 int pos, value; iwl_dbgfs_sleep_level_override_read() local 610 int pos = 0, i; iwl_dbgfs_current_sleep_command_read() local 675 int pos = 0; iwl_dbgfs_ucode_rx_stats_read() local 1108 int pos = 0; iwl_dbgfs_ucode_tx_stats_read() local 1305 int pos = 0; iwl_dbgfs_ucode_general_stats_read() local 1425 int pos = 0; iwl_dbgfs_ucode_bt_stats_read() local 1513 int pos = 0; iwl_dbgfs_reply_tx_error_read() local 1655 int pos = 0; iwl_dbgfs_sensitivity_read() local 1734 int pos = 0; iwl_dbgfs_chain_noise_read() local 1791 int pos = 0; iwl_dbgfs_power_save_status_read() local 1837 int pos = 0; iwl_dbgfs_ucode_tracing_read() local 1914 int pos = 0; iwl_dbgfs_missed_beacon_read() local 1955 int pos = 0; iwl_dbgfs_plcp_delta_read() local 1994 int pos = 0; iwl_dbgfs_rf_reset_read() local 2054 int pos = 0; iwl_dbgfs_bt_traffic_read() local 2100 int pos = 0; iwl_dbgfs_protection_mode_read() local 2221 int pos = 0; iwl_dbgfs_calib_disabled_read() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | debugfs.c | 62 int pos = 0; in iwl_dbgfs_sram_read() local 91 pos += scnprintf(buf + pos, bufsz - pos, "sram_len: 0x%x\n", in iwl_dbgfs_sram_read() 93 pos += scnprintf(buf + pos, bufsz - pos, "sram_offset: 0x%x\n", in iwl_dbgfs_sram_read() 106 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read() 190 int i, j, pos = 0; iwl_dbgfs_stations_read() local 246 int pos = 0, ofs = 0, buf_size = 0; iwl_dbgfs_nvm_read() local 284 int pos = 0, i, bufsz = PAGE_SIZE; iwl_dbgfs_channels_read() local 349 int pos = 0; iwl_dbgfs_status_read() local 383 int pos = 0; iwl_dbgfs_rx_handlers_read() local 434 int pos = 0, i; iwl_dbgfs_qos_read() local 464 int pos = 0; iwl_dbgfs_thermal_throttling_read() local 517 int pos = 0; iwl_dbgfs_disable_ht40_read() local 532 int pos = 0; iwl_dbgfs_temperature_read() local 588 int pos, value; iwl_dbgfs_sleep_level_override_read() local 606 int pos = 0, i; iwl_dbgfs_current_sleep_command_read() local 671 int pos = 0; iwl_dbgfs_ucode_rx_stats_read() local 1104 int pos = 0; iwl_dbgfs_ucode_tx_stats_read() local 1301 int pos = 0; iwl_dbgfs_ucode_general_stats_read() local 1421 int pos = 0; iwl_dbgfs_ucode_bt_stats_read() local 1509 int pos = 0; iwl_dbgfs_reply_tx_error_read() local 1651 int pos = 0; iwl_dbgfs_sensitivity_read() local 1730 int pos = 0; iwl_dbgfs_chain_noise_read() local 1787 int pos = 0; iwl_dbgfs_power_save_status_read() local 1833 int pos = 0; iwl_dbgfs_ucode_tracing_read() local 1910 int pos = 0; iwl_dbgfs_missed_beacon_read() local 1951 int pos = 0; iwl_dbgfs_plcp_delta_read() local 1990 int pos = 0; iwl_dbgfs_rf_reset_read() local 2050 int pos = 0; iwl_dbgfs_bt_traffic_read() local 2096 int pos = 0; iwl_dbgfs_protection_mode_read() local 2217 int pos = 0; iwl_dbgfs_calib_disabled_read() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_debugfs.c | 93 char *pos = content; in hclge_dbg_fill_content() local 100 *pos++ = '\0'; in hclge_dbg_fill_content() 115 memcpy(pos, result[i], strlen(result[i])); in hclge_dbg_fill_content() 117 memcpy(pos, items[i].name, strlen(items[i].name)); in hclge_dbg_fill_content() 119 pos += item_len; in hclge_dbg_fill_content() 122 *pos++ = '\n'; in hclge_dbg_fill_content() 123 *pos++ = '\0'; in hclge_dbg_fill_content() 191 char *buf, int len, int *pos) in hclge_dbg_dump_reg_tqp() 211 *pos += scnprintf(buf + *pos, le in hclge_dbg_dump_reg_tqp() 189 hclge_dbg_dump_reg_tqp(struct hclge_dev *hdev, const struct hclge_dbg_reg_type_info *reg_info, char *buf, int len, int *pos) hclge_dbg_dump_reg_tqp() argument 243 hclge_dbg_dump_reg_common(struct hclge_dev *hdev, const struct hclge_dbg_reg_type_info *reg_info, char *buf, int len, int *pos) hclge_dbg_dump_reg_common() argument 305 hclge_dbg_dump_mac_enable_status(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_mac_enable_status() argument 335 hclge_dbg_dump_mac_frame_size(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_mac_frame_size() argument 361 hclge_dbg_dump_mac_speed_duplex(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_mac_speed_duplex() argument 394 int pos = 0; hclge_dbg_dump_mac() local 408 hclge_dbg_dump_dcb_qset(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_dcb_qset() argument 439 hclge_dbg_dump_dcb_pri(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_dcb_pri() argument 469 hclge_dbg_dump_dcb_pg(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_dcb_pg() argument 495 hclge_dbg_dump_dcb_queue(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_dcb_queue() argument 526 hclge_dbg_dump_dcb_port(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_dcb_port() argument 549 hclge_dbg_dump_dcb_tm(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_dcb_tm() argument 613 int pos = 0; hclge_dbg_dump_dcb() local 643 int pos = 0, ret = 0; hclge_dbg_dump_reg_cmd() local 668 int pos = 0; hclge_dbg_dump_tc() local 743 int pos = 0; __hclge_dbg_dump_tm_pg() local 820 int pos = 0; hclge_dbg_dump_tm_port() local 844 int pos = 0; hclge_dbg_dump_tm_bp_qset_map() local 890 int pos = 0; hclge_dbg_dump_tm_map() local 934 int pos = 0; hclge_dbg_dump_tm_nodes() local 989 int pos, ret; hclge_dbg_dump_tm_pri() local 1064 int ret, pos; hclge_dbg_dump_tm_qset() local 1120 int pos = 0; hclge_dbg_dump_qos_pause_cfg() local 1149 int pos = 0; hclge_dbg_dump_qos_pri_map() local 1186 int pos, ret; hclge_dbg_dump_qos_dscp_map() local 1234 int pos = 0; hclge_dbg_dump_tx_buf_cfg() local 1259 int pos = 0; hclge_dbg_dump_rx_priv_buf_cfg() local 1289 int pos = 0; hclge_dbg_dump_rx_common_wl_cfg() local 1315 int pos = 0; hclge_dbg_dump_rx_global_pkt_cnt() local 1340 int pos = 0; hclge_dbg_dump_rx_priv_wl_buf_cfg() local 1376 int pos = 0; hclge_dbg_dump_rx_common_threshold_cfg() local 1411 int pos = 0; hclge_dbg_dump_qos_buf_cfg() local 1456 int pos = 0; hclge_dbg_dump_mng_table() local 1520 int pos = 0; hclge_dbg_fd_tcam_read() local 1593 int pos = 0; hclge_dbg_dump_fd_tcam() local 1658 int pos = 0; hclge_dbg_dump_fd_counter() local 1701 int pos = 0; hclge_dbg_dump_rst_info() local 1736 int pos = 0; hclge_dbg_dump_serv_info() local 1757 int pos = 0; hclge_dbg_dump_interrupt() local 1778 int pos = 0; hclge_dbg_imp_info_data_print() local 1847 hclge_ncl_config_data_print(struct hclge_desc *desc, int *index, char *buf, int len, int *pos) hclge_ncl_config_data_print() argument 1881 int pos = 0; hclge_dbg_dump_ncl_config() local 1911 int pos = 0; hclge_dbg_dump_loopback() local 1973 int pos = 0; hclge_dbg_dump_mac_tnl_status() local 2007 int pos = 0; hclge_dbg_dump_mac_list() local 2044 int pos = 0; hclge_dbg_dump_umv_info() local 2235 hclge_dbg_dump_vlan_filter_config(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_vlan_filter_config() argument 2288 hclge_dbg_dump_vlan_offload_config(struct hclge_dev *hdev, char *buf, int len, int *pos) hclge_dbg_dump_vlan_offload_config() argument 2342 int pos = 0; hclge_dbg_dump_vlan_config() local 2358 int pos = 0; hclge_dbg_dump_ptp_info() local [all...] |
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | list.h | 389 * @pos: the type * to cursor 392 #define list_next_entry(pos, member) \ 393 list_entry((pos)->member.next, typeof(*(pos)), member) 397 * @pos: the type * to cursor 400 #define list_prev_entry(pos, member) \ 401 list_entry((pos)->member.prev, typeof(*(pos)), member) 405 * @pos: the &struct list_head to use as a loop cursor. 408 #define list_for_each(pos, hea [all...] |
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | list.h | 400 * @pos: the type * to cursor 403 #define list_next_entry(pos, member) \ 404 list_entry((pos)->member.next, typeof(*(pos)), member) 408 * @pos: the type * to cursor 411 #define list_prev_entry(pos, member) \ 412 list_entry((pos)->member.prev, typeof(*(pos)), member) 416 * @pos: the &struct list_head to use as a loop cursor. 419 #define list_for_each(pos, hea [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | list.h | 272 struct list_head *pos = entry2->prev; in list_swap() local 276 if (pos == entry1) in list_swap() 277 pos = entry2; in list_swap() 278 list_add(entry1, pos); in list_swap() 641 * @pos: the type * to cursor 644 #define list_next_entry(pos, member) \ 645 list_entry((pos)->member.next, typeof(*(pos)), member) 649 * @pos: the type * to cursor. 653 * Wraparound if pos i 745 struct list_head *pos; list_count_nodes() local [all...] |
H A D | rculist.h | 380 * @pos: the type * to use as a loop cursor. 389 #define list_for_each_entry_rcu(pos, head, member, cond...) \ 391 pos = list_entry_rcu((head)->next, typeof(*pos), member); \ 392 &pos->member != (head); \ 393 pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) 397 * @pos: the type * to use as a loop cursor. 408 #define list_for_each_entry_srcu(pos, hea [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | bitfunc.c | 35 size_t pos = bit & 7; in are_bits_clear() local 38 if (pos) { in are_bits_clear() 39 if (8 - pos >= nbits) in are_bits_clear() 40 return !nbits || !(*map & fill_mask[pos + nbits] & in are_bits_clear() 41 zero_mask[pos]); in are_bits_clear() 43 if (*map++ & zero_mask[pos]) in are_bits_clear() 45 nbits -= 8 - pos; in are_bits_clear() 48 pos = ((size_t)map) & (sizeof(size_t) - 1); in are_bits_clear() 49 if (pos) { in are_bits_clear() 50 pos in are_bits_clear() 84 size_t pos = bit & 7; are_bits_set() local [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | list.h | 189 struct list_head *pos = entry2->prev; in list_swap() local 193 if (pos == entry1) in list_swap() 194 pos = entry2; in list_swap() 195 list_add(entry1, pos); in list_swap() 551 * @pos: the type * to cursor 554 #define list_next_entry(pos, member) \ 555 list_entry((pos)->member.next, typeof(*(pos)), member) 559 * @pos: the type * to cursor 562 #define list_prev_entry(pos, membe [all...] |
H A D | rculist.h | 381 * @pos: the type * to use as a loop cursor. 390 #define list_for_each_entry_rcu(pos, head, member, cond...) \ 392 pos = list_entry_rcu((head)->next, typeof(*pos), member); \ 393 &pos->member != (head); \ 394 pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) 398 * @pos: the type * to use as a loop cursor. 409 #define list_for_each_entry_srcu(pos, hea [all...] |
H A D | llist.h | 102 * @pos: the &struct llist_node to use as a loop cursor 114 #define llist_for_each(pos, node) \ 115 for ((pos) = (node); pos; (pos) = (pos)->next) 120 * @pos: the &struct llist_node to use as a loop cursor 133 #define llist_for_each_safe(pos, n, node) \ 134 for ((pos) = (node); (pos) [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | bpf-prologue.c | 29 struct bpf_insn *pos; member 33 pos_get_cnt(struct bpf_insn_pos *pos) in pos_get_cnt() argument 35 return pos->pos - pos->begin; in pos_get_cnt() 39 append_insn(struct bpf_insn new_insn, struct bpf_insn_pos *pos) in append_insn() argument 41 if (!pos->pos) in append_insn() 44 if (pos->pos in append_insn() 55 check_pos(struct bpf_insn_pos *pos) check_pos() argument 112 gen_ldx_reg_from_ctx(struct bpf_insn_pos *pos, int ctx_reg, const char *reg, int target_reg) gen_ldx_reg_from_ctx() argument 122 ins(BPF_LDX_MEM(BPF_DW, target_reg, ctx_reg, offset), pos); gen_ldx_reg_from_ctx() local 142 gen_read_mem(struct bpf_insn_pos *pos, int src_base_addr_reg, int dst_addr_reg, long offset, int probeid) gen_read_mem() argument 150 ins(BPF_MOV64_REG(BPF_REG_ARG3, src_base_addr_reg), pos); gen_read_mem() local 153 ins(BPF_ALU64_IMM(BPF_ADD, BPF_REG_ARG3, offset), pos); gen_read_mem() local 156 ins(BPF_ALU64_IMM(BPF_MOV, BPF_REG_ARG2, BPF_REG_SIZE), pos); gen_read_mem() local 160 ins(BPF_MOV64_REG(BPF_REG_ARG1, dst_addr_reg), pos); gen_read_mem() local 163 ins(BPF_EMIT_CALL(probeid), pos); gen_read_mem() local 183 gen_prologue_fastpath(struct bpf_insn_pos *pos, struct probe_trace_arg *args, int nargs) gen_prologue_fastpath() argument 242 gen_prologue_slowpath(struct bpf_insn_pos *pos, struct probe_trace_arg *args, int nargs) gen_prologue_slowpath() argument 266 ins(BPF_MOV64_REG(BPF_REG_7, BPF_REG_FP), pos); gen_prologue_slowpath() local 268 ins(BPF_ALU64_IMM(BPF_ADD, BPF_REG_7, stack_offset), pos); gen_prologue_slowpath() local 277 stack_offset), pos); gen_prologue_slowpath() local 303 BPF_REG_FP, stack_offset), pos); gen_prologue_slowpath() local 325 prologue_relocate(struct bpf_insn_pos *pos, struct bpf_insn *error_code, struct bpf_insn *success_code, struct bpf_insn *user_code) prologue_relocate() argument 371 struct bpf_insn_pos pos; bpf__gen_prologue() local 448 ins(BPF_MOV64_REG(BPF_REG_CTX, BPF_REG_ARG1), &pos); bpf__gen_prologue() local 493 ins(BPF_MOV64_REG(BPF_REG_ARG1, BPF_REG_CTX), &pos); bpf__gen_prologue() local [all...] |
/kernel/linux/linux-5.10/net/ieee802154/ |
H A D | header_ops.c | 18 int pos = 0; in ieee802154_hdr_push_addr() local 24 memcpy(buf + pos, &addr->pan_id, 2); in ieee802154_hdr_push_addr() 25 pos += 2; in ieee802154_hdr_push_addr() 30 memcpy(buf + pos, &addr->short_addr, 2); in ieee802154_hdr_push_addr() 31 pos += 2; in ieee802154_hdr_push_addr() 35 memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_addr() 36 pos += IEEE802154_ADDR_LEN; in ieee802154_hdr_push_addr() 43 return pos; in ieee802154_hdr_push_addr() 49 int pos = 5; in ieee802154_hdr_push_sechdr() local 56 return pos; in ieee802154_hdr_push_sechdr() 81 int pos = 2; ieee802154_hdr_push() local 117 memcpy(skb_push(skb, pos), buf, pos); ieee802154_hdr_push() local 127 int pos = 0; ieee802154_hdr_get_addr() local 163 int pos = 5; ieee802154_hdr_get_sechdr() local 220 int pos = 0; ieee802154_hdr_get_addrs() local 236 int pos = 3, rc; ieee802154_hdr_pull() local 267 int pos = 3, rc; ieee802154_hdr_peek_addrs() local 287 int pos; ieee802154_hdr_peek() local [all...] |
/kernel/linux/linux-6.6/net/ieee802154/ |
H A D | header_ops.c | 18 int pos = 0; in ieee802154_hdr_push_addr() local 24 memcpy(buf + pos, &addr->pan_id, 2); in ieee802154_hdr_push_addr() 25 pos += 2; in ieee802154_hdr_push_addr() 30 memcpy(buf + pos, &addr->short_addr, 2); in ieee802154_hdr_push_addr() 31 pos += 2; in ieee802154_hdr_push_addr() 35 memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_addr() 36 pos += IEEE802154_ADDR_LEN; in ieee802154_hdr_push_addr() 43 return pos; in ieee802154_hdr_push_addr() 49 int pos = 5; in ieee802154_hdr_push_sechdr() local 56 return pos; in ieee802154_hdr_push_sechdr() 81 int pos = 2; ieee802154_hdr_push() local 117 memcpy(skb_push(skb, pos), buf, pos); ieee802154_hdr_push() local 174 int pos = 0; ieee802154_hdr_get_addr() local 210 int pos = 5; ieee802154_hdr_get_sechdr() local 267 int pos = 0; ieee802154_hdr_get_addrs() local 283 int pos = 3, rc; ieee802154_hdr_pull() local 327 int pos = 3, rc; ieee802154_hdr_peek_addrs() local 347 int pos; ieee802154_hdr_peek() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | list.h | 298 * Loop through the list given by head and set pos to struct in the list. 309 * @param pos Iterator variable of the type of the list elements. 314 #define list_for_each_entry(pos, head, member) \ 315 for (pos = __container_of((head)->next, pos, member); \ 316 &pos->member != (head); \ 317 pos = __container_of(pos->member.next, pos, member)) 326 #define list_for_each_entry_safe(pos, tm [all...] |
/kernel/linux/linux-5.10/scripts/dtc/ |
H A D | srcpos.c | 232 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update() argument 236 pos->file = current_srcfile; in srcpos_update() 238 pos->first_line = current_srcfile->lineno; in srcpos_update() 239 pos->first_column = current_srcfile->colno; in srcpos_update() 249 pos->last_line = current_srcfile->lineno; in srcpos_update() 250 pos->last_column = current_srcfile->colno; in srcpos_update() 254 srcpos_copy(struct srcpos *pos) in srcpos_copy() argument 259 if (!pos) in srcpos_copy() 263 assert(pos->next == NULL); in srcpos_copy() 264 memcpy(pos_new, pos, sizeo in srcpos_copy() 274 srcpos_extend(struct srcpos *pos, struct srcpos *newtail) srcpos_extend() argument 287 srcpos_string(struct srcpos *pos) srcpos_string() argument 312 srcpos_string_comment(struct srcpos *pos, bool first_line, int level) srcpos_string_comment() argument 363 srcpos_string_first(struct srcpos *pos, int level) srcpos_string_first() argument 368 srcpos_string_last(struct srcpos *pos, int level) srcpos_string_last() argument 373 srcpos_verror(struct srcpos *pos, const char *prefix, const char *fmt, va_list va) srcpos_verror() argument 387 srcpos_error(struct srcpos *pos, const char *prefix, const char *fmt, ...) srcpos_error() argument [all...] |
/kernel/linux/linux-6.6/scripts/dtc/ |
H A D | srcpos.c | 232 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update() argument 236 pos->file = current_srcfile; in srcpos_update() 238 pos->first_line = current_srcfile->lineno; in srcpos_update() 239 pos->first_column = current_srcfile->colno; in srcpos_update() 249 pos->last_line = current_srcfile->lineno; in srcpos_update() 250 pos->last_column = current_srcfile->colno; in srcpos_update() 254 srcpos_copy(struct srcpos *pos) in srcpos_copy() argument 259 if (!pos) in srcpos_copy() 263 assert(pos->next == NULL); in srcpos_copy() 264 memcpy(pos_new, pos, sizeo in srcpos_copy() 274 srcpos_extend(struct srcpos *pos, struct srcpos *newtail) srcpos_extend() argument 287 srcpos_string(struct srcpos *pos) srcpos_string() argument 312 srcpos_string_comment(struct srcpos *pos, bool first_line, int level) srcpos_string_comment() argument 363 srcpos_string_first(struct srcpos *pos, int level) srcpos_string_first() argument 368 srcpos_string_last(struct srcpos *pos, int level) srcpos_string_last() argument 373 srcpos_verror(struct srcpos *pos, const char *prefix, const char *fmt, va_list va) srcpos_verror() argument 387 srcpos_error(struct srcpos *pos, const char *prefix, const char *fmt, ...) srcpos_error() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | debugfs.c | 28 int pos, budget; in iwl_dbgfs_ctdp_budget_read() local 44 pos = scnprintf(buf, sizeof(buf), "%d\n", budget); in iwl_dbgfs_ctdp_budget_read() 46 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ctdp_budget_read() 217 int pos; in iwl_dbgfs_set_nic_temperature_read() local 220 pos = scnprintf(buf, sizeof(buf), "disabled\n"); in iwl_dbgfs_set_nic_temperature_read() 222 pos = scnprintf(buf, sizeof(buf), "%d\n", mvm->temperature); in iwl_dbgfs_set_nic_temperature_read() 224 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_set_nic_temperature_read() 284 int pos, ret; in iwl_dbgfs_nic_temp_read() local 297 pos = scnprintf(buf, sizeof(buf), "%d\n", temp); in iwl_dbgfs_nic_temp_read() 299 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_nic_temp_read() 309 int pos = 0; iwl_dbgfs_sar_geo_profile_read() local 350 int err, pos; iwl_dbgfs_wifi_6e_enable_read() local 372 int i, pos = 0, bufsz = sizeof(buf); iwl_dbgfs_stations_read() local 479 int pos; iwl_dbgfs_amsdu_len_read() local 496 int pos = 0; iwl_dbgfs_disable_power_off_read() local 534 iwl_mvm_coex_dump_mbox(struct iwl_bt_coex_profile_notif *notif, char *buf, int pos, int bufsz) iwl_mvm_coex_dump_mbox() argument 599 int ret, pos = 0, bufsz = sizeof(char) * 1024; iwl_dbgfs_bt_notif_read() local 644 int pos = 0; iwl_dbgfs_bt_cmd_read() local 717 char *buff, *pos, *endpos; iwl_dbgfs_fw_ver_read() local 752 char *buff, *pos, *endpos; iwl_dbgfs_tas_get_status_read() local 935 int pos; iwl_dbgfs_phy_integration_ver_read() local 964 int pos = 0; iwl_dbgfs_fw_rx_stats_read() local 1152 char *buff, *pos, *endpos; iwl_dbgfs_frame_stats_read() local 1273 int pos = 0; iwl_dbgfs_scan_ant_rxchain_read() local 1524 int pos = 0; iwl_dbgfs_fw_dbg_conf_read() local 1732 int pos = 0; iwl_dbgfs_prph_reg_read() local 1883 unsigned int pos = 0; iwl_dbgfs_uapsd_noagg_bssids_read() local 1967 int i, j, pos = 0; iwl_dbgfs_rfi_freq_table_read() local [all...] |
/kernel/linux/linux-5.10/fs/romfs/ |
H A D | storage.c | 23 static int romfs_mtd_read(struct super_block *sb, unsigned long pos, in romfs_mtd_read() argument 29 ret = ROMFS_MTD_READ(sb, pos, buflen, &rlen, buf); in romfs_mtd_read() 37 unsigned long pos, size_t maxlen) in romfs_mtd_strnlen() 48 ret = ROMFS_MTD_READ(sb, pos, segment, &len, buf); in romfs_mtd_strnlen() 55 pos += len; in romfs_mtd_strnlen() 66 static int romfs_mtd_strcmp(struct super_block *sb, unsigned long pos, in romfs_mtd_strcmp() argument 79 ret = ROMFS_MTD_READ(sb, pos, segment, &len, buf); in romfs_mtd_strcmp() 87 pos += len; in romfs_mtd_strcmp() 103 static int romfs_blk_read(struct super_block *sb, unsigned long pos, in romfs_blk_read() argument 112 offset = pos in romfs_blk_read() 36 romfs_mtd_strnlen(struct super_block *sb, unsigned long pos, size_t maxlen) romfs_mtd_strnlen() argument 130 romfs_blk_strnlen(struct super_block *sb, unsigned long pos, size_t limit) romfs_blk_strnlen() argument 163 romfs_blk_strcmp(struct super_block *sb, unsigned long pos, const char *str, size_t size) romfs_blk_strcmp() argument 214 romfs_dev_read(struct super_block *sb, unsigned long pos, void *buf, size_t buflen) romfs_dev_read() argument 237 romfs_dev_strnlen(struct super_block *sb, unsigned long pos, size_t maxlen) romfs_dev_strnlen() argument 265 romfs_dev_strcmp(struct super_block *sb, unsigned long pos, const char *str, size_t size) romfs_dev_strcmp() argument [all...] |