/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | debugfs.c | 106 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read() 110 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read() 113 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read() 206 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_stations_read() 210 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_stations_read() 216 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_stations_read() 226 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_stations_read() 296 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_channels_read() 319 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_channels_read() 467 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_thermal_throttling_read() [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
A D | 4965-debug.c | 90 pos += in il4965_ucode_rx_stats_read() 93 pos += in il4965_ucode_rx_stats_read() 97 pos += in il4965_ucode_rx_stats_read() 101 pos += in il4965_ucode_rx_stats_read() 105 pos += in il4965_ucode_rx_stats_read() 109 pos += in il4965_ucode_rx_stats_read() 113 pos += in il4965_ucode_rx_stats_read() 119 pos += in il4965_ucode_rx_stats_read() 123 pos += in il4965_ucode_rx_stats_read() 128 pos += in il4965_ucode_rx_stats_read() [all …]
|
A D | debug.c | 221 pos += scnprintf(buf + pos, bufsz - pos, "Control\n"); in il_dbgfs_tx_stats_read() 227 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n"); in il_dbgfs_tx_stats_read() 288 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n"); in il_dbgfs_rx_stats_read() 353 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in il_dbgfs_sram_read() 356 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in il_dbgfs_sram_read() 441 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in il_dbgfs_stations_read() 444 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in il_dbgfs_stations_read() 977 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in il_dbgfs_sensitivity_read() 984 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in il_dbgfs_sensitivity_read() 1064 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in il_dbgfs_chain_noise_read() [all …]
|
A D | 3945-debug.c | 78 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 83 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 88 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 93 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 98 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 103 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 108 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 115 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 120 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() 126 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_debugfs.c | 299 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_mac_enable_status() 307 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_mac_enable_status() 310 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_mac_enable_status() 403 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_qset() 434 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pri() 460 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pg() 812 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_port() 814 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_port() 857 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_bp_qset_map() 894 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_map() [all …]
|
/linux/fs/ntfs3/ |
A D | bitfunc.c | 38 if (pos) { in are_bits_clear() 49 if (pos) { in are_bits_clear() 50 pos = sizeof(size_t) - pos; in are_bits_clear() 52 for (nbits -= pos * 8; pos; pos--, map++) { in are_bits_clear() 59 for (pos = nbits / BITS_IN_SIZE_T; pos; pos--, map += sizeof(size_t)) { in are_bits_clear() 64 for (pos = (nbits % BITS_IN_SIZE_T) >> 3; pos; pos--, map++) { in are_bits_clear() 70 if (pos && (*map & fill_mask[pos])) in are_bits_clear() 101 pos = sizeof(size_t) - pos; in are_bits_set() 103 for (nbits -= pos * 8; pos; pos--, map++) { in are_bits_set() 110 for (pos = nbits / BITS_IN_SIZE_T; pos; pos--, map += sizeof(size_t)) { in are_bits_set() [all …]
|
/linux/tools/include/linux/ |
A D | list.h | 409 for (pos = (head)->next; pos != (head); pos = pos->next) 417 for (pos = (head)->prev; pos != (head); pos = pos->prev) 426 for (pos = (head)->next, n = pos->next; pos != (head); \ 427 pos = n, n = pos->next) 438 pos = n, n = pos->prev) 697 for (pos = (head)->first; pos ; pos = pos->next) 700 for (pos = (head)->first; pos && ({ n = pos->next; 1; }); \ 717 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) 727 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) 736 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) [all …]
|
/linux/include/linux/ |
A D | list.h | 573 for (pos = (head)->next; pos != (head); pos = pos->next) 583 for (pos = pos->next; pos != (head); pos = pos->next) 591 for (pos = (head)->prev; pos != (head); pos = pos->prev) 600 for (pos = (head)->next, n = pos->next; pos != (head); \ 601 pos = n, n = pos->next) 612 pos = n, n = pos->prev) 977 for (pos = (head)->first; pos ; pos = pos->next) 980 for (pos = (head)->first; pos && ({ n = pos->next; 1; }); \ 997 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) 1007 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) [all …]
|
A D | rculist.h | 393 pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) 412 pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) 446 pos = list_entry_lockless(pos->member.next, typeof(*pos), member)) 467 for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \ 469 pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) 490 pos = list_entry_rcu(pos->member.next, typeof(*(pos)), member)) 710 &(pos)->member)), typeof(*(pos)), member)) 731 &(pos)->member)), typeof(*(pos)), member)) 751 &(pos)->member)), typeof(*(pos)), member)) 768 &(pos)->member)), typeof(*(pos)), member)) [all …]
|
A D | llist.h | 116 #define llist_for_each(pos, node) \ argument 117 for ((pos) = (node); pos; (pos) = (pos)->next) 135 #define llist_for_each_safe(pos, n, node) \ argument 136 for ((pos) = (node); (pos) && ((n) = (pos)->next, true); (pos) = (n)) 153 #define llist_for_each_entry(pos, node, member) \ argument 154 for ((pos) = llist_entry((node), typeof(*(pos)), member); \ 155 member_address_is_nonnull(pos, member); \ 156 (pos) = llist_entry((pos)->member.next, typeof(*(pos)), member)) 176 for (pos = llist_entry((node), typeof(*pos), member); \ 177 member_address_is_nonnull(pos, member) && \ [all …]
|
/linux/tools/perf/util/ |
A D | bpf-prologue.c | 35 return pos->pos - pos->begin; in pos_get_cnt() 41 if (!pos->pos) in append_insn() 44 if (pos->pos + 1 >= pos->end) { in append_insn() 46 pos->pos = NULL; in append_insn() 50 *(pos->pos)++ = new_insn; in append_insn() 57 if (!pos->pos || pos->pos >= pos->end) in check_pos() 333 for (insn = pos->begin; insn < pos->pos; insn++) { in prologue_relocate() 383 pos.pos = new_prog; in bpf__gen_prologue() 462 error_code = pos.pos; in bpf__gen_prologue() 480 success_code = pos.pos; in bpf__gen_prologue() [all …]
|
/linux/net/ieee802154/ |
A D | header_ops.c | 18 int pos = 0; in ieee802154_hdr_push_addr() local 25 pos += 2; in ieee802154_hdr_push_addr() 31 pos += 2; in ieee802154_hdr_push_addr() 43 return pos; in ieee802154_hdr_push_addr() 49 int pos = 5; in ieee802154_hdr_push_sechdr() local 63 pos += 4; in ieee802154_hdr_push_sechdr() 74 return pos; in ieee802154_hdr_push_sechdr() 92 pos += rc; in ieee802154_hdr_push() 103 pos += rc; in ieee802154_hdr_push() 117 memcpy(skb_push(skb, pos), buf, pos); in ieee802154_hdr_push() [all …]
|
/linux/drivers/gpu/drm/nouveau/include/nvif/ |
A D | list.h | 315 for (pos = __container_of((head)->next, pos, member); \ 317 pos = __container_of(pos->member.next, pos, member)) 327 for (pos = __container_of((head)->next, pos, member), \ 328 tmp = __container_of(pos->member.next, pos, member); \ 334 for (pos = __container_of((head)->prev, pos, member); \ 336 pos = __container_of(pos->member.prev, pos, member)) 339 for (pos = __container_of(pos->member.next, pos, member); \ 341 pos = __container_of(pos->member.next, pos, member)) 344 for (pos = __container_of(pos->member.prev, pos, member); \ 346 pos = __container_of(pos->member.prev, pos, member)) [all …]
|
/linux/scripts/dtc/ |
A D | srcpos.c | 259 if (!pos) in srcpos_copy() 278 if (!pos) in srcpos_extend() 292 if (pos->file && pos->file->name) in srcpos_string() 296 if (pos->first_line != pos->last_line) in srcpos_string() 298 pos->first_line, pos->first_column, in srcpos_string() 299 pos->last_line, pos->last_column); in srcpos_string() 300 else if (pos->first_column != pos->last_column) in srcpos_string() 302 pos->first_line, pos->first_column, in srcpos_string() 306 pos->first_line, pos->first_column); in srcpos_string() 342 pos->first_line, pos->first_column, in srcpos_string_comment() [all …]
|
/linux/security/tomoyo/ |
A D | realpath.c | 102 if (!IS_ERR(pos) && *pos == '/' && pos[1]) { in tomoyo_get_absolute_path() 111 return pos; in tomoyo_get_absolute_path() 132 if (!IS_ERR(pos) && *pos == '/' && pos[1]) { in tomoyo_get_dentry_path() 141 return pos; in tomoyo_get_dentry_path() 159 if (IS_ERR(pos)) in tomoyo_get_local_path() 160 return pos; in tomoyo_get_local_path() 169 pos = ep - 5; in tomoyo_get_local_path() 199 pos -= name_len; in tomoyo_get_local_path() 203 return pos; in tomoyo_get_local_path() 217 return pos; in tomoyo_get_local_path() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
A D | hns3_debugfs.c | 502 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dump_coal_info() 524 pos += scnprintf(buf + pos, len - pos, "\n"); in hns3_dbg_coal_info() 550 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_tx_spare_info() 660 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_queue_info() 763 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_queue_info() 812 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_queue_map() 894 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_rx_bd_info() 968 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_tx_bd_info() 1004 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hns3_dbg_dev_caps() 1029 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs() [all …]
|
/linux/fs/romfs/ |
A D | storage.c | 55 pos += len; in romfs_mtd_strnlen() 87 pos += len; in romfs_mtd_strcmp() 121 pos += segment; in romfs_blk_read() 152 pos += segment; in romfs_blk_strnlen() 181 pos += segment; in romfs_blk_strcmp() 220 if (pos >= limit || buflen > limit - pos) in romfs_dev_read() 243 if (pos >= limit) in romfs_dev_strnlen() 245 if (maxlen > limit - pos) in romfs_dev_strnlen() 246 maxlen = limit - pos; in romfs_dev_strnlen() 271 if (pos >= limit) in romfs_dev_strcmp() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | debugfs.c | 323 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read() 325 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read() 330 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read() 359 pos += scnprintf(buf + pos, bufsz - pos, "%ld\n", in iwl_dbgfs_stations_read() 362 pos += scnprintf(buf + pos, bufsz - pos, "%pM\n", in iwl_dbgfs_stations_read() 621 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_bt_cmd_read() 624 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_bt_cmd_read() 702 pos += scnprintf(pos, endpos - pos, "FW: %s\n", in iwl_dbgfs_fw_ver_read() 706 pos += scnprintf(pos, endpos - pos, "Bus: %s\n", in iwl_dbgfs_fw_ver_read() 740 pos += scnprintf(buf + pos, bufsz - pos, \ [all …]
|
A D | debugfs-vif.c | 186 pos += scnprintf(buf+pos, bufsz-pos, "type: ibss\n"); in iwl_dbgfs_mac_params_read() 189 pos += scnprintf(buf+pos, bufsz-pos, "type: bss\n"); in iwl_dbgfs_mac_params_read() 192 pos += scnprintf(buf+pos, bufsz-pos, "type: ap\n"); in iwl_dbgfs_mac_params_read() 198 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p go\n"); in iwl_dbgfs_mac_params_read() 201 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p dev\n"); in iwl_dbgfs_mac_params_read() 209 pos += scnprintf(buf+pos, bufsz-pos, "bssid: %pM\n", in iwl_dbgfs_mac_params_read() 211 pos += scnprintf(buf+pos, bufsz-pos, "Load: %d\n", in iwl_dbgfs_mac_params_read() 213 pos += scnprintf(buf+pos, bufsz-pos, "QoS:\n"); in iwl_dbgfs_mac_params_read() 215 pos += scnprintf(buf+pos, bufsz-pos, in iwl_dbgfs_mac_params_read() 229 pos += scnprintf(buf+pos, bufsz-pos, in iwl_dbgfs_mac_params_read() [all …]
|
/linux/fs/iomap/ |
A D | seek.c | 21 iter->pos, iter->pos + length, SEEK_HOLE); in iomap_seek_hole_iter() 26 *hole_pos = iter->pos; in iomap_seek_hole_iter() 39 .pos = pos, in iomap_seek_hole() 45 if (pos < 0 || pos >= size) in iomap_seek_hole() 48 iter.len = size - pos; in iomap_seek_hole() 54 return pos; in iomap_seek_hole() 69 iter->pos, iter->pos + length, SEEK_DATA); in iomap_seek_data_iter() 85 .pos = pos, in iomap_seek_data() 91 if (pos < 0 || pos >= size) in iomap_seek_data() 94 iter.len = size - pos; in iomap_seek_data() [all …]
|
/linux/drivers/gpu/drm/omapdrm/ |
A D | tcm-sita.c | 42 bitmap_clear(map, pos, w); in free_slots() 58 *pos = num_bits - w; in r2l_b2t_1d() 63 if (bit - *pos >= w) { in r2l_b2t_1d() 65 bitmap_set(map, *pos, w); in r2l_b2t_1d() 71 *pos = bit - w; in r2l_b2t_1d() 150 curr_bit = *pos + a + 1; in l2r_t2b() 165 unsigned long pos; in sita_reserve_1d() local 171 area->p0.x = pos % tcm->width; in sita_reserve_1d() 172 area->p0.y = pos / tcm->width; in sita_reserve_1d() 185 unsigned long pos; in sita_reserve_2d() local [all …]
|
/linux/fs/freevxfs/ |
A D | vxfs_lookup.c | 88 loff_t pos = 0; in vxfs_find_entry() local 91 while (pos < limit) { in vxfs_find_entry() 110 pos += overhead; in vxfs_find_entry() 116 pos += bsize - 1; in vxfs_find_entry() 220 loff_t pos, limit; in vxfs_readdir() local 223 if (ctx->pos == 0) { in vxfs_readdir() 226 ctx->pos++; in vxfs_readdir() 231 ctx->pos++; in vxfs_readdir() 238 pos = ctx->pos & ~3L; in vxfs_readdir() 261 pos += overhead; in vxfs_readdir() [all …]
|
/linux/drivers/tty/vt/ |
A D | vc_screen.c | 258 pos /= 4; in vcs_read_buf_uni() 310 *skip += pos; in vcs_read_buf() 338 pos /= 2; in vcs_read_buf() 373 loff_t pos; in vcs_read() local 380 pos = *ppos; in vcs_read() 395 if (pos < 0) in vcs_read() 553 pos++; in vcs_write_buf() 560 pos /= 2; in vcs_write_buf() 599 loff_t pos; in vcs_write() local 609 pos = *ppos; in vcs_write() [all …]
|
/linux/drivers/pci/ |
A D | vc.c | 119 pci_read_config_dword(dev, pos, &header); in pci_vc_enable() 251 pos + vcarb_offset, in pci_vc_do_save_buffer() 259 pci_vc_load_arb_table(dev, pos); in pci_vc_do_save_buffer() 298 pos + parb_offset, in pci_vc_do_save_buffer() 308 int ctrl_pos = pos + PCI_VC_RES_CTRL + in pci_vc_do_save_buffer() 328 pci_vc_enable(dev, pos, i); in pci_vc_do_save_buffer() 357 int pos, ret; in pci_save_vc_state() local 361 if (!pos) in pci_save_vc_state() 394 int pos; in pci_restore_vc_state() local 399 if (!save_state || !pos) in pci_restore_vc_state() [all …]
|
/linux/tools/perf/dlfilters/ |
A D | dlfilter-show-cycles.c | 49 __u32 pos = tid & MASK; in find_entry() local 52 e = &table[pos]; in find_entry() 56 if (++pos == TABLESZ) in find_entry() 57 pos = 0; in find_entry() 58 e = &table[pos]; in find_entry() 84 int pos; in filter_event_early() local 110 int pos; in filter_event() local 115 print_vals(cycles[cpu][pos], cycles[cpu][pos] - cycles_rpt[cpu][pos]); in filter_event() 116 cycles_rpt[cpu][pos] = cycles[cpu][pos]; in filter_event() 124 print_vals(e->cycles[pos], e->cycles[pos] - e->cycles_rpt[pos]); in filter_event() [all …]
|