| /linux/lib/tests/ |
| H A D | memcpy_kunit.c | 395 static void inner_loop(struct kunit *test, int bytes, int d_off, int s_off) in inner_loop() argument 406 memmove(&large_dst[d_off], &large_dst[s_off], bytes); in inner_loop() 409 KUNIT_ASSERT_EQ_MSG(test, memcmp(&large_dst[d_off], large_src, bytes), 0, in inner_loop() 411 bytes, s_off, d_off); in inner_loop() 414 if (s_off < d_off) { in inner_loop() 418 right_zero_pos = d_off + bytes; in inner_loop() 423 src_size = d_off - s_off; in inner_loop() 426 left_zero_size = d_off; in inner_loop() 431 src_pos = d_off + bytes; in inner_loop() 440 bytes, s_off, d_off); in inner_loop() [all …]
|
| /linux/fs/ |
| H A D | readdir.c | 247 unsigned long d_off; member 294 unsafe_put_user(offset, &prev->d_off, efault_end); in filldir() 333 if (put_user(buf.ctx.pos, &lastdirent->d_off)) in SYSCALL_DEFINE3() 377 unsafe_put_user(offset, &prev->d_off, efault_end); in filldir64() 415 typeof(lastdirent->d_off) d_off = buf.ctx.pos; in SYSCALL_DEFINE3() local 418 if (put_user(d_off, &lastdirent->d_off)) in SYSCALL_DEFINE3() 501 compat_ulong_t d_off; member 547 unsafe_put_user(offset, &prev->d_off, efault_end); in compat_filldir() 586 if (put_user(buf.ctx.pos, &lastdirent->d_off)) in COMPAT_SYSCALL_DEFINE3()
|
| /linux/tools/perf/util/ |
| H A D | genelf.c | 100 d->d_off = 0LL; in jit_add_eh_frame_info() 134 d->d_off = 0LL; in jit_add_eh_frame_info() 236 d->d_off = 0LL; in jit_write_elf() 283 d->d_off = 0LL; in jit_write_elf() 319 d->d_off = 0LL; in jit_write_elf() 362 d->d_off = 0LL; in jit_write_elf() 404 d->d_off = 0LL; in jit_write_elf()
|
| H A D | genelf_debug.c | 526 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()
|
| H A D | symbol-elf.c | 542 vi.offset = shdr->sh_offset + di->plt_got_data->d_off + i + disp; in get_plt_got_name() 2686 .d_off = 0, .d_align = 0 in populate_sdt_note() 2690 .d_version = EV_CURRENT, .d_size = dst.d_size, .d_off = 0, in populate_sdt_note()
|
| /linux/arch/x86/kernel/ |
| H A D | amd_node.c | 86 static int __amd_smn_rw(u8 i_off, u8 d_off, u16 node, u32 address, u32 *value, bool write) in __amd_smn_rw() argument 109 err = (write ? pci_write_config_dword(root, d_off, *value) in __amd_smn_rw() 110 : pci_read_config_dword(root, d_off, value)); in __amd_smn_rw()
|
| /linux/crypto/async_tx/ |
| H A D | async_raid6_recov.c | 18 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/include/linux/ |
| H A D | dirent.h | 7 s64 d_off; member
|
| H A D | compat.h | 318 compat_off_t d_off; member
|
| /linux/tools/include/nolibc/ |
| H A D | dirent.h | 89 ret = lseek(fd, ldir->d_off, SEEK_SET); in readdir_r()
|
| H A D | types.h | 163 int64_t d_off; member
|
| /linux/mm/ |
| H A D | zsmalloc.c | 1391 unsigned long s_off, d_off; in zs_object_copy() local 1402 d_off = offset_in_page(class->size * d_objidx); in zs_object_copy() 1407 if (d_off + class->size > PAGE_SIZE) in zs_object_copy() 1408 d_size = PAGE_SIZE - d_off; in zs_object_copy() 1415 memcpy(d_addr + d_off, s_addr + s_off, size); in zs_object_copy() 1423 d_off += size; in zs_object_copy() 1443 if (d_off >= PAGE_SIZE) { in zs_object_copy() 1448 d_off = 0; in zs_object_copy()
|
| /linux/tools/lib/api/ |
| H A D | io_dir.h | 46 off64_t d_off; /* 64-bit offset to next structure */ member
|
| /linux/include/uapi/linux/ |
| H A D | msdos_fs.h | 92 __kernel_off_t d_off; member
|
| /linux/drivers/gpio/ |
| H A D | gpio-twl4030.c | 193 u8 d_off = gpio & 0x7; in twl4030_get_gpio_datain() local 200 ret = (ret >> d_off) & 0x1; in twl4030_get_gpio_datain()
|
| /linux/fs/9p/ |
| H A D | vfs_dir.c | 191 ctx->pos = curdirent.d_off; in v9fs_dir_readdir_dotl()
|
| /linux/include/net/9p/ |
| H A D | client.h | 173 u64 d_off; member
|
| /linux/fs/hostfs/ |
| H A D | hostfs_user.c | 131 *pos_out = ent->d_off; in read_dir()
|
| /linux/tools/objtool/ |
| H A D | elf.c | 367 if (sec->data->d_off != 0 || in read_sections() 1262 if (data->d_type != ELF_T_BYTE || data->d_off) { in elf_write_insn()
|
| /linux/net/core/ |
| H A D | skbuff.c | 1936 u32 d_off; in skb_copy_ubufs() local 1971 d_off = 0; in skb_copy_ubufs() 1984 if (d_off == psize) { in skb_copy_ubufs() 1985 d_off = 0; in skb_copy_ubufs() 1988 copy = min_t(u32, psize - d_off, p_len - done); in skb_copy_ubufs() 1989 memcpy(page_address(page) + d_off, in skb_copy_ubufs() 1992 d_off += copy; in skb_copy_ubufs() 2008 d_off); in skb_copy_ubufs()
|
| /linux/net/9p/ |
| H A D | protocol.c | 782 &dirent->d_off, &dirent->d_type, &nameptr); in p9dirent_read()
|
| /linux/tools/lib/bpf/ |
| H A D | linker.c | 1191 data->d_off = 0; in init_sec() 2769 sec->data->d_off = 0LL; in bpf_linker__finalize() 2852 data->d_off = 0; in emit_elf_data_sec()
|
| /linux/arch/x86/kvm/svm/ |
| H A D | sev.c | 1304 int len, s_off, d_off; in sev_dbg_crypt() local 1330 d_off = dst_vaddr & ~PAGE_MASK; in sev_dbg_crypt() 1337 __sme_page_pa(dst_p[0]) + d_off, in sev_dbg_crypt() 1343 __sme_page_pa(dst_p[0]) + d_off, in sev_dbg_crypt()
|
| /linux/fs/fat/ |
| H A D | dir.c | 759 put_user(offset, &d2->d_off) || \
|