/linux-master/fs/proc/ |
H A D | consoles.c | 70 static void *c_start(struct seq_file *m, loff_t *pos) argument 82 if (off++ == *pos) 88 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument 92 ++*pos;
|
/linux-master/crypto/ |
H A D | proc.c | 21 static void *c_start(struct seq_file *m, loff_t *pos) argument 24 return seq_list_start(&crypto_alg_list, *pos); 27 static void *c_next(struct seq_file *m, void *p, loff_t *pos) argument 29 return seq_list_next(p, &crypto_alg_list, pos);
|
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-fileops.h | 13 loff_t *pos); 15 loff_t *pos);
|
/linux-master/fs/bcachefs/ |
H A D | move_types.h | 9 struct bbpos pos; member in struct:bch_move_stats
|
H A D | btree_key_cache_types.h | 31 struct bpos pos; member in struct:bkey_cached_key
|
H A D | logged_ops_format.h | 27 __le64 pos; member in struct:bch_logged_op_finsert
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | devcom.c | 270 struct mlx5_devcom_comp_dev *pos; local 280 list_for_each_entry(pos, &comp->comp_dev_list_head, list) { 281 data = rcu_dereference_protected(pos->data, lockdep_is_held(&comp->sem)); 283 if (pos != devcom && data) { 294 if (list_entry_is_head(pos, &comp->comp_dev_list_head, list)) 296 pos = list_prev_entry(pos, list); 297 list_for_each_entry_from_reverse(pos, &comp->comp_dev_list_head, list) { 298 data = rcu_dereference_protected(pos->data, lockdep_is_held(&comp->sem)); 300 if (pos ! 345 mlx5_devcom_get_next_peer_data(struct mlx5_devcom_comp_dev *devcom, struct mlx5_devcom_comp_dev **pos) argument 369 mlx5_devcom_get_next_peer_data_rcu(struct mlx5_devcom_comp_dev *devcom, struct mlx5_devcom_comp_dev **pos) argument [all...] |
/linux-master/drivers/ntb/test/ |
H A D | ntb_perf.c | 1118 size_t size, ssize_t *pos) 1126 (*pos) += scnprintf(buf + *pos, size - *pos, 1136 (*pos) += scnprintf(buf + *pos, size - *pos, 1141 (*pos) += scnprintf(buf + *pos, size - *pos, 1117 perf_read_stats(struct perf_ctx *perf, char *buf, size_t size, ssize_t *pos) argument 1188 ssize_t pos = 0; local 1269 ssize_t ret, pos = 0; local 1321 ssize_t pos; local [all...] |
/linux-master/drivers/thermal/ |
H A D | thermal_core.c | 51 struct thermal_governor *pos; local 56 list_for_each_entry(pos, &thermal_governor_list, governor_list) 57 if (!strncasecmp(name, pos->name, THERMAL_NAME_LENGTH)) 58 return pos; 119 struct thermal_zone_device *pos; local 142 list_for_each_entry(pos, &thermal_tz_list, node) { 147 if (pos->governor) 150 name = pos->tzp->governor_name; 155 ret = thermal_set_governor(pos, governor); 157 dev_err(&pos 171 struct thermal_zone_device *pos; local 221 struct thermal_governor *pos; local 447 struct thermal_instance *pos; local 652 struct thermal_instance *pos; local 790 struct thermal_instance *pos, *next; local 866 struct thermal_zone_device *pos = NULL; local 899 struct thermal_zone_device *pos = NULL; local 1076 struct thermal_cooling_device *pos = NULL; local 1199 struct thermal_cooling_device *pos = NULL; local 1463 struct thermal_zone_device *pos = NULL; local 1524 struct thermal_zone_device *pos = NULL, *ref = ERR_PTR(-EINVAL); local [all...] |
/linux-master/fs/lockd/ |
H A D | procfs.c | 22 loff_t *pos) 50 loff_t *pos) 60 return simple_read_from_buffer(buf, size, pos, resp, sizeof(resp)); 21 nlm_end_grace_write(struct file *file, const char __user *buf, size_t size, loff_t *pos) argument 49 nlm_end_grace_read(struct file *file, char __user *buf, size_t size, loff_t *pos) argument
|
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-altivec.c | 80 unsigned int pos, unsigned int count, 90 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 108 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, 79 vr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
|
H A D | ptrace-spe.c | 40 unsigned int pos, unsigned int count, 47 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 55 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 39 evr_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/arch/x86/include/asm/ |
H A D | pci_x86.h | 202 static inline unsigned char mmio_config_readb(void __iomem *pos) argument 205 asm volatile("movb (%1),%%al" : "=a" (val) : "r" (pos)); 209 static inline unsigned short mmio_config_readw(void __iomem *pos) argument 212 asm volatile("movw (%1),%%ax" : "=a" (val) : "r" (pos)); 216 static inline unsigned int mmio_config_readl(void __iomem *pos) argument 219 asm volatile("movl (%1),%%eax" : "=a" (val) : "r" (pos)); 223 static inline void mmio_config_writeb(void __iomem *pos, u8 val) argument 225 asm volatile("movb %%al,(%1)" : : "a" (val), "r" (pos) : "memory"); 228 static inline void mmio_config_writew(void __iomem *pos, u16 val) argument 230 asm volatile("movw %%ax,(%1)" : : "a" (val), "r" (pos) 233 mmio_config_writel(void __iomem *pos, u32 val) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_ksym.c | 62 if (!iter->pos_mod_end || iter->pos_mod_end > iter->pos) 64 else if (!iter->pos_ftrace_mod_end || iter->pos_ftrace_mod_end > iter->pos) 66 else if (!iter->pos_bpf_end || iter->pos_bpf_end > iter->pos)
|
/linux-master/drivers/input/misc/ |
H A D | rotary_encoder.c | 44 unsigned int pos; member in struct:rotary_encoder 80 unsigned int pos = encoder->pos; local 85 pos += encoder->steps; 86 if (pos) 87 pos--; 90 if (encoder->rollover || pos < encoder->steps) 91 pos++; 95 pos %= encoder->steps; 97 encoder->pos [all...] |
/linux-master/arch/s390/kernel/ |
H A D | processor.c | 332 static inline void *c_update(loff_t *pos) argument 334 if (*pos) 335 *pos = cpumask_next(*pos - 1, cpu_online_mask); 337 *pos = cpumask_first(cpu_online_mask); 338 return *pos < nr_cpu_ids ? (void *)*pos + 1 : NULL; 341 static void *c_start(struct seq_file *m, loff_t *pos) argument 344 return c_update(pos); 347 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument [all...] |
/linux-master/tools/perf/arch/x86/util/ |
H A D | tsc.c | 41 char *pos = strstr(line + 11, " @ "); local 43 if (pos && sscanf(pos, " @ %lfGHz", &result) == 1) {
|
/linux-master/tools/perf/util/ |
H A D | evlist.c | 80 evlist->ctl_fd.pos = -1; 158 struct evsel *pos, *n; local 160 evlist__for_each_entry_safe(evlist, n, pos) { 161 list_del_init(&pos->core.node); 162 pos->evlist = NULL; 163 evsel__delete(pos); 467 static int evsel__strcmp(struct evsel *pos, char *evsel_name) argument 471 if (evsel__is_dummy_event(pos)) 473 return !evsel__name_is(pos, evsel_name); 478 struct evsel *pos; local 492 struct evsel *pos; local 562 struct evsel *pos; local 1217 struct evsel *pos; local 1265 struct evsel *first = evlist__first(evlist), *pos = first; local 1294 struct evsel *first = evlist__first(evlist), *pos = first; local 2397 size_t pos = step / 2; local 2467 struct evsel *leader, *evsel, *pos; local 2502 struct evsel *pos; local 2532 struct evsel *pos; local [all...] |
/linux-master/net/mac80211/ |
H A D | mesh.c | 265 u8 *pos, neighbors; local 275 pos = skb_put(skb, 2 + meshconf_len); 276 *pos++ = WLAN_EID_MESH_CONFIG; 277 *pos++ = meshconf_len; 280 ifmsh->meshconf_offset = pos - skb->data; 283 *pos++ = ifmsh->mesh_pp_id; 285 *pos++ = ifmsh->mesh_pm_id; 287 *pos++ = ifmsh->mesh_cc_id; 289 *pos++ = ifmsh->mesh_sp_id; 291 *pos 313 u8 *pos; local 331 u8 *pos; local 402 u8 *pos; local 428 u8 *pos; local 461 u8 *pos; local 500 u8 *pos; local 533 u8 *pos; local 590 u8 *pos; local 658 u8 *pos; local 956 u8 *pos; local 1405 u8 *pos; local 1615 u8 *pos; local [all...] |
/linux-master/drivers/pci/ |
H A D | vpd.c | 155 static ssize_t pci_vpd_read(struct pci_dev *dev, loff_t pos, size_t count, argument 161 loff_t end = pos + count; 167 if (pos < 0) 172 if (pos >= max_len) 177 count = end - pos; 183 while (pos < end) { 193 pos & ~3); 204 skip = pos & 3; 208 if (++pos == end) 219 static ssize_t pci_vpd_write(struct pci_dev *dev, loff_t pos, size_ argument 417 __pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf, bool check_size) argument 442 pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf) argument 449 pci_read_vpd_any(struct pci_dev *dev, loff_t pos, size_t count, void *buf) argument 455 __pci_write_vpd(struct pci_dev *dev, loff_t pos, size_t count, const void *buf, bool check_size) argument 480 pci_write_vpd(struct pci_dev *dev, loff_t pos, size_t count, const void *buf) argument 487 pci_write_vpd_any(struct pci_dev *dev, loff_t pos, size_t count, const void *buf) argument [all...] |
/linux-master/fs/btrfs/ |
H A D | zstd.c | 111 struct list_head *pos, *next; local 120 list_for_each_prev_safe(pos, next, &wsm.lru_list) { 121 struct workspace *victim = container_of(pos, struct workspace, 411 workspace->in_buf.pos = 0; 422 workspace->out_buf.pos = 0; 438 if (tot_in + workspace->in_buf.pos > 8192 && 439 tot_in + workspace->in_buf.pos < 440 tot_out + workspace->out_buf.pos) { 446 if (workspace->out_buf.pos >= max_out) { 447 tot_out += workspace->out_buf.pos; [all...] |
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | tdls.c | 122 u8 rates[MWIFIEX_SUPPORTED_RATES], *pos; local 136 pos = skb_put(skb, supp_rates_size + 2); 137 *pos++ = WLAN_EID_SUPP_RATES; 138 *pos++ = supp_rates_size; 139 memcpy(pos, rates, supp_rates_size); 143 pos = skb_put(skb, ext_rates_size + 2); 144 *pos++ = WLAN_EID_EXT_SUPP_RATES; 145 *pos++ = ext_rates_size; 146 memcpy(pos, rates + MWIFIEX_TDLS_SUPPORTED_RATES, 157 u8 *pos; local 172 u8 *pos; local 194 u8 *pos; local 243 u8 *pos, ap_supp_chwd_set, chan_bw; local 374 u8 *pos = skb_put(skb, 3); local 473 u8 radio, *pos; local 739 u8 radio, *pos; local 820 u8 *pos; local 898 u8 *peer, *pos, *end; local [all...] |
/linux-master/fs/erofs/ |
H A D | xattr.c | 14 erofs_off_t pos; member in struct:erofs_xattr_iter 81 it.pos = erofs_iloc(inode) + vi->inode_isize; 84 it.kaddr = erofs_bread(&it.buf, erofs_blknr(sb, it.pos), EROFS_KMAP); 90 ih = it.kaddr + erofs_blkoff(sb, it.pos); 102 it.pos += sizeof(struct erofs_xattr_ibody_header); 105 it.kaddr = erofs_bread(&it.buf, erofs_blknr(sb, it.pos), 114 (it.kaddr + erofs_blkoff(sb, it.pos))); 115 it.pos += sizeof(__le32); 188 it->kaddr = erofs_bread(&it->buf, erofs_blknr(sb, it->pos), 193 src = it->kaddr + erofs_blkoff(sb, it->pos); 483 erofs_off_t pos = (erofs_off_t)sbi->xattr_prefix_start << 2; local [all...] |
/linux-master/fs/fuse/ |
H A D | readdir.c | 27 if (ctx->pos == 0) 33 struct fuse_dirent *dirent, loff_t pos) 49 if (fi->rdc.cached || pos != fi->rdc.pos) { 76 WARN_ON(fi->rdc.pos != pos)) 87 fi->rdc.pos = dirent->off; 94 static void fuse_readdir_cache_end(struct file *file, loff_t pos) argument 101 if (fi->rdc.pos != pos) { 32 fuse_add_dirent_to_cache(struct file *file, struct fuse_dirent *dirent, loff_t pos) argument [all...] |
/linux-master/arch/microblaze/kernel/cpu/ |
H A D | mb.c | 136 static void *c_start(struct seq_file *m, loff_t *pos) argument 138 int i = *pos; 143 static void *c_next(struct seq_file *m, void *v, loff_t *pos) argument 145 ++*pos; 146 return c_start(m, pos);
|