/linux-master/fs/bcachefs/ |
H A D | bbpos.h | 11 return cmp_int(l.btree, r.btree) ?: bpos_cmp(l.pos, r.pos); 14 static inline struct bbpos bbpos_successor(struct bbpos pos) argument 16 if (bpos_cmp(pos.pos, SPOS_MAX)) { 17 pos.pos = bpos_successor(pos.pos); 18 return pos; 30 bch2_bbpos_to_text(struct printbuf *out, struct bbpos pos) argument [all...] |
H A D | bbpos_types.h | 7 struct bpos pos; member in struct:bbpos 10 static inline struct bbpos BBPOS(enum btree_id btree, struct bpos pos) argument 12 return (struct bbpos) { btree, pos };
|
/linux-master/fs/ntfs3/ |
H A D | bitfunc.c | 35 size_t pos = bit & 7; local 38 if (pos) { 39 if (8 - pos >= nbits) 40 return !nbits || !(*map & fill_mask[pos + nbits] & 41 zero_mask[pos]); 43 if (*map++ & zero_mask[pos]) 45 nbits -= 8 - pos; 48 pos = ((size_t)map) & (sizeof(size_t) - 1); 49 if (pos) { 50 pos 84 size_t pos = bit & 7; local [all...] |
/linux-master/include/linux/ |
H A D | if_tunnel.h | 14 #define for_each_ip_tunnel_rcu(pos, start) \ 15 for (pos = rcu_dereference(start); pos; pos = rcu_dereference(pos->next))
|
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...] |
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945-debug.c | 38 int pos = 0; local 76 pos += il3945_stats_flag(il, buf, bufsz); 77 pos += 78 scnprintf(buf + pos, bufsz - pos, 82 pos += 83 scnprintf(buf + pos, bufsz - pos, 87 pos += 88 scnprintf(buf + pos, bufs 303 int pos = 0; local 393 int pos = 0; local [all...] |
H A D | 4965-debug.c | 45 int pos = 0; local 89 pos += il4965_stats_flag(il, buf, bufsz); 90 pos += 91 scnprintf(buf + pos, bufsz - pos, fmt_header, 93 pos += 94 scnprintf(buf + pos, bufsz - pos, fmt_table, "ina_cnt:", 97 pos += 98 scnprintf(buf + pos, bufs 457 int pos = 0; local 623 int pos = 0; local [all...] |
H A D | debug.c | 206 int pos = 0; local 215 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n"); 217 pos += 218 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", 221 pos += scnprintf(buf + pos, bufsz - pos, "Contro 267 int pos = 0; local 312 int pos = 0; local 396 int i, j, pos = 0; local 458 int pos = 0, ofs = 0, buf_size = 0; local 503 int pos = 0, i, bufsz = PAGE_SIZE; local 582 int pos = 0; local 642 int pos = 0; local 741 int pos = 0, i; local 793 int pos = 0; local 820 int pos = 0; local 866 int pos = 0; local 920 int pos = 0; local 1019 int pos = 0; local 1090 int pos = 0; local 1166 int pos = 0; local 1188 int pos = 0; local 1230 int pos = 0; local [all...] |
/linux-master/arch/xtensa/platforms/xtfpga/include/platform/ |
H A D | lcd.h | 16 void lcd_disp_at_pos(char *str, unsigned char pos); 22 static inline void lcd_disp_at_pos(char *str, unsigned char pos) argument
|
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | debugfs.c | 62 int pos = 0; local 91 pos += scnprintf(buf + pos, bufsz - pos, "sram_len: 0x%x\n", 93 pos += scnprintf(buf + pos, bufsz - pos, "sram_offset: 0x%x\n", 106 pos += scnprintf(buf + pos, bufsz - pos, 190 int i, j, pos = 0; local 246 int pos = 0, ofs = 0, buf_size = 0; local 284 int pos = 0, i, bufsz = PAGE_SIZE; local 349 int pos = 0; local 383 int pos = 0; local 434 int pos = 0, i; local 464 int pos = 0; local 517 int pos = 0; local 532 int pos = 0; local 588 int pos, value; local 606 int pos = 0, i; local 671 int pos = 0; local 1104 int pos = 0; local 1301 int pos = 0; local 1421 int pos = 0; local 1509 int pos = 0; local 1651 int pos = 0; local 1730 int pos = 0; local 1787 int pos = 0; local 1833 int pos = 0; local 1910 int pos = 0; local 1951 int pos = 0; local 1990 int pos = 0; local 2050 int pos = 0; local 2096 int pos = 0; local 2217 int pos = 0; local [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_debugfs.c | 93 char *pos = content; local 100 *pos++ = '\0'; 115 memcpy(pos, result[i], strlen(result[i])); 117 memcpy(pos, items[i].name, strlen(items[i].name)); 119 pos += item_len; 122 *pos++ = '\n'; 123 *pos++ = '\0'; 191 char *buf, int len, int *pos) 211 *pos += scnprintf(buf + *pos, le 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) 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) argument 305 hclge_dbg_dump_mac_enable_status(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 335 hclge_dbg_dump_mac_frame_size(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 361 hclge_dbg_dump_mac_speed_duplex(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 394 int pos = 0; local 408 hclge_dbg_dump_dcb_qset(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 439 hclge_dbg_dump_dcb_pri(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 469 hclge_dbg_dump_dcb_pg(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 495 hclge_dbg_dump_dcb_queue(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 526 hclge_dbg_dump_dcb_port(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 549 hclge_dbg_dump_dcb_tm(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 613 int pos = 0; local 643 int pos = 0, ret = 0; local 668 int pos = 0; local 743 int pos = 0; local 820 int pos = 0; local 844 int pos = 0; local 890 int pos = 0; local 934 int pos = 0; local 989 int pos, ret; local 1071 int ret, pos; local 1127 int pos = 0; local 1156 int pos = 0; local 1193 int pos, ret; local 1241 int pos = 0; local 1266 int pos = 0; local 1296 int pos = 0; local 1322 int pos = 0; local 1347 int pos = 0; local 1383 int pos = 0; local 1418 int pos = 0; local 1463 int pos = 0; local 1527 int pos = 0; local 1600 int pos = 0; local 1665 int pos = 0; local 1708 int pos = 0; local 1743 int pos = 0; local 1764 int pos = 0; local 1785 int pos = 0; local 1854 hclge_ncl_config_data_print(struct hclge_desc *desc, int *index, char *buf, int len, int *pos) argument 1888 int pos = 0; local 1918 int pos = 0; local 1980 int pos = 0; local 2014 int pos = 0; local 2051 int pos = 0; local 2242 hclge_dbg_dump_vlan_filter_config(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 2295 hclge_dbg_dump_vlan_offload_config(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 2349 int pos = 0; local 2365 int pos = 0; local [all...] |
/linux-master/net/ieee802154/ |
H A D | header_ops.c | 18 int pos = 0; local 24 memcpy(buf + pos, &addr->pan_id, 2); 25 pos += 2; 30 memcpy(buf + pos, &addr->short_addr, 2); 31 pos += 2; 35 memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN); 36 pos += IEEE802154_ADDR_LEN; 43 return pos; 49 int pos = 5; local 56 return pos; 81 int pos = 2; local 117 memcpy(skb_push(skb, pos), buf, pos); local 174 int pos = 0; local 210 int pos = 5; local 267 int pos = 0; local 283 int pos = 3, rc; local 327 int pos = 3, rc; local 347 int pos; local [all...] |
/linux-master/drivers/video/fbdev/via/ |
H A D | via_aux.c | 42 struct via_aux_drv *pos, *n; local 47 list_for_each_entry_safe(pos, n, &bus->drivers, chain) { 48 if (pos->cleanup) 49 pos->cleanup(pos); 51 list_del(&pos->chain); 52 kfree(pos->data); 53 kfree(pos); 61 struct via_aux_drv *pos; local 67 list_for_each_entry(pos, [all...] |
/linux-master/drivers/firmware/ |
H A D | iscsi_ibft_find.c | 53 unsigned long pos, virt_pos = 0; local 66 for (pos = IBFT_START; pos < IBFT_END; pos += 16) { 69 if (pos == VGA_MEM) 70 pos += VGA_SIZE; 73 if (offset_in_page(pos) == 0) { 76 virt = early_memremap_ro(pos, PAGE_SIZE); 77 virt_pos = pos; 81 if (memcmp(virt + (pos [all...] |
/linux-master/fs/iomap/ |
H A D | seek.c | 21 iter->pos, iter->pos + length, SEEK_HOLE); 22 if (*hole_pos == iter->pos + length) 26 *hole_pos = iter->pos; 34 iomap_seek_hole(struct inode *inode, loff_t pos, const struct iomap_ops *ops) argument 39 .pos = pos, 45 if (pos < 0 || pos >= size) 48 iter.len = size - pos; 80 iomap_seek_data(struct inode *inode, loff_t pos, const struct iomap_ops *ops) argument [all...] |
/linux-master/tools/perf/dlfilters/ |
H A D | dlfilter-show-cycles.c | 49 __u32 pos = tid & MASK; local 52 e = &table[pos]; 56 if (++pos == TABLESZ) 57 pos = 0; 58 e = &table[pos]; 72 static void add_entry(__s32 tid, int pos, __u64 cnt) argument 77 e->cycles[pos] += cnt; 84 int pos; local 89 pos = event_entry(sample->event); 92 cycles[cpu][pos] 110 int pos; local [all...] |
/linux-master/scripts/ |
H A D | extract-ikconfig | 19 if pos=`tr "$cf1\n$cf2" "\n$cf2=" < "$1" | grep -abo "^$cf2"` 21 pos=${pos%%:*} 22 tail -c+$(($pos+8)) "$1" | zcat > $tmp1 2> /dev/null 33 for pos in `tr "$1\n$2" "\n$2=" < "$img" | grep -abo "^$2"` 35 pos=${pos%%:*} 36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | iters_task.c | 22 struct task_struct *pos; local 29 bpf_for_each(task, pos, NULL, ~0U) { 34 bpf_for_each(task, pos, NULL, BPF_TASK_ITER_PROC_THREADS) { 39 bpf_for_each(task, pos, NULL, BPF_TASK_ITER_ALL_PROCS) 40 if (pos->pid == target_pid) 43 bpf_for_each(task, pos, cur_task, BPF_TASK_ITER_PROC_THREADS) 46 bpf_for_each(task, pos, NULL, BPF_TASK_ITER_ALL_THREADS) 47 if (pos->tgid == target_pid)
|
/linux-master/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...] |
/linux-master/virt/kvm/ |
H A D | binary_stats.c | 63 loff_t pos = *offset; local 69 len = KVM_STATS_NAME_SIZE + size_header + size_desc + size_stats - pos; 78 * The pos is 0 and the copylen and remain would be the size of header. 83 copylen = size_header - pos; 86 src = (void *)header + pos; 90 pos += copylen; 103 copylen = header->id_offset + KVM_STATS_NAME_SIZE - pos; 106 src = id + pos - header->id_offset; 110 pos += copylen; 117 * userspace periodically read stats data, since the pos woul [all...] |
/linux-master/scripts/kconfig/ |
H A D | mnconf-common.c | 24 struct jump_key *pos; local 30 list_for_each_entry(pos, data->head, entries) { 33 if (pos->offset < start) 36 if (pos->offset >= end) 40 data->target = pos->target;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | sd.h | 22 #define mlx5_sd_for_each_dev_from_to(i, primary, ix_from, to, pos) \ 24 (pos = mlx5_sd_primary_get_peer(primary, i)) && pos != (to); i++) 26 #define mlx5_sd_for_each_dev(i, primary, pos) \ 27 mlx5_sd_for_each_dev_from_to(i, primary, 0, NULL, pos) 29 #define mlx5_sd_for_each_dev_to(i, primary, to, pos) \ 30 mlx5_sd_for_each_dev_from_to(i, primary, 0, to, pos) 32 #define mlx5_sd_for_each_secondary(i, primary, pos) \ 33 mlx5_sd_for_each_dev_from_to(i, primary, 1, NULL, pos) 35 #define mlx5_sd_for_each_secondary_to(i, primary, to, pos) \ [all...] |
/linux-master/fs/proc/ |
H A D | interrupts.c | 12 static void *int_seq_start(struct seq_file *f, loff_t *pos) argument 14 return (*pos <= nr_irqs) ? pos : NULL; 17 static void *int_seq_next(struct seq_file *f, void *v, loff_t *pos) argument 19 (*pos)++; 20 if (*pos > nr_irqs) 22 return pos;
|
/linux-master/drivers/video/fbdev/core/ |
H A D | fb_procfs.c | 9 static void *fb_seq_start(struct seq_file *m, loff_t *pos) argument 13 return (*pos < FB_MAX) ? pos : NULL; 21 static void *fb_seq_next(struct seq_file *m, void *v, loff_t *pos) argument 23 (*pos)++; 25 return (*pos < FB_MAX) ? pos : NULL;
|
/linux-master/fs/jffs2/ |
H A D | compr_rtime.c | 38 int pos=0; local 45 while (pos < (*sourcelen) && outpos <= (*dstlen)-2) { 49 value = data_in[pos]; 51 cpage_out[outpos++] = data_in[pos++]; 54 positions[value]=pos; 56 while ((backpos < pos) && (pos < (*sourcelen)) && 57 (data_in[pos]==data_in[backpos++]) && (runlen<255)) { 58 pos++; 64 if (outpos >= pos) { 82 int pos=0; local [all...] |