Home
last modified time | relevance | path

Searched refs:nr_relocs (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/vc4/
H A Dvc4_validate.c779 uint32_t nr_attributes, nr_relocs, packet_size; in validate_gl_shader_rec() local
787 nr_relocs = ARRAY_SIZE(shader_reloc_offsets) + nr_attributes; in validate_gl_shader_rec()
788 if (nr_relocs * 4 > exec->shader_rec_size) { in validate_gl_shader_rec()
791 nr_relocs, exec->shader_rec_size); in validate_gl_shader_rec()
795 exec->shader_rec_u += nr_relocs * 4; in validate_gl_shader_rec()
796 exec->shader_rec_size -= nr_relocs * 4; in validate_gl_shader_rec()
813 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec()
827 for (i = shader_reloc_count; i < nr_relocs; i++) { in validate_gl_shader_rec()
/linux/tools/objtool/
H A Delf.c1653 unsigned int nr_relocs) in elf_create_rela_section()
1666 rsec = elf_create_section(elf, rsec_name, nr_relocs * elf_rela_size(elf), in elf_create_reloc()
1673 if (nr_relocs) { in elf_create_reloc()
1676 rsec->nr_alloc_relocs = nr_relocs; in elf_create_reloc()
1677 rsec->relocs = calloc(nr_relocs, sizeof(struct reloc)); in elf_create_reloc()
1722 unsigned int nr_relocs) in elf_write_insn()
1731 if (!elf_create_rela_section(elf, sec, nr_relocs))
1626 elf_create_rela_section(struct elf * elf,struct section * sec,unsigned int nr_relocs) elf_create_rela_section() argument
1695 elf_create_section_pair(struct elf * elf,const char * name,size_t entsize,unsigned int nr,unsigned int nr_relocs) elf_create_section_pair() argument
/linux/include/uapi/drm/
H A Detnaviv_drm.h202 __u32 nr_relocs; /* in, number of submit_reloc's */ member