Home
last modified time | relevance | path

Searched refs:d_off (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/lib/
Dmemcpy_kunit.c398 static void inner_loop(struct kunit *test, int bytes, int d_off, int s_off) in inner_loop() argument
409 memmove(&large_dst[d_off], &large_dst[s_off], bytes); in inner_loop()
412 KUNIT_ASSERT_EQ_MSG(test, memcmp(&large_dst[d_off], large_src, bytes), 0, in inner_loop()
414 bytes, s_off, d_off); in inner_loop()
417 if (s_off < d_off) { in inner_loop()
421 right_zero_pos = d_off + bytes; in inner_loop()
426 src_size = d_off - s_off; in inner_loop()
429 left_zero_size = d_off; in inner_loop()
434 src_pos = d_off + bytes; in inner_loop()
443 bytes, s_off, d_off); in inner_loop()
[all …]
/linux-6.6.21/fs/
Dreaddir.c245 unsigned long d_off; member
289 unsafe_put_user(offset, &prev->d_off, efault_end); in filldir()
329 if (put_user(buf.ctx.pos, &lastdirent->d_off)) in SYSCALL_DEFINE3()
371 unsafe_put_user(offset, &prev->d_off, efault_end); in filldir64()
410 typeof(lastdirent->d_off) d_off = buf.ctx.pos; in SYSCALL_DEFINE3() local
413 if (put_user(d_off, &lastdirent->d_off)) in SYSCALL_DEFINE3()
497 compat_ulong_t d_off; member
540 unsafe_put_user(offset, &prev->d_off, efault_end); in compat_filldir()
580 if (put_user(buf.ctx.pos, &lastdirent->d_off)) in COMPAT_SYSCALL_DEFINE3()
/linux-6.6.21/drivers/net/wireless/intersil/hostap/
Dhostap_pci.c185 u16 d_off; in hfa384x_from_bap() local
188 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_from_bap()
192 *pos++ = HFA384X_INW_DATA(d_off); in hfa384x_from_bap()
195 *((char *) pos) = HFA384X_INB(d_off); in hfa384x_from_bap()
203 u16 d_off; in hfa384x_to_bap() local
206 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_to_bap()
210 HFA384X_OUTW_DATA(*pos++, d_off); in hfa384x_to_bap()
213 HFA384X_OUTB(*((char *) pos), d_off); in hfa384x_to_bap()
Dhostap_plx.c226 u16 d_off; in hfa384x_from_bap() local
229 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_from_bap()
233 HFA384X_INSW(d_off, buf, len / 2); in hfa384x_from_bap()
237 *((char *) pos) = HFA384X_INB(d_off); in hfa384x_from_bap()
245 u16 d_off; in hfa384x_to_bap() local
248 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_to_bap()
252 HFA384X_OUTSW(d_off, buf, len / 2); in hfa384x_to_bap()
256 HFA384X_OUTB(*((char *) pos), d_off); in hfa384x_to_bap()
Dhostap_cs.c158 u16 d_off; in hfa384x_from_bap() local
161 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_from_bap()
165 HFA384X_INSW(d_off, buf, len / 2); in hfa384x_from_bap()
169 *((char *) pos) = HFA384X_INB(d_off); in hfa384x_from_bap()
177 u16 d_off; in hfa384x_to_bap() local
180 d_off = (bap == 1) ? HFA384X_DATA1_OFF : HFA384X_DATA0_OFF; in hfa384x_to_bap()
184 HFA384X_OUTSW(d_off, buf, len / 2); in hfa384x_to_bap()
188 HFA384X_OUTB(*((char *) pos), d_off); in hfa384x_to_bap()
/linux-6.6.21/tools/perf/util/
Dgenelf.c184 d->d_off = 0LL; in jit_add_eh_frame_info()
218 d->d_off = 0LL; in jit_add_eh_frame_info()
320 d->d_off = 0LL; in jit_write_elf()
367 d->d_off = 0LL; in jit_write_elf()
403 d->d_off = 0LL; in jit_write_elf()
446 d->d_off = 0LL; in jit_write_elf()
488 d->d_off = 0LL; in jit_write_elf()
Dgenelf_debug.c526 d->d_off = 0LL; in jit_add_debug_info()
560 d->d_off = 0LL; in jit_add_debug_info()
594 d->d_off = 0LL; in jit_add_debug_info()
Dsymbol-elf.c609 vi.offset = shdr->sh_offset + di->plt_got_data->d_off + i + disp; in get_plt_got_name()
2671 .d_off = 0, .d_align = 0 in populate_sdt_note()
2675 .d_version = EV_CURRENT, .d_size = dst.d_size, .d_off = 0, in populate_sdt_note()
/linux-6.6.21/crypto/async_tx/
Dasync_raid6_recov.c18 async_sum_product(struct page *dest, unsigned int d_off, in async_sum_product() argument
47 unmap->addr[2] = dma_map_page(dev, dest, d_off, in async_sum_product()
75 c = page_address(dest) + d_off; in async_sum_product()
87 async_mult(struct page *dest, unsigned int d_off, struct page *src, in async_mult() argument
112 unmap->addr[1] = dma_map_page(dev, dest, d_off, in async_mult()
143 d = page_address(dest) + d_off; in async_mult()
/linux-6.6.21/include/linux/
Ddirent.h7 s64 d_off; member
Dcompat.h318 compat_off_t d_off; member
/linux-6.6.21/mm/
Dzsmalloc.c1483 unsigned long s_off, d_off; in zs_object_copy() local
1494 d_off = offset_in_page(class->size * d_objidx); in zs_object_copy()
1499 if (d_off + class->size > PAGE_SIZE) in zs_object_copy()
1500 d_size = PAGE_SIZE - d_off; in zs_object_copy()
1507 memcpy(d_addr + d_off, s_addr + s_off, size); in zs_object_copy()
1515 d_off += size; in zs_object_copy()
1535 if (d_off >= PAGE_SIZE) { in zs_object_copy()
1540 d_off = 0; in zs_object_copy()
/linux-6.6.21/include/uapi/linux/
Dmsdos_fs.h92 __kernel_off_t d_off; member
/linux-6.6.21/tools/include/nolibc/
Dtypes.h177 int64_t d_off; member
/linux-6.6.21/drivers/gpio/
Dgpio-twl4030.c193 u8 d_off = gpio & 0x7; in twl4030_get_gpio_datain() local
200 ret = (ret >> d_off) & 0x1; in twl4030_get_gpio_datain()
/linux-6.6.21/fs/9p/
Dvfs_dir.c191 ctx->pos = curdirent.d_off; in v9fs_dir_readdir_dotl()
/linux-6.6.21/include/net/9p/
Dclient.h173 u64 d_off; member
/linux-6.6.21/fs/hostfs/
Dhostfs_user.c121 *pos_out = ent->d_off; in read_dir()
/linux-6.6.21/tools/objtool/
Delf.c364 if (sec->data->d_off != 0 || in read_sections()
1231 if (data->d_type != ELF_T_BYTE || data->d_off) { in elf_write_insn()
/linux-6.6.21/net/core/
Dskbuff.c1801 u32 d_off; in skb_copy_ubufs() local
1833 d_off = 0; in skb_copy_ubufs()
1846 if (d_off == psize) { in skb_copy_ubufs()
1847 d_off = 0; in skb_copy_ubufs()
1850 copy = min_t(u32, psize - d_off, p_len - done); in skb_copy_ubufs()
1851 memcpy(page_address(page) + d_off, in skb_copy_ubufs()
1854 d_off += copy; in skb_copy_ubufs()
1869 __skb_fill_page_desc(skb, new_frags - 1, head, 0, d_off); in skb_copy_ubufs()
/linux-6.6.21/arch/x86/kvm/svm/
Dsev.c958 int len, s_off, d_off; in sev_dbg_crypt() local
984 d_off = dst_vaddr & ~PAGE_MASK; in sev_dbg_crypt()
991 __sme_page_pa(dst_p[0]) + d_off, in sev_dbg_crypt()
997 __sme_page_pa(dst_p[0]) + d_off, in sev_dbg_crypt()
/linux-6.6.21/net/9p/
Dprotocol.c782 &dirent->d_off, &dirent->d_type, &nameptr); in p9dirent_read()
/linux-6.6.21/tools/lib/bpf/
Dlinker.c1029 data->d_off = 0; in init_sec()
2574 sec->data->d_off = 0LL; in bpf_linker__finalize()
2652 data->d_off = 0; in emit_elf_data_sec()
/linux-6.6.21/fs/fat/
Ddir.c747 put_user(offset, &d2->d_off) || \