/linux-master/drivers/dma-buf/ |
H A D | sync_debug.c | 109 struct list_head *pos; local 114 list_for_each(pos, &obj->pt_list) { 115 struct sync_pt *pt = container_of(pos, struct sync_pt, link); 143 struct list_head *pos; local 148 list_for_each(pos, &sync_timeline_list_head) { 150 container_of(pos, struct sync_timeline, 161 list_for_each(pos, &sync_file_list_head) { 163 container_of(pos, struct sync_file, sync_file_list);
|
/linux-master/arch/x86/mm/pat/ |
H A D | memtype.h | 36 extern int memtype_copy_nth_element(struct memtype *entry_out, loff_t pos); 45 static inline int memtype_copy_nth_element(struct memtype *out, loff_t pos) argument
|
/linux-master/net/atm/ |
H A D | resources.h | 25 void *atm_dev_seq_start(struct seq_file *seq, loff_t *pos); 27 void *atm_dev_seq_next(struct seq_file *seq, void *v, loff_t *pos);
|
/linux-master/drivers/ssb/ |
H A D | sprom.c | 26 int i, pos = 0; local 29 pos += scnprintf(buf + pos, buf_len - pos - 1, 31 pos += scnprintf(buf + pos, buf_len - pos - 1, "\n"); 33 return pos + 1;
|
/linux-master/arch/sh/include/asm/ |
H A D | syscalls_32.h | 15 size_t count, long dummy, loff_t pos); 17 size_t count, long dummy, loff_t pos);
|
/linux-master/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 58 static void *ipoib_mcg_seq_start(struct seq_file *file, loff_t *pos) argument 61 loff_t n = *pos; 78 loff_t *pos) 82 (*pos)++; 136 static void *ipoib_path_seq_start(struct seq_file *file, loff_t *pos) argument 139 loff_t n = *pos; 156 loff_t *pos) 160 (*pos)++; 77 ipoib_mcg_seq_next(struct seq_file *file, void *iter_ptr, loff_t *pos) argument 155 ipoib_path_seq_next(struct seq_file *file, void *iter_ptr, loff_t *pos) argument
|
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-novsx.c | 50 unsigned int pos, unsigned int count, 59 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, 49 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
|
/linux-master/drivers/scsi/ |
H A D | sim710.c | 53 char *pos = str, *next; local 56 while(pos != NULL && (next = strchr(pos, ':')) != NULL) { 59 if(!strncmp(pos, "slot:", 5)) 61 else if(!strncmp(pos, "id:", 3)) { 70 if((pos = strchr(pos, ARG_SEP)) != NULL) 71 pos++;
|
/linux-master/fs/ext4/ |
H A D | dir.c | 170 while (ctx->pos < inode->i_size) { 178 offset = ctx->pos & (sb->s_blocksize - 1); 179 map.m_lblk = ctx->pos >> EXT4_BLOCK_SIZE_BITS(sb); 187 ctx->pos += map.m_len * sb->s_blocksize; 209 if (ctx->pos > inode->i_blocks << 9) 211 ctx->pos += sb->s_blocksize - offset; 220 (unsigned long long)ctx->pos); 221 ctx->pos += sb->s_blocksize - offset; 250 ctx->pos = (ctx->pos 342 pos2maj_hash(struct file *filp, loff_t pos) argument 351 pos2min_hash(struct file *filp, loff_t pos) argument 433 ext4_htree_create_dir_info(struct file *filp, loff_t pos) argument [all...] |
/linux-master/include/acpi/ |
H A D | apei.h | 44 int erst_get_record_id_begin(int *pos); 45 int erst_get_record_id_next(int *pos, u64 *record_id);
|
/linux-master/arch/sparc/kernel/ |
H A D | ptrace_64.c | 269 unsigned int pos, unsigned int count, 278 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 281 if (!ret && count && pos < (32 * sizeof(u64))) { 287 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 301 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 317 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 326 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 335 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 373 unsigned int pos, unsigned int count, 383 ret = user_regset_copyin(&pos, 267 genregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 371 fpregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 457 setregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 558 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 698 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 795 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument 846 setfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |
/linux-master/arch/powerpc/sysdev/ |
H A D | mpic_u3msi.c | 42 static u64 read_ht_magic_addr(struct pci_dev *pdev, unsigned int pos) argument 48 pci_read_config_byte(pdev, pos + HT_MSI_FLAGS, &flags); 53 pci_read_config_dword(pdev, pos + HT_MSI_ADDR_LO, &tmp); 55 pci_read_config_dword(pdev, pos + HT_MSI_ADDR_HI, &tmp); 64 unsigned int pos; local 67 pos = pci_find_ht_capability(bus->self, HT_CAPTYPE_MSI_MAPPING); 68 if (pos) 69 return read_ht_magic_addr(bus->self, pos);
|
/linux-master/security/apparmor/ |
H A D | policy_unpack_test.c | 68 e->pos = e->start; 147 puf->e->pos += TEST_ARRAY_BUF_OFFSET; 151 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, 161 puf->e->pos += TEST_NAMED_ARRAY_BUF_OFFSET; 165 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, 175 puf->e->pos += TEST_NAMED_ARRAY_BUF_OFFSET; 179 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, 189 puf->e->pos += TEST_BLOB_BUF_OFFSET; 203 puf->e->pos += TEST_NAMED_BLOB_BUF_OFFSET; 218 puf->e->pos [all...] |
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_pm_dbgfs.c | 11 loff_t *pos) 17 return pm.print_pm_status(accel_dev, buf, count, pos); 10 pm_status_read(struct file *f, char __user *buf, size_t count, loff_t *pos) argument
|
/linux-master/fs/bcachefs/ |
H A D | btree_write_buffer_types.h | 16 u8 pos[sizeof(struct bpos)]; member in struct:wb_key_ref::__anon302::__anon303 20 u8 pos[sizeof(struct bpos)];
|
H A D | btree_journal_iter.c | 50 struct bpos pos) 56 if (__journal_key_cmp(id, level, pos, idx_to_key(keys, m)) > 0) 63 __journal_key_cmp(id, level, pos, idx_to_key(keys, l)) > 0); 66 __journal_key_cmp(id, level, pos, idx_to_key(keys, l - 1)) <= 0); 73 struct bpos pos) 75 return idx_to_pos(keys, __bch2_journal_key_search(keys, id, level, pos)); 80 unsigned level, struct bpos pos, 90 *idx = __bch2_journal_key_search(keys, btree_id, level, pos); 111 if (__journal_key_cmp(btree_id, level, pos, k) <= 0) 126 unsigned level, struct bpos pos) 48 __bch2_journal_key_search(struct journal_keys *keys, enum btree_id id, unsigned level, struct bpos pos) argument 71 bch2_journal_key_search(struct journal_keys *keys, enum btree_id id, unsigned level, struct bpos pos) argument 79 bch2_journal_keys_peek_upto(struct bch_fs *c, enum btree_id btree_id, unsigned level, struct bpos pos, struct bpos end_pos, size_t *idx) argument 125 bch2_journal_keys_peek_slot(struct bch_fs *c, enum btree_id btree_id, unsigned level, struct bpos pos) argument 281 bch2_journal_key_delete(struct bch_fs *c, enum btree_id id, unsigned level, struct bpos pos) argument 292 bch2_key_deleted_in_journal(struct btree_trans *trans, enum btree_id btree, unsigned level, struct bpos pos) argument 308 bch2_journal_key_overwritten(struct bch_fs *c, enum btree_id btree, unsigned level, struct bpos pos) argument 357 bch2_journal_iter_init(struct bch_fs *c, struct journal_iter *iter, enum btree_id id, unsigned level, struct bpos pos) argument 461 __bch2_btree_and_journal_iter_init_node_iter(struct btree_trans *trans, struct btree_and_journal_iter *iter, struct btree *b, struct btree_node_iter node_iter, struct bpos pos) argument [all...] |
/linux-master/drivers/leds/ |
H A D | leds.h | 26 loff_t pos, size_t count); 29 loff_t pos, size_t count);
|
/linux-master/drivers/vfio/pci/ |
H A D | vfio_pci_rdwr.c | 235 loff_t pos = *ppos & VFIO_PCI_OFFSET_MASK; local 251 if (pos >= end) 254 count = min(count, (size_t)(end - pos)); 283 done = vfio_pci_core_do_io_rw(vdev, res->flags & IORESOURCE_MEM, io, buf, pos, 300 loff_t off, pos = *ppos & VFIO_PCI_OFFSET_MASK; local 309 if (pos > 0xbfffful) 312 switch ((u32)pos) { 314 count = min(count, (size_t)(0xc0000 - pos)); 316 off = pos - 0xa0000; 321 count = min(count, (size_t)(0x3bc - pos)); 424 loff_t pos = offset & VFIO_PCI_OFFSET_MASK; local [all...] |
/linux-master/drivers/s390/cio/ |
H A D | qdio_setup.c | 35 int pos; local 37 for (pos = 0; pos < count; pos += QBUFF_PER_PAGE) 38 free_page((unsigned long) buf[pos]); 49 int pos; local 51 for (pos = 0; pos < count; pos += QBUFF_PER_PAGE) { 52 buf[pos] 72 int pos; local [all...] |
/linux-master/arch/sh/kernel/ |
H A D | sys_sh32.c | 40 size_t count, long dummy, loff_t pos) 42 return ksys_pread64(fd, buf, count, pos); 46 size_t count, long dummy, loff_t pos) 48 return ksys_pwrite64(fd, buf, count, pos); 39 sys_pread_wrapper(unsigned int fd, char __user *buf, size_t count, long dummy, loff_t pos) argument 45 sys_pwrite_wrapper(unsigned int fd, const char __user *buf, size_t count, long dummy, loff_t pos) argument
|
/linux-master/fs/efs/ |
H A D | dir.c | 34 block = ctx->pos >> EFS_DIRBSIZE_BITS; 37 slot = ctx->pos & 0xff; 81 ctx->pos = (block << EFS_DIRBSIZE_BITS) | slot; 101 ctx->pos = (block << EFS_DIRBSIZE_BITS) | slot;
|
/linux-master/drivers/net/ethernet/apm/xgene-v2/ |
H A D | ring.h | 85 static inline u64 xge_set_desc_bits(int pos, int len, u64 val) argument 87 return (val & ((1ULL << len) - 1)) << pos; 90 static inline u64 xge_get_desc_bits(int pos, int len, u64 src) argument 92 return (src >> pos) & ((1ULL << len) - 1);
|
/linux-master/net/sunrpc/auth_gss/ |
H A D | gss_mech_switch.c | 134 struct gss_api_mech *pos, *gm = NULL; local 137 list_for_each_entry_rcu(pos, ®istered_mechs, gm_list) { 138 if (0 == strcmp(name, pos->gm_name)) { 139 if (try_module_get(pos->gm_owner)) 140 gm = pos; 163 struct gss_api_mech *pos, *gm = NULL; local 171 list_for_each_entry_rcu(pos, ®istered_mechs, gm_list) { 172 if (obj->len == pos->gm_oid.len) { 173 if (0 == memcmp(obj->data, pos->gm_oid.data, obj->len)) { 174 if (try_module_get(pos 200 struct gss_api_mech *gm = NULL, *pos; local [all...] |
/linux-master/tools/perf/arch/s390/util/ |
H A D | auxtrace.c | 91 struct evsel *pos; local 98 evlist__for_each_entry(evlist, pos) { 99 if (pos->core.attr.config == PERF_EVENT_CPUM_SF_DIAG) { 101 pos->needs_auxtrace_mmap = true;
|
/linux-master/include/linux/ |
H A D | mroute_base.h | 394 void *mr_vif_seq_idx(struct net *net, struct mr_vif_iter *iter, loff_t pos); 395 void *mr_vif_seq_next(struct seq_file *seq, void *v, loff_t *pos); 397 static inline void *mr_vif_seq_start(struct seq_file *seq, loff_t *pos) argument 399 return *pos ? mr_vif_seq_idx(seq_file_net(seq), 400 seq->private, *pos - 1) 408 struct mr_mfc_iter *it, loff_t pos); 410 loff_t *pos); 412 static inline void *mr_mfc_seq_start(struct seq_file *seq, loff_t *pos, argument 421 return *pos ? mr_mfc_seq_idx(seq_file_net(seq), 422 seq->private, *pos 437 mr_vif_seq_idx(struct net *net, struct mr_vif_iter *iter, loff_t pos) argument 443 mr_vif_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 449 mr_vif_seq_start(struct seq_file *seq, loff_t *pos) argument 454 mr_mfc_seq_idx(struct net *net, struct mr_mfc_iter *it, loff_t pos) argument 460 mr_mfc_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument 466 mr_mfc_seq_start(struct seq_file *seq, loff_t *pos, struct mr_table *mrt, spinlock_t *lock) argument [all...] |