Home
last modified time | relevance | path

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

12345678910>>...74

/linux/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/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/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/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/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/include/linux/
H A Dlist.h687 for (pos = (head)->next; !list_is_head(pos, (head)); pos = pos->next)
695 for (pos = (head)->prev; pos != (head); pos = pos->prev)
705 pos = rcu_dereference(pos->next))
715 for (pos = pos->next; !list_is_head(pos, (head)); pos = pos->next)
723 for (pos = (head)->prev; !list_is_head(pos, (head)); pos = pos->prev)
734 pos = n, n = pos->next)
745 pos = n, n = pos->prev)
1145 for (pos = (head)->first; pos ; pos = pos->next)
1148 for (pos = (head)->first; pos && ({ n = pos->next; 1; }); \
1165 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
[all …]
H A Drculist.h393 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 …]
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/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/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs.c886 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
892 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
925 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
945 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
950 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
954 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_tas_get_status_read()
1264 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_fw_system_stats_read()
1267 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_fw_system_stats_read()
1270 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_fw_system_stats_read()
1273 pos += scnprintf(pos, endpos - pos, in iwl_dbgfs_fw_system_stats_read()
[all …]
/linux/scripts/dtc/
H A Dsrcpos.c259 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/
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/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 prt_str(out, bch2_btree_id_str(pos.btree)); in bch2_bbpos_to_text()
[all …]
/linux/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/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/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.c544 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dump_coal_info()
566 pos += scnprintf(buf + pos, len - pos, "\n"); in hns3_dbg_coal_info()
592 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_tx_spare_info()
702 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_queue_info()
805 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_queue_info()
936 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_rx_bd_info()
1009 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_tx_bd_info()
1045 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hns3_dbg_dev_caps()
1071 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
1080 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
[all …]
/linux/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/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/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/drivers/tty/vt/
H A Dvc_screen.c249 unsigned int pos, unsigned int count, bool viewed) in vcs_read_buf_uni() argument
258 pos /= 4; in vcs_read_buf_uni()
259 row = pos / maxcol; in vcs_read_buf_uni()
260 col = pos % maxcol; in vcs_read_buf_uni()
277 unsigned int pos, unsigned int count, bool viewed) in vcs_read_buf_noattr() argument
282 org = screen_pos(vc, pos, viewed); in vcs_read_buf_noattr()
283 col = pos % maxcol; in vcs_read_buf_noattr()
284 pos += maxcol - col; in vcs_read_buf_noattr()
289 org = screen_pos(vc, pos, viewed); in vcs_read_buf_noattr()
291 pos in vcs_read_buf_noattr()
297 vcs_read_buf(const struct vc_data * vc,char * con_buf,unsigned int pos,unsigned int count,bool viewed,unsigned int * skip) vcs_read_buf() argument
373 loff_t pos; vcs_read() local
479 vcs_write_buf_noattr(struct vc_data * vc,const char * con_buf,unsigned int pos,unsigned int count,bool viewed,u16 ** org0) vcs_write_buf_noattr() argument
519 vcs_write_buf(struct vc_data * vc,const char * con_buf,unsigned int pos,unsigned int count,bool viewed,u16 ** org0) vcs_write_buf() argument
599 loff_t pos; vcs_write() local
[all...]
/linux/drivers/pci/
H A Dvc.c120 pci_read_config_dword(dev, pos, &header); in pci_vc_enable()
252 pos + vcarb_offset, in pci_vc_do_save_buffer()
260 pci_vc_load_arb_table(dev, pos); in pci_vc_do_save_buffer()
299 pos + parb_offset, in pci_vc_do_save_buffer()
309 int ctrl_pos = pos + PCI_VC_RES_CTRL + in pci_vc_do_save_buffer()
329 pci_vc_enable(dev, pos, i); in pci_vc_do_save_buffer()
358 int pos, ret; in pci_save_vc_state() local
362 if (!pos) in pci_save_vc_state()
395 int pos; in pci_restore_vc_state() local
400 if (!save_state || !pos) in pci_restore_vc_state()
[all …]
/linux/drivers/vfio/pci/
H A Dvfio_pci_igd.c50 loff_t *pos, in igd_opregion_shift_copy() argument
58 *pos += bytes; in igd_opregion_shift_copy()
84 opregionvbt->opregion + pos, &pos, in vfio_pci_igd_rw()
112 opregionvbt->opregion + pos, &pos, in vfio_pci_igd_rw()
135 opregionvbt->opregion + pos, &pos, in vfio_pci_igd_rw()
296 if ((pos & 1) && size) { in vfio_pci_igd_cfg_rw()
306 pos++; in vfio_pci_igd_cfg_rw()
322 pos += 2; in vfio_pci_igd_cfg_rw()
338 pos += 4; in vfio_pci_igd_cfg_rw()
354 pos += 2; in vfio_pci_igd_cfg_rw()
[all …]
/linux/scripts/kconfig/
H A Dlist.h174 #define list_next_entry(pos, member) \ argument
175 list_entry((pos)->member.next, typeof(*(pos)), member)
184 (&pos->member == (head))
193 for (pos = list_first_entry(head, typeof(*pos), member); \
195 pos = list_next_entry(pos, member))
205 for (pos = list_first_entry(head, typeof(*pos), member), \
206 n = list_next_entry(pos, member); \
208 pos = n, n = list_next_entry(n, member))
252 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
253 pos; \
[all …]

12345678910>>...74