Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 2398) sorted by relevance

12345678910>>...96

/linux-6.15/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddebugfs.c106 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-6.15/drivers/net/wireless/intel/iwlegacy/
H A D4965-debug.c90 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 …]
H A D3945-debug.c78 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 …]
H A Ddebug.c221 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 …]
/linux-6.15/fs/ntfs3/
H A Dbitfunc.c38 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-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c1465 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_port()
1467 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_port()
1510 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_bp_qset_map()
1547 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_map()
1549 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_map()
1947 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_common_wl_cfg()
1972 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_global_pkt_cnt()
2104 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
2106 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
2311 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_fd_counter()
[all …]
/linux-6.15/tools/include/linux/
H A Dlist.h420 for (pos = (head)->next; pos != (head); pos = pos->next)
428 for (pos = (head)->prev; pos != (head); pos = pos->prev)
437 for (pos = (head)->next, n = pos->next; pos != (head); \
438 pos = n, n = pos->next)
449 pos = n, n = pos->prev)
708 for (pos = (head)->first; pos ; pos = pos->next)
711 for (pos = (head)->first; pos && ({ n = pos->next; 1; }); \
728 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
738 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
747 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
[all …]
/linux-6.15/include/linux/
H A Dlist.h687 for (pos = (head)->next; !list_is_head(pos, (head)); pos = pos->next)
697 pos = rcu_dereference(pos->next))
707 for (pos = pos->next; !list_is_head(pos, (head)); pos = pos->next)
715 for (pos = (head)->prev; !list_is_head(pos, (head)); pos = pos->prev)
726 pos = n, n = pos->next)
737 pos = n, n = pos->prev)
1137 for (pos = (head)->first; pos ; pos = pos->next)
1140 for (pos = (head)->first; pos && ({ n = pos->next; 1; }); \
1157 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
1167 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
[all …]
H A Drculist.h440 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
459 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
493 pos = list_entry_lockless(pos->member.next, typeof(*pos), member))
514 for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \
516 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
537 pos = list_entry_rcu(pos->member.next, typeof(*(pos)), member))
759 &(pos)->member)), typeof(*(pos)), member))
780 &(pos)->member)), typeof(*(pos)), member))
800 &(pos)->member)), typeof(*(pos)), member))
817 &(pos)->member)), typeof(*(pos)), member))
[all …]
H A Dllist.h143 #define llist_for_each(pos, node) \ argument
144 for ((pos) = (node); pos; (pos) = (pos)->next)
162 #define llist_for_each_safe(pos, n, node) \ argument
163 for ((pos) = (node); (pos) && ((n) = (pos)->next, true); (pos) = (n))
180 #define llist_for_each_entry(pos, node, member) \ argument
181 for ((pos) = llist_entry((node), typeof(*(pos)), member); \
182 member_address_is_nonnull(pos, member); \
183 (pos) = llist_entry((pos)->member.next, typeof(*(pos)), member))
203 for (pos = llist_entry((node), typeof(*pos), member); \
204 member_address_is_nonnull(pos, member) && \
[all …]
/linux-6.15/net/ieee802154/
H A Dheader_ops.c18 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-6.15/scripts/dtc/
H A Dsrcpos.c261 if (!pos) in srcpos_copy()
280 if (!pos) in srcpos_extend()
294 if (pos->file && pos->file->name) in srcpos_string()
298 if (pos->first_line != pos->last_line) in srcpos_string()
300 pos->first_line, pos->first_column, in srcpos_string()
301 pos->last_line, pos->last_column); in srcpos_string()
302 else if (pos->first_column != pos->last_column) in srcpos_string()
304 pos->first_line, pos->first_column, in srcpos_string()
308 pos->first_line, pos->first_column); in srcpos_string()
344 pos->first_line, pos->first_column, in srcpos_string_comment()
[all …]
/linux-6.15/security/tomoyo/
H A Drealpath.c102 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-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs.c636 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
653 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
688 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
706 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
711 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
715 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
1025 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_fw_system_stats_read()
1028 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_fw_system_stats_read()
1031 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_fw_system_stats_read()
1034 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_fw_system_stats_read()
[all …]
/linux-6.15/fs/bcachefs/
H A Dbbpos.h11 return cmp_int(l.btree, r.btree) ?: bpos_cmp(l.pos, r.pos); in bbpos_cmp()
14 static inline struct bbpos bbpos_successor(struct bbpos pos) in bbpos_successor() argument
16 if (bpos_cmp(pos.pos, SPOS_MAX)) { in bbpos_successor()
17 pos.pos = bpos_successor(pos.pos); in bbpos_successor()
18 return pos; in bbpos_successor()
21 if (pos.btree != BTREE_ID_NR) { in bbpos_successor()
22 pos.btree++; in bbpos_successor()
23 pos.pos = POS_MIN; in bbpos_successor()
24 return pos; in bbpos_successor()
32 bch2_btree_id_to_text(out, pos.btree); in bch2_bbpos_to_text()
[all …]
H A Dprintbuf.c79 unsigned move = out->pos - pos; in printbuf_insert_spaces()
89 memset(out->buf + pos, ' ', min(nr, out->size - pos)); in printbuf_insert_spaces()
99 unsigned len = out->pos - pos; in __printbuf_do_indent()
108 if (pos == out->pos) in __printbuf_do_indent()
113 pos++; in __printbuf_do_indent()
118 pos = min(pos + out->indent, out->pos); in __printbuf_do_indent()
123 memmove(n, n + 1, out->pos - pos); in __printbuf_do_indent()
124 --out->pos; in __printbuf_do_indent()
128 pos += pad; in __printbuf_do_indent()
139 pos += pad; in __printbuf_do_indent()
[all …]
/linux-6.15/fs/iomap/
H A Dseek.c21 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-6.15/scripts/include/
H A Dlist.h259 list_entry((pos)->member.next, typeof(*(pos)), member)
267 list_entry((pos)->member.prev, typeof(*(pos)), member)
285 for (pos = list_first_entry(head, typeof(*pos), member); \
287 pos = list_next_entry(pos, member))
296 for (pos = list_last_entry(head, typeof(*pos), member); \
298 pos = list_prev_entry(pos, member))
308 for (pos = list_first_entry(head, typeof(*pos), member), \
413 pos; \
414 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
425 pos && ({ n = pos->member.next; 1; }); \
[all …]
/linux-6.15/fs/romfs/
H A Dstorage.c55 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-6.15/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.c545 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dump_coal_info()
567 pos += scnprintf(buf + pos, len - pos, "\n"); in hns3_dbg_coal_info()
593 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_tx_spare_info()
705 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_queue_info()
810 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_queue_info()
941 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_rx_bd_info()
1014 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_tx_bd_info()
1049 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hns3_dbg_dev_caps()
1075 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
1084 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
[all …]
/linux-6.15/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c34 bitmap_clear(map, pos, w); in free_slots()
50 *pos = num_bits - w; in r2l_b2t_1d()
55 if (bit - *pos >= w) { in r2l_b2t_1d()
57 bitmap_set(map, *pos, w); in r2l_b2t_1d()
63 *pos = bit - w; in r2l_b2t_1d()
142 curr_bit = *pos + a + 1; in l2r_t2b()
157 unsigned long pos; in sita_reserve_1d() local
163 area->p0.x = pos % tcm->width; in sita_reserve_1d()
164 area->p0.y = pos / tcm->width; in sita_reserve_1d()
177 unsigned long pos; in sita_reserve_2d() local
[all …]
/linux-6.15/fs/freevxfs/
H A Dvxfs_lookup.c64 loff_t pos = 0; in vxfs_find_entry() local
67 while (pos < limit) { in vxfs_find_entry()
86 pos += overhead; in vxfs_find_entry()
92 pos += bsize - 1; in vxfs_find_entry()
195 loff_t pos, limit; in vxfs_readdir() local
198 if (ctx->pos == 0) { in vxfs_readdir()
201 ctx->pos++; in vxfs_readdir()
206 ctx->pos++; in vxfs_readdir()
213 pos = ctx->pos & ~3L; in vxfs_readdir()
236 pos += overhead; in vxfs_readdir()
[all …]
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Ddebugfs.c240 pos += scnprintf(buf + pos, count - pos, in iwl_mld_dump_tas_resp()
249 pos += scnprintf(buf + pos, count - pos, in iwl_mld_dump_tas_resp()
253 pos += scnprintf(buf + pos, count - pos, in iwl_mld_dump_tas_resp()
257 pos += scnprintf(buf + pos, count - pos, in iwl_mld_dump_tas_resp()
261 pos += scnprintf(buf + pos, count - pos, in iwl_mld_dump_tas_resp()
267 pos += scnprintf(buf + pos, count - pos, in iwl_mld_dump_tas_resp()
279 pos += scnprintf(buf + pos, count - pos, in iwl_mld_dump_tas_resp()
291 pos += scnprintf(buf + pos, count - pos, in iwl_mld_dump_tas_resp()
293 pos += scnprintf(buf + pos, count - pos, in iwl_mld_dump_tas_resp()
342 pos += scnprintf(buf + pos, count - pos, in iwl_mld_dump_tas_resp()
[all …]
/linux-6.15/tools/perf/dlfilters/
H A Ddlfilter-show-cycles.c49 __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 …]
/linux-6.15/drivers/tty/vt/
H A Dvc_screen.c258 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()
391 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 …]

12345678910>>...96