Searched refs:pos (Results 176 - 200 of 2291) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline.c73 struct komeda_component **pos = NULL; local
80 pos = to_cpos(pipe->layers[id - KOMEDA_COMPONENT_LAYER0]);
83 pos = to_cpos(pipe->wb_layer);
92 pos = to_cpos(temp->compiz);
96 pos = to_cpos(pipe->scalers[id - KOMEDA_COMPONENT_SCALER0]);
99 pos = to_cpos(pipe->splitter);
102 pos = to_cpos(pipe->merger);
111 pos = to_cpos(temp->improc);
114 pos = to_cpos(pipe->ctrlr);
117 pos
128 struct komeda_component **pos = NULL; local
170 struct komeda_component **pos; local
[all...]
/linux-master/fs/iomap/
H A Diter.c34 iter->pos += iter->processed;
49 WARN_ON_ONCE(iter->iomap.offset > iter->pos);
51 WARN_ON_ONCE(iter->iomap.offset + iter->iomap.length <= iter->pos);
79 ret = ops->iomap_end(iter->inode, iter->pos, iomap_length(iter),
91 ret = ops->iomap_begin(iter->inode, iter->pos, iter->len, iter->flags,
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_fw_attestation.c56 loff_t *pos)
69 if ((*pos + sizeof(struct FW_ATT_DB_HEADER)) >= FW_ATTESTATION_MAX_SIZE) {
81 if (*pos == 0) {
97 vram_pos + sizeof(struct FW_ATT_DB_HEADER) + *pos,
108 *pos += sizeof(struct FW_ATT_RECORD);
53 amdgpu_fw_attestation_debugfs_read(struct file *f, char __user *buf, size_t size, loff_t *pos) argument
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-view.c239 unsigned int pos, unsigned int count, const void *kbuf,
248 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
253 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg,
264 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
270 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
275 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg,
283 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
300 unsigned int pos, unsigned int count, const void *kbuf,
306 return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
316 unsigned int pos, unsigne
238 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
299 ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
315 dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
329 tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
364 ebb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
418 pmu_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
504 hashkeyr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
538 pkey_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
719 gpr32_set_common_kernel(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, unsigned long *regs) argument
757 gpr32_set_common_user(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void __user *ubuf, unsigned long *regs) argument
811 gpr32_set_common(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned long *regs) argument
834 gpr32_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...]
H A Dptrace-decl.h74 unsigned int pos, unsigned int count,
82 unsigned int pos, unsigned int count,
90 unsigned int pos, unsigned int count,
98 unsigned int pos, unsigned int count,
109 unsigned int pos, unsigned int count,
124 unsigned int pos, unsigned int count,
129 unsigned int pos, unsigned int count,
134 unsigned int pos, unsigned int count,
139 unsigned int pos, unsigned int count,
144 unsigned int pos, unsigne
[all...]
/linux-master/kernel/bpf/
H A Dcgroup_iter.c57 static void *cgroup_iter_seq_start(struct seq_file *seq, loff_t *pos) argument
64 if (*pos > 0) {
74 ++*pos;
101 static void *cgroup_iter_seq_next(struct seq_file *seq, void *v, loff_t *pos) argument
106 ++*pos;
304 struct cgroup_subsys_state *pos; member in struct:bpf_iter_css_kern
329 kit->pos = NULL;
343 kit->pos = css_next_descendant_pre(kit->pos, kit->start);
346 kit->pos
[all...]
/linux-master/net/mac80211/
H A Dparse.c208 const u8 *pos = elem->data; local
269 crc = crc32_be(crc, pos - 2, elen + 2);
280 elems->lnk_id = (void *)(pos - 2);
288 elems->ch_sw_timing = (void *)pos;
291 elems->ext_capab = pos;
295 elems->ssid = pos;
299 elems->supp_rates = pos;
304 elems->ds_params = pos;
311 elems->tim = (void *)pos;
318 if (elen >= 4 && pos[
[all...]
/linux-master/drivers/char/
H A Dps3flash.c94 size_t count, loff_t *pos)
105 __func__, __LINE__, count, *pos, userbuf, kernelbuf);
108 if (*pos >= size || !count)
111 if (*pos + count > size) {
114 __LINE__, count, size - *pos);
115 count = size - *pos;
118 sector = *pos / dev->bounce_size * priv->chunk_sectors;
119 offset = *pos % dev->bounce_size;
149 *pos += n;
163 const void *kernelbuf, size_t count, loff_t *pos)
93 ps3flash_read(char __user *userbuf, void *kernelbuf, size_t count, loff_t *pos) argument
162 ps3flash_write(const char __user *userbuf, const void *kernelbuf, size_t count, loff_t *pos) argument
237 ps3flash_user_read(struct file *file, char __user *buf, size_t count, loff_t *pos) argument
243 ps3flash_user_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) argument
249 ps3flash_kernel_read(void *buf, size_t count, loff_t pos) argument
254 ps3flash_kernel_write(const void *buf, size_t count, loff_t pos) argument
[all...]
/linux-master/tools/perf/
H A Dbuiltin-buildid-cache.c225 struct str_node *pos; local
232 strlist__for_each_entry(pos, list) {
233 err = build_id_cache__remove_s(pos->s);
234 pr_debug("Removing %s %s: %s\n", pos->s, pathname,
250 struct str_node *pos; local
260 strlist__for_each_entry(pos, list) {
261 buf = build_id_cache__origname(pos->s);
262 err = build_id_cache__remove_s(pos->s);
263 pr_debug("Removing %s (%s): %s\n", buf, pos->s,
371 struct str_node *pos; local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtrans-gen2.c265 size_t pos; local
273 pos = scnprintf(buf, buflen, "JF");
276 pos = scnprintf(buf, buflen, "GF");
279 pos = scnprintf(buf, buflen, "GF4");
282 pos = scnprintf(buf, buflen, "HR");
285 pos = scnprintf(buf, buflen, "HR1");
288 pos = scnprintf(buf, buflen, "HRCDB");
291 pos = scnprintf(buf, buflen, "MS");
294 pos = scnprintf(buf, buflen, "FM");
299 pos
[all...]
/linux-master/net/xfrm/
H A Dxfrm_ipcomp.c234 struct ipcomp_tfms *pos; local
237 list_for_each_entry(pos, &ipcomp_tfms_list, list) {
238 if (pos->tfms == tfms)
242 WARN_ON(list_entry_is_head(pos, &ipcomp_tfms_list, list));
244 if (--pos->users)
247 list_del(&pos->list);
248 kfree(pos);
262 struct ipcomp_tfms *pos; local
267 list_for_each_entry(pos, &ipcomp_tfms_list, list) {
271 tfm = this_cpu_read(*pos
[all...]
/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c443 u8 *pos; local
456 pos = wpa_ie;
458 pos += 8;
463 *group_cipher = rtw_get_wpa_cipher_suite(pos);
465 pos += WPA_SELECTOR_LEN;
473 /* count = le16_to_cpu(*(u16*)pos); */
474 count = get_unaligned_le16(pos);
475 pos += 2;
482 *pairwise_cipher |= rtw_get_wpa_cipher_suite(pos);
484 pos
506 u8 *pos; local
765 rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen, struct rtw_ieee802_11_elems *elems, int show_errors) argument
848 u8 *pos = start; local
[all...]
/linux-master/lib/xz/
H A Dxz_dec_stream.c36 uint32_t pos; member in struct:xz_dec
126 size_t pos; member in struct:xz_dec::__anon1185
153 * must have set s->temp.pos to indicate how much data we are supposed
154 * to copy into s->temp.buf. Return true once s->temp.pos has reached
160 b->in_size - b->in_pos, s->temp.size - s->temp.pos);
162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size);
164 s->temp.pos += copy_size;
166 if (s->temp.pos == s->temp.size) {
167 s->temp.pos = 0;
180 if (s->pos
[all...]
/linux-master/drivers/misc/ocxl/
H A Dconfig.c80 int pos; local
82 pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_PASID);
83 if (!pos) {
92 pci_read_config_word(dev, pos + PCI_PASID_CAP, &val);
102 int pos; local
104 pos = find_dvsec(dev, OCXL_DVSEC_TL_ID);
105 if (!pos && PCI_FUNC(dev->devfn) == 0) {
109 if (pos && PCI_FUNC(dev->devfn) != 0) {
113 fn->dvsec_tl_pos = pos;
119 int pos, afu_presen local
146 int pos; local
164 int pos; local
211 int pos; local
234 int pos; local
250 int pos; local
329 int pos = fn->dvsec_afu_info_pos; local
489 int pos; local
739 ocxl_config_set_afu_actag(struct pci_dev *dev, int pos, int actag_base, int actag_count) argument
757 ocxl_config_set_afu_pasid(struct pci_dev *dev, int pos, int pasid_base, u32 pasid_count_log) argument
775 ocxl_config_set_afu_state(struct pci_dev *dev, int pos, int enable) argument
[all...]
/linux-master/drivers/media/usb/dvb-usb/
H A Ddvb-usb-firmware.c41 int ret, pos = 0; local
54 while ((ret = dvb_usb_get_hexline(fw, hx, &pos)) > 0) {
66 err("firmware download failed at %d with %d",pos,ret);
125 int *pos)
127 u8 *b = (u8 *) &fw->data[*pos];
129 if (*pos >= fw->size)
136 if ((*pos + hx->len + 4) >= fw->size)
151 *pos += hx->len + 5;
153 return *pos;
124 dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, int *pos) argument
/linux-master/kernel/printk/
H A Dindex.c20 static struct pi_entry *pi_get_entry(const struct module *mod, loff_t pos) argument
37 if (pos >= nr_entries)
40 return entries[pos];
43 static void *pi_next(struct seq_file *s, void *v, loff_t *pos) argument
46 struct pi_entry *entry = pi_get_entry(mod, *pos);
48 (*pos)++;
53 static void *pi_start(struct seq_file *s, loff_t *pos) argument
56 * Make show() print the header line. Do not update *pos because
59 if (*pos == 0)
62 return pi_next(s, NULL, pos);
[all...]
/linux-master/lib/
H A Ddecompress_inflate.c46 long *pos,
103 if (pos)
104 *pos = 0;
146 /* TODO: handle case where both pos and fill are set */
181 if (pos)
183 *pos = strm->next_in - zbuf+8;
204 long *pos,
207 return __gunzip(buf, len, fill, flush, out_buf, 0, pos, error);
214 long *pos,
217 return __gunzip(buf, len, fill, flush, out_buf, out_len, pos, erro
42 __gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void(*error)(char *x)) argument
200 gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long *pos, void (*error)(char *x)) argument
210 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) argument
[all...]
H A Ddecompress_unzstd.c224 in.pos = 0;
239 out.pos = 0;
290 if (in.pos == in.size) {
292 *in_pos += in.pos;
299 in.pos = 0;
308 if (flush != NULL && out.pos > 0) {
309 if (out.pos != flush(out.dst, out.pos)) {
314 out.pos = 0;
319 *in_pos += in.pos;
333 unzstd(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long *pos, void (*error)(char *x)) argument
343 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_buf_mem.c138 loff_t pos = BBTOB(xfs_buf_daddr(bp)); local
147 if (offset_in_page(pos) != 0) {
148 ASSERT(offset_in_page(pos));
152 error = shmem_get_folio(inode, pos >> PAGE_SHIFT, &folio, SGP_CACHE);
162 page = folio_file_page(folio, pos >> PAGE_SHIFT);
214 loff_t pos; local
218 pos = BBTOB(xfs_buf_daddr(bp));
219 shmem_truncate_range(inode, pos, pos + BBTOB(bp->b_length) - 1);
/linux-master/drivers/misc/
H A Dtps6594-pfsm.c52 loff_t pos = *ppos; local
57 if (pos < 0)
59 if (pos >= TPS6594_PMIC_MAX_POS)
61 if (count > TPS6594_PMIC_MAX_POS - pos)
62 count = TPS6594_PMIC_MAX_POS - pos;
65 ret = regmap_read(pfsm->regmap, pos + i, &val);
73 *ppos = pos + count;
82 loff_t pos = *ppos; local
87 if (pos < 0)
89 if (pos >
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport_debug.c13 static void *adf_ring_start(struct seq_file *sfile, loff_t *pos) argument
18 if (*pos == 0)
21 if (*pos >= (ADF_SIZE_TO_RING_SIZE_IN_BYTES(ring->ring_size) /
26 (ADF_MSG_SIZE_TO_BYTES(ring->msg_size) * (*pos)++);
29 static void *adf_ring_next(struct seq_file *sfile, void *v, loff_t *pos) argument
33 if (*pos >= (ADF_SIZE_TO_RING_SIZE_IN_BYTES(ring->ring_size) /
38 (ADF_MSG_SIZE_TO_BYTES(ring->msg_size) * (*pos)++);
119 static void *adf_bank_start(struct seq_file *sfile, loff_t *pos) argument
125 if (*pos == 0)
128 if (*pos >
134 adf_bank_next(struct seq_file *sfile, void *v, loff_t *pos) argument
[all...]
/linux-master/scripts/kconfig/lxdialog/
H A Dinputbox.c36 int show_x, len, pos; local
89 pos = len;
118 if (pos) {
125 if (pos < len) {
126 for (i = pos - 1; i < len; i++) {
131 pos--;
147 if (pos > 0) {
162 pos--;
166 if (pos < len) {
181 pos
[all...]
/linux-master/drivers/mtd/
H A Dmtdblock.c44 static int erase_write (struct mtd_info *mtd, unsigned long pos, argument
54 erase.addr = pos;
61 pos, len, mtd->name);
69 ret = mtd_write(mtd, pos, len, &retlen, buf);
110 static int do_cached_write (struct mtdblk_dev *mtdblk, unsigned long pos, argument
119 mtd->name, pos, len);
122 return mtd_write(mtd, pos, len, &retlen, buf);
125 unsigned long sect_start = (pos/sect_size)*sect_size;
126 unsigned int offset = pos - sect_start;
137 ret = erase_write (mtd, pos, siz
180 do_cached_read(struct mtdblk_dev *mtdblk, unsigned long pos, int len, char *buf) argument
[all...]
/linux-master/include/linux/
H A Drhashtable.h283 #define rht_entry(tpos, pos, member) \
284 ({ tpos = container_of(pos, typeof(*tpos), member); 1; })
417 * @pos: the &struct rhash_head to use as a loop cursor.
422 #define rht_for_each_from(pos, head, tbl, hash) \
423 for (pos = head; \
424 !rht_is_a_nulls(pos); \
425 pos = rht_dereference_bucket((pos)->next, tbl, hash))
429 * @pos: the &struct rhash_head to use as a loop cursor.
433 #define rht_for_each(pos, tb
[all...]
/linux-master/security/apparmor/
H A Dmatch.c368 unsigned int pos = base_idx(b) + (C); \
369 if ((check)[pos] != (state)) { \
375 (state) = (next)[pos]; \
529 aa_state_t state = start, pos; local
540 pos = base_idx(base[state]) + equiv[(u8) *str++];
541 if (check[pos] == state)
542 state = next[pos];
551 pos = base_idx(base[state]) + (u8) *str++;
552 if (check[pos] == state)
553 state = next[pos];
590 aa_state_t state = start, pos; local
637 aa_state_t pos = wb->pos; local
665 aa_state_t state = start, pos; local
[all...]

Completed in 244 milliseconds

1234567891011>>