| /linux/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, bufsz - pos, fmt_table, "fina_cnt:", in il4965_ucode_rx_stats_read() 101 pos += in il4965_ucode_rx_stats_read() 102 scnprintf(buf + pos, bufsz - pos, fmt_table, "plcp_err:", in il4965_ucode_rx_stats_read() [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, bufsz - pos, in il3945_ucode_rx_stats_read() 92 pos += in il3945_ucode_rx_stats_read() 93 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read() [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...] |
| /linux/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 = sizeof(size_t) - pos; in are_bits_clear() [all …]
|
| /linux/tools/include/linux/ |
| H A D | list.h | 413 #define list_next_entry(pos, member) \ argument 414 list_entry((pos)->member.next, typeof(*(pos)), member) 421 #define list_prev_entry(pos, member) \ argument 422 list_entry((pos)->member.prev, typeof(*(pos)), member) 429 #define list_for_each(pos, head) \ argument 430 for (pos = (head)->next; pos != (head); pos = pos->next) 437 #define list_for_each_prev(pos, head) \ argument 438 for (pos = (head)->prev; pos != (head); pos = pos->prev) 446 #define list_for_each_safe(pos, n, head) \ argument 447 for (pos = (head)->next, n = pos->next; pos != (head); \ [all …]
|
| /linux/include/linux/ |
| H A D | rculist.h | 50 #define list_for_each_rcu(pos, head) \ argument 51 for (pos = rcu_dereference((head)->next); \ 52 !list_is_head(pos, (head)); \ 53 pos = rcu_dereference(pos->next)) 475 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument 477 pos = list_entry_rcu((head)->next, typeof(*pos), member); \ 478 &pos->member != (head); \ 479 pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) 494 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument 496 pos = list_entry_rcu((head)->next, typeof(*pos), member); \ [all …]
|
| /linux/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() [all …]
|
| /linux/security/tomoyo/ |
| H A D | realpath.c | 97 char *pos = ERR_PTR(-ENOMEM); in tomoyo_get_absolute_path() local 101 pos = d_absolute_path(path, buffer, buflen - 1); in tomoyo_get_absolute_path() 102 if (!IS_ERR(pos) && *pos == '/' && pos[1]) { in tomoyo_get_absolute_path() 111 return pos; in tomoyo_get_absolute_path() 128 char *pos = ERR_PTR(-ENOMEM); in tomoyo_get_dentry_path() local 131 pos = dentry_path_raw(dentry, buffer, buflen - 1); in tomoyo_get_dentry_path() 132 if (!IS_ERR(pos) && *pos == '/' && pos[1]) { in tomoyo_get_dentry_path() 141 return pos; in tomoyo_get_dentry_path() 157 char *pos = tomoyo_get_dentry_path(dentry, buffer, buflen); in tomoyo_get_local_path() local 159 if (IS_ERR(pos)) in tomoyo_get_local_path() [all …]
|
| /linux/scripts/include/ |
| H A D | list.h | 258 #define list_next_entry(pos, member) \ argument 259 list_entry((pos)->member.next, typeof(*(pos)), member) 266 #define list_prev_entry(pos, member) \ argument 267 list_entry((pos)->member.prev, typeof(*(pos)), member) 275 #define list_entry_is_head(pos, head, member) \ argument 276 (&pos->member == (head)) 284 #define list_for_each_entry(pos, head, member) \ argument 285 for (pos = list_first_entry(head, typeof(*pos), member); \ 286 !list_entry_is_head(pos, head, member); \ 287 pos = list_next_entry(pos, member)) [all …]
|
| /linux/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() argument 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 & (ROMBSIZE - 1); in romfs_blk_read() [all …]
|
| /linux/fs/iomap/ |
| H A D | seek.c | 17 iter->pos, iter->pos + length, SEEK_HOLE); in iomap_seek_hole_iter() 18 if (*hole_pos == iter->pos + length) in iomap_seek_hole_iter() 22 *hole_pos = iter->pos; in iomap_seek_hole_iter() 30 iomap_seek_hole(struct inode *inode, loff_t pos, iomap_iter_next_fn next) in iomap_seek_hole() argument 35 .pos = pos, in iomap_seek_hole() 41 if (pos < 0 || pos >= size) in iomap_seek_hole() 44 iter.len = size - pos; in iomap_seek_hole() 76 iomap_seek_data(struct inode * inode,loff_t pos,const struct iomap_ops * ops) iomap_seek_data() argument [all...] |
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | tcm-sita.c | 28 static void free_slots(unsigned long pos, u16 w, u16 h, in free_slots() argument 33 for (i = 0; i < h; i++, pos += stride) in free_slots() 34 bitmap_clear(map, pos, w); in free_slots() 43 static int r2l_b2t_1d(u16 w, unsigned long *pos, unsigned long *map, in r2l_b2t_1d() argument 50 *pos = num_bits - w; in r2l_b2t_1d() 53 bit = find_next_bit(map, num_bits, *pos); 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() 80 unsigned long *pos, unsigned long slot_bytes, in l2r_t2b() argument [all …]
|
| /linux/drivers/pci/ |
| H A D | rebar.c | 70 unsigned int pos, nbars, i; in pci_rebar_find_pos() local 74 pos = pci_iov_vf_rebar_cap(pdev); in pci_rebar_find_pos() 77 pos = pdev->rebar_cap; in pci_rebar_find_pos() 80 if (!pos) in pci_rebar_find_pos() 83 pci_read_config_dword(pdev, pos + PCI_REBAR_CTRL, &ctrl); in pci_rebar_find_pos() 86 for (i = 0; i < nbars; i++, pos += 8) { in pci_rebar_find_pos() 89 pci_read_config_dword(pdev, pos + PCI_REBAR_CTRL, &ctrl); in pci_rebar_find_pos() 92 return pos; in pci_rebar_find_pos() 110 int pos; in pci_rebar_get_possible_sizes() local 113 pos = pci_rebar_find_pos(pdev, bar); in pci_rebar_get_possible_sizes() [all …]
|
| H A D | vc.c | 27 static void pci_vc_save_restore_dwords(struct pci_dev *dev, int pos, in pci_vc_save_restore_dwords() argument 34 pci_read_config_dword(dev, pos + (i * 4), buf); in pci_vc_save_restore_dwords() 36 pci_write_config_dword(dev, pos + (i * 4), *buf); in pci_vc_save_restore_dwords() 49 static void pci_vc_load_arb_table(struct pci_dev *dev, int pos) in pci_vc_load_arb_table() argument 53 pci_read_config_word(dev, pos + PCI_VC_PORT_CTRL, &ctrl); in pci_vc_load_arb_table() 54 pci_write_config_word(dev, pos + PCI_VC_PORT_CTRL, in pci_vc_load_arb_table() 56 if (pci_wait_for_pending(dev, pos + PCI_VC_PORT_STATUS, in pci_vc_load_arb_table() 73 static void pci_vc_load_port_arb_table(struct pci_dev *dev, int pos, int res) in pci_vc_load_port_arb_table() argument 78 ctrl_pos = pos + PCI_VC_RES_CTRL + (res * PCI_CAP_VC_PER_VC_SIZEOF); in pci_vc_load_port_arb_table() 79 status_pos = pos + PCI_VC_RES_STATUS + (res * PCI_CAP_VC_PER_VC_SIZEOF); in pci_vc_load_port_arb_table() [all …]
|
| /linux/drivers/tty/vt/ |
| H A D | vc_screen.c | 246 unsigned int pos, unsigned int count, bool viewed) in vcs_read_buf_uni() argument 255 pos /= 4; in vcs_read_buf_uni() 256 row = pos / maxcol; in vcs_read_buf_uni() 257 col = pos % maxcol; in vcs_read_buf_uni() 274 unsigned int pos, unsigned int count, bool viewed) in vcs_read_buf_noattr() argument 279 org = screen_pos(vc, pos, viewed); in vcs_read_buf_noattr() 280 col = pos % maxcol; in vcs_read_buf_noattr() 281 pos += maxcol - col; in vcs_read_buf_noattr() 286 org = screen_pos(vc, pos, viewed); in vcs_read_buf_noattr() 288 pos += maxcol; in vcs_read_buf_noattr() [all …]
|
| /linux/tools/perf/dlfilters/ |
| H 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() 72 static void add_entry(__s32 tid, int pos, __u64 cnt) in add_entry() argument 77 e->cycles[pos] += cnt; in add_entry() 84 int pos; in filter_event_early() local 89 pos = event_entry(sample->event); in filter_event_early() 92 cycles[cpu][pos] += sample->cyc_cnt; in filter_event_early() [all …]
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_igd.c | 50 loff_t *pos, in igd_opregion_shift_copy() argument 58 *pos += bytes; in igd_opregion_shift_copy() 70 loff_t pos = *ppos & VFIO_PCI_OFFSET_MASK, off = 0; in vfio_pci_igd_rw() local 73 if (pos >= vdev->region[i].size || iswrite) in vfio_pci_igd_rw() 76 count = min_t(size_t, count, vdev->region[i].size - pos); in vfio_pci_igd_rw() 80 if (remaining && pos < OPREGION_VERSION) { in vfio_pci_igd_rw() 81 size_t bytes = min_t(size_t, remaining, OPREGION_VERSION - pos); in vfio_pci_igd_rw() 84 opregionvbt->opregion + pos, &pos, in vfio_pci_igd_rw() 90 if (remaining && pos < OPREGION_VERSION + sizeof(__le16)) { in vfio_pci_igd_rw() 92 OPREGION_VERSION + sizeof(__le16) - pos); in vfio_pci_igd_rw() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | xfile.c | 112 loff_t pos) in xfile_load() argument 119 if (inode->i_sb->s_maxbytes - pos < count) in xfile_load() 122 trace_xfile_load(xf, pos, count); in xfile_load() 130 if (shmem_get_folio(inode, pos >> PAGE_SHIFT, 0, &folio, in xfile_load() 139 PAGE_SIZE - offset_in_page(pos)); in xfile_load() 148 offset = offset_in_folio(folio, pos); in xfile_load() 156 pos += len; in xfile_load() 175 loff_t pos) in xfile_store() argument 182 if (inode->i_sb->s_maxbytes - pos < count) in xfile_store() 185 trace_xfile_store(xf, pos, count); in xfile_store() [all …]
|
| /linux/fs/ |
| H A D | read_write.c | 442 loff_t pos = *ppos; in SYSCALL_DEFINE5() 444 if (unlikely(pos < 0)) { in SYSCALL_DEFINE5() 447 if (count >= -pos) /* both values are in 0..LLONG_MAX */ in SYSCALL_DEFINE5() 449 } else if (unlikely((loff_t) (pos + count) < 0)) { in SYSCALL_DEFINE5() 488 ssize_t __kernel_read(struct file *file, void *buf, size_t count, loff_t *pos) in new_sync_read() 510 kiocb.ki_pos = pos ? *pos : 0; in __kernel_read() 514 if (pos) in __kernel_read() 515 *pos = kiocb.ki_pos; in __kernel_read() 523 ssize_t kernel_read(struct file *file, void *buf, size_t count, loff_t *pos) in __kernel_read() 462 loff_t pos = *ppos; rw_verify_area() local 508 __kernel_read(struct file * file,void * buf,size_t count,loff_t * pos) __kernel_read() argument 543 kernel_read(struct file * file,void * buf,size_t count,loff_t * pos) kernel_read() argument 554 vfs_read(struct file * file,char __user * buf,size_t count,loff_t * pos) vfs_read() argument 603 __kernel_write_iter(struct file * file,struct iov_iter * from,loff_t * pos) __kernel_write_iter() argument 633 __kernel_write(struct file * file,const void * buf,size_t count,loff_t * pos) __kernel_write() argument 652 kernel_write(struct file * file,const void * buf,size_t count,loff_t * pos) kernel_write() argument 667 vfs_write(struct file * file,const char __user * buf,size_t count,loff_t * pos) vfs_write() argument 711 loff_t pos, *ppos = file_ppos(fd_file(f)); ksys_read() local 734 loff_t pos, *ppos = file_ppos(fd_file(f)); ksys_write() local 754 ksys_pread64(unsigned int fd,char __user * buf,size_t count,loff_t pos) ksys_pread64() argument 770 SYSCALL_DEFINE4(pread64,unsigned int,fd,char __user *,buf,size_t,count,loff_t,pos) SYSCALL_DEFINE4() argument 777 COMPAT_SYSCALL_DEFINE5(pread64,unsigned int,fd,char __user *,buf,size_t,count,compat_arg_u64_dual (pos)) COMPAT_SYSCALL_DEFINE5() argument 784 ksys_pwrite64(unsigned int fd,const char __user * buf,size_t count,loff_t pos) ksys_pwrite64() argument 800 SYSCALL_DEFINE4(pwrite64,unsigned int,fd,const char __user *,buf,size_t,count,loff_t,pos) SYSCALL_DEFINE4() argument 807 COMPAT_SYSCALL_DEFINE5(pwrite64,unsigned int,fd,const char __user *,buf,size_t,count,compat_arg_u64_dual (pos)) COMPAT_SYSCALL_DEFINE5() argument 992 vfs_readv(struct file * file,const struct iovec __user * vec,unsigned long vlen,loff_t * pos,rwf_t flags) vfs_readv() argument 1030 vfs_writev(struct file * file,const struct iovec __user * vec,unsigned long vlen,loff_t * pos,rwf_t flags) vfs_writev() argument 1076 loff_t pos, *ppos = file_ppos(fd_file(f)); do_readv() local 1099 loff_t pos, *ppos = file_ppos(fd_file(f)); do_writev() local 1122 do_preadv(unsigned long fd,const struct iovec __user * vec,unsigned long vlen,loff_t pos,rwf_t flags) do_preadv() argument 1143 do_pwritev(unsigned long fd,const struct iovec __user * vec,unsigned long vlen,loff_t pos,rwf_t flags) do_pwritev() argument 1178 loff_t pos = pos_from_hilo(pos_h, pos_l); SYSCALL_DEFINE5() local 1187 loff_t pos = pos_from_hilo(pos_h, pos_l); SYSCALL_DEFINE6() local 1198 loff_t pos = pos_from_hilo(pos_h, pos_l); SYSCALL_DEFINE5() local 1207 loff_t pos = pos_from_hilo(pos_h, pos_l); SYSCALL_DEFINE6() local 1224 COMPAT_SYSCALL_DEFINE4(preadv64,unsigned long,fd,const struct iovec __user *,vec,unsigned long,vlen,loff_t,pos) COMPAT_SYSCALL_DEFINE4() argument 1234 loff_t pos = ((loff_t)pos_high << 32) | pos_low; COMPAT_SYSCALL_DEFINE5() local 1242 COMPAT_SYSCALL_DEFINE5(preadv64v2,unsigned long,fd,const struct iovec __user *,vec,unsigned long,vlen,loff_t,pos,rwf_t,flags) COMPAT_SYSCALL_DEFINE5() argument 1255 loff_t pos = ((loff_t)pos_high << 32) | pos_low; COMPAT_SYSCALL_DEFINE6() local 1265 COMPAT_SYSCALL_DEFINE4(pwritev64,unsigned long,fd,const struct iovec __user *,vec,unsigned long,vlen,loff_t,pos) COMPAT_SYSCALL_DEFINE4() argument 1275 loff_t pos = ((loff_t)pos_high << 32) | pos_low; COMPAT_SYSCALL_DEFINE5() local 1283 COMPAT_SYSCALL_DEFINE5(pwritev64v2,unsigned long,fd,const struct iovec __user *,vec,unsigned long,vlen,loff_t,pos,rwf_t,flags) COMPAT_SYSCALL_DEFINE5() argument 1295 loff_t pos = ((loff_t)pos_high << 32) | pos_low; COMPAT_SYSCALL_DEFINE6() local 1308 loff_t pos; do_sendfile() local 1401 loff_t pos; SYSCALL_DEFINE4() local 1420 loff_t pos; SYSCALL_DEFINE4() local 1439 loff_t pos; COMPAT_SYSCALL_DEFINE4() local 1459 loff_t pos; COMPAT_SYSCALL_DEFINE4() local 1710 generic_write_check_limits(struct file * file,loff_t pos,loff_t * count) generic_write_check_limits() argument [all...] |
| /linux/net/sctp/ |
| H A D | ulpqueue.c | 270 struct sk_buff *pos; in sctp_ulpq_store_reasm() local 277 pos = skb_peek_tail(&ulpq->reasm); in sctp_ulpq_store_reasm() 278 if (!pos) { in sctp_ulpq_store_reasm() 284 cevent = sctp_skb2event(pos); in sctp_ulpq_store_reasm() 292 skb_queue_walk(&ulpq->reasm, pos) { in sctp_ulpq_store_reasm() 293 cevent = sctp_skb2event(pos); in sctp_ulpq_store_reasm() 300 /* Insert before pos. */ in sctp_ulpq_store_reasm() 301 __skb_queue_before(&ulpq->reasm, pos, sctp_event2skb(event)); in sctp_ulpq_store_reasm() 317 struct sk_buff *pos; in sctp_make_reassembled_event() local 325 pos in sctp_make_reassembled_event() 395 struct sk_buff *pos; sctp_ulpq_retrieve_reassembled() local 503 struct sk_buff *pos, *last_frag, *first_frag; sctp_ulpq_retrieve_partial() local 603 struct sk_buff *pos, *last_frag, *first_frag; sctp_ulpq_retrieve_first() local 681 struct sk_buff *pos, *tmp; sctp_ulpq_reasm_flushtsn() local 743 struct sk_buff *pos, *tmp; sctp_ulpq_retrieve_ordered() local 784 struct sk_buff *pos; sctp_ulpq_store_ordered() local 870 struct sk_buff *pos, *tmp; sctp_ulpq_reap_ordered() local [all...] |
| H A D | stream_interleave.c | 128 struct sk_buff *pos, *loc; in sctp_intl_store_reasm() local 130 pos = skb_peek_tail(&ulpq->reasm); in sctp_intl_store_reasm() 131 if (!pos) { in sctp_intl_store_reasm() 136 cevent = sctp_skb2event(pos); in sctp_intl_store_reasm() 155 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_store_reasm() 156 cevent = sctp_skb2event(pos); in sctp_intl_store_reasm() 161 loc = pos; in sctp_intl_store_reasm() 169 loc = pos; in sctp_intl_store_reasm() 188 struct sk_buff *pos; in sctp_intl_retrieve_partial() local 194 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_retrieve_partial() 262 struct sk_buff *pos, *first_frag = NULL; sctp_intl_retrieve_reassembled() local 376 struct sk_buff *pos, *loc; sctp_intl_store_ordered() local 422 struct sk_buff *pos, *tmp; sctp_intl_retrieve_ordered() local 513 struct sk_buff *pos; sctp_intl_store_reasm_uo() local 566 struct sk_buff *pos; sctp_intl_retrieve_partial_uo() local 644 struct sk_buff *pos, *first_frag = NULL; sctp_intl_retrieve_reassembled_uo() local 761 struct sk_buff *pos; sctp_intl_retrieve_first_uo() local 867 struct sk_buff *pos; sctp_intl_retrieve_first() local 1007 struct sk_buff *pos, *tmp; sctp_intl_reap_ordered() local 1155 _sctp_walk_ifwdtsn(pos,chunk,end) global() argument 1160 sctp_walk_ifwdtsn(pos,ch) global() argument 1208 struct sk_buff *pos, *tmp; sctp_intl_reasm_flushtsn() local [all...] |
| /linux/tools/perf/util/hisi-ptt-decoder/ |
| H A D | hisi-ptt-pkt-decoder.c | 78 static void hisi_ptt_print_pkt(const unsigned char *buf, int pos, const char *desc) 85 dw = get_unaligned_le32(buf + pos); 87 color_fprintf(stdout, color, " %08x: ", pos); 97 static int hisi_ptt_8dw_pkt_desc(const unsigned char *buf, int pos) in hisi_ptt_print_pkt() 104 pos += HISI_PTT_FIELD_LENGTH; in hisi_ptt_8dw_kpt_desc() argument 108 hisi_ptt_print_pkt(buf, pos, hisi_ptt_8dw_pkt_field_name[i]); in hisi_ptt_8dw_kpt_desc() 109 pos += HISI_PTT_FIELD_LENGTH; in hisi_ptt_8dw_kpt_desc() 115 static void hisi_ptt_4dw_print_dw0(const unsigned char *buf, int pos) in hisi_ptt_8dw_kpt_desc() 122 dw = get_unaligned_le32(buf + pos); in hisi_ptt_4dw_print_dw0() argument 124 color_fprintf(stdout, color, " %08x: ", pos); in hisi_ptt_4dw_print_dw0() 90 hisi_ptt_print_pkt(const unsigned char * buf,int pos,const char * desc) hisi_ptt_print_pkt() argument 143 hisi_ptt_4dw_kpt_desc(const unsigned char * buf,int pos) hisi_ptt_4dw_kpt_desc() argument 158 hisi_ptt_pkt_desc(const unsigned char * buf,int pos,enum hisi_ptt_pkt_type type) hisi_ptt_pkt_desc() argument [all...] |
| /linux/include/linux/mtd/ |
| H A D | nand.h | 116 struct nand_pos pos; member 229 int (*erase)(struct nand_device *nand, const struct nand_pos *pos); 230 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos); 231 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos); 753 struct nand_pos *pos) in nanddev_offs_to_pos() argument 759 pos->page = do_div(tmp, nand->memorg.pages_per_eraseblock); in nanddev_offs_to_pos() 760 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos() 761 pos->plane = pos->eraseblock % nand->memorg.planes_per_lun; in nanddev_offs_to_pos() 762 pos->lun = do_div(tmp, nand->memorg.luns_per_target); in nanddev_offs_to_pos() 763 pos->target = tmp; in nanddev_offs_to_pos() [all …]
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_crypto_wep.c | 62 u8 *pos; in libipw_wep_build_iv() local 67 pos = skb_push(skb, 4); in libipw_wep_build_iv() 68 memmove(pos, pos + 4, hdr_len); in libipw_wep_build_iv() 69 pos += hdr_len; in libipw_wep_build_iv() 85 *pos++ = (wep->iv >> 16) & 0xff; in libipw_wep_build_iv() 86 *pos++ = (wep->iv >> 8) & 0xff; in libipw_wep_build_iv() 87 *pos++ = wep->iv & 0xff; in libipw_wep_build_iv() 88 *pos++ = wep->key_idx << 6; in libipw_wep_build_iv() 103 u8 *pos, *icv; in libipw_wep_encrypt() local 121 pos = skb->data + hdr_len + 4; in libipw_wep_encrypt() [all …]
|
| /linux/scripts/ |
| H A D | cleanfile | 23 my $pos = 0; 30 my $npos = ($pos+$nsp+8) & ~7; 31 my $ntab = ($npos >> 3) - ($pos >> 3); 33 $pos = $npos; 37 $pos += $nsp; 40 $pos = 0; 45 $pos += $nsp; 48 $pos++; 61 my $pos = 0; 67 $pos = ($pos+8) & ~7; [all …]
|