loc 140 arch/arc/kernel/unwind.c uleb128_t loc, org; loc 666 arch/arc/kernel/unwind.c state->loc += delta * state->codeAlign; loc 671 arch/arc/kernel/unwind.c unw_debug("delta %3lu => loc 0x%lx: ", delta, state->loc); loc 716 arch/arc/kernel/unwind.c state->loc = state->org; loc 735 arch/arc/kernel/unwind.c state->loc = read_pointer(&ptr.p8, end, loc 737 arch/arc/kernel/unwind.c if (state->loc == 0) loc 739 arch/arc/kernel/unwind.c unw_debug("cfa_set_loc: 0x%lx ", state->loc); loc 809 arch/arc/kernel/unwind.c const uleb128_t loc = state->loc; loc 822 arch/arc/kernel/unwind.c state->loc = loc; loc 886 arch/arc/kernel/unwind.c if (result && targetLoc != 0 && targetLoc < state->loc) loc 1146 arch/arc/kernel/unwind.c || state.loc > endLoc loc 38 arch/arm/include/asm/module.h u32 get_module_plt(struct module *mod, unsigned long loc, Elf32_Addr val); loc 31 arch/arm/kernel/module-plts.c static bool in_init(const struct module *mod, unsigned long loc) loc 33 arch/arm/kernel/module-plts.c return loc - (u32)mod->init_layout.base < mod->init_layout.size; loc 36 arch/arm/kernel/module-plts.c u32 get_module_plt(struct module *mod, unsigned long loc, Elf32_Addr val) loc 38 arch/arm/kernel/module-plts.c struct mod_plt_sec *pltsec = !in_init(mod, loc) ? &mod->arch.core : loc 76 arch/arm/kernel/module.c unsigned long loc; loc 102 arch/arm/kernel/module.c loc = dstsec->sh_addr + rel->r_offset; loc 111 arch/arm/kernel/module.c *(u32 *)loc += sym->st_value; loc 123 arch/arm/kernel/module.c offset = __mem_to_opcode_arm(*(u32 *)loc); loc 128 arch/arm/kernel/module.c offset += sym->st_value - loc; loc 139 arch/arm/kernel/module.c offset = get_module_plt(module, loc, loc 140 arch/arm/kernel/module.c offset + loc + 8) loc 141 arch/arm/kernel/module.c - loc - 8; loc 147 arch/arm/kernel/module.c ELF32_R_TYPE(rel->r_info), loc, loc 155 arch/arm/kernel/module.c *(u32 *)loc &= __opcode_to_mem_arm(0xff000000); loc 156 arch/arm/kernel/module.c *(u32 *)loc |= __opcode_to_mem_arm(offset); loc 164 arch/arm/kernel/module.c *(u32 *)loc &= __opcode_to_mem_arm(0xf000000f); loc 165 arch/arm/kernel/module.c *(u32 *)loc |= __opcode_to_mem_arm(0x01a0f000); loc 169 arch/arm/kernel/module.c offset = (*(s32 *)loc << 1) >> 1; /* sign extend */ loc 170 arch/arm/kernel/module.c offset += sym->st_value - loc; loc 174 arch/arm/kernel/module.c ELF32_R_TYPE(rel->r_info), loc, loc 178 arch/arm/kernel/module.c *(u32 *)loc &= 0x80000000; loc 179 arch/arm/kernel/module.c *(u32 *)loc |= offset & 0x7fffffff; loc 184 arch/arm/kernel/module.c offset = tmp = __mem_to_opcode_arm(*(u32 *)loc); loc 196 arch/arm/kernel/module.c *(u32 *)loc = __opcode_to_mem_arm(tmp); loc 218 arch/arm/kernel/module.c upper = __mem_to_opcode_thumb16(*(u16 *)loc); loc 219 arch/arm/kernel/module.c lower = __mem_to_opcode_thumb16(*(u16 *)(loc + 2)); loc 243 arch/arm/kernel/module.c offset += sym->st_value - loc; loc 252 arch/arm/kernel/module.c offset = get_module_plt(module, loc, loc 253 arch/arm/kernel/module.c offset + loc + 4) loc 254 arch/arm/kernel/module.c - loc - 4; loc 260 arch/arm/kernel/module.c ELF32_R_TYPE(rel->r_info), loc, loc 274 arch/arm/kernel/module.c *(u16 *)loc = __opcode_to_mem_thumb16(upper); loc 275 arch/arm/kernel/module.c *(u16 *)(loc + 2) = __opcode_to_mem_thumb16(lower); loc 280 arch/arm/kernel/module.c upper = __mem_to_opcode_thumb16(*(u16 *)loc); loc 281 arch/arm/kernel/module.c lower = __mem_to_opcode_thumb16(*(u16 *)(loc + 2)); loc 308 arch/arm/kernel/module.c *(u16 *)loc = __opcode_to_mem_thumb16(upper); loc 309 arch/arm/kernel/module.c *(u16 *)(loc + 2) = __opcode_to_mem_thumb16(lower); loc 29 arch/arm64/include/asm/module.h void *loc, const Elf64_Rela *rela, loc 33 arch/arm64/include/asm/module.h void *loc, u64 val); loc 66 arch/arm64/kernel/module-plts.c static bool in_init(const struct module *mod, void *loc) loc 68 arch/arm64/kernel/module-plts.c return (u64)loc - (u64)mod->init_layout.base < mod->init_layout.size; loc 72 arch/arm64/kernel/module-plts.c void *loc, const Elf64_Rela *rela, loc 75 arch/arm64/kernel/module-plts.c struct mod_plt_sec *pltsec = !in_init(mod, loc) ? &mod->arch.core : loc 104 arch/arm64/kernel/module-plts.c void *loc, u64 val) loc 106 arch/arm64/kernel/module-plts.c struct mod_plt_sec *pltsec = !in_init(mod, loc) ? &mod->arch.core : loc 121 arch/arm64/kernel/module-plts.c le32_to_cpup((__le32 *)loc)); loc 123 arch/arm64/kernel/module-plts.c br = aarch64_insn_gen_branch_imm((u64)&plt[i].br, (u64)loc + 4, loc 265 arch/arm64/kernel/module.c void *loc; loc 271 arch/arm64/kernel/module.c loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr loc 295 arch/arm64/kernel/module.c ovf = reloc_data(RELOC_OP_ABS, loc, val, 64); loc 298 arch/arm64/kernel/module.c ovf = reloc_data(RELOC_OP_ABS, loc, val, 32); loc 301 arch/arm64/kernel/module.c ovf = reloc_data(RELOC_OP_ABS, loc, val, 16); loc 305 arch/arm64/kernel/module.c ovf = reloc_data(RELOC_OP_PREL, loc, val, 64); loc 308 arch/arm64/kernel/module.c ovf = reloc_data(RELOC_OP_PREL, loc, val, 32); loc 311 arch/arm64/kernel/module.c ovf = reloc_data(RELOC_OP_PREL, loc, val, 16); loc 319 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_ABS, loc, val, 0, loc 326 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_ABS, loc, val, 16, loc 333 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_ABS, loc, val, 32, loc 339 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_ABS, loc, val, 48, loc 343 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_ABS, loc, val, 0, loc 347 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_ABS, loc, val, 16, loc 351 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_ABS, loc, val, 32, loc 356 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_PREL, loc, val, 0, loc 360 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_PREL, loc, val, 0, loc 365 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_PREL, loc, val, 16, loc 369 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_PREL, loc, val, 16, loc 374 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_PREL, loc, val, 32, loc 378 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_PREL, loc, val, 32, loc 384 arch/arm64/kernel/module.c ovf = reloc_insn_movw(RELOC_OP_PREL, loc, val, 48, loc 390 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_PREL, loc, val, 2, 19, loc 394 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_PREL, loc, val, 0, 21, loc 401 arch/arm64/kernel/module.c ovf = reloc_insn_adrp(me, sechdrs, loc, val); loc 408 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_ABS, loc, val, 0, 12, loc 413 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_ABS, loc, val, 1, 11, loc 418 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_ABS, loc, val, 2, 10, loc 423 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_ABS, loc, val, 3, 9, loc 428 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_ABS, loc, val, 4, 8, loc 432 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_PREL, loc, val, 2, 14, loc 436 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_PREL, loc, val, 2, 19, loc 441 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_PREL, loc, val, 2, 26, loc 446 arch/arm64/kernel/module.c val = module_emit_plt_entry(me, sechdrs, loc, &rel[i], sym); loc 449 arch/arm64/kernel/module.c ovf = reloc_insn_imm(RELOC_OP_PREL, loc, val, 2, loc 22 arch/h8300/kernel/module.c uint32_t *loc = loc 33 arch/h8300/kernel/module.c loc = (uint32_t *)((uint32_t)loc - 1); loc 34 arch/h8300/kernel/module.c *loc = (*loc & 0xff000000) | ((*loc & 0xffffff) + v); loc 38 arch/h8300/kernel/module.c *loc += v; loc 42 arch/h8300/kernel/module.c *loc += v; loc 45 arch/h8300/kernel/module.c v -= (unsigned long)loc + 2; loc 50 arch/h8300/kernel/module.c *(unsigned short *)loc = v; loc 53 arch/h8300/kernel/module.c v -= (unsigned long)loc + 1; loc 58 arch/h8300/kernel/module.c *(unsigned char *)loc = v; loc 83 arch/ia64/include/asm/unwind.h unsigned long *loc; loc 305 arch/ia64/kernel/unwind.c addr = ireg->loc; loc 1877 arch/ia64/kernel/unwind.c unsigned long loc = (unsigned long)p; loc 1878 arch/ia64/kernel/unwind.c return (loc >= info->regstk.limit && loc < info->regstk.top) || loc 1879 arch/ia64/kernel/unwind.c (loc >= info->memstk.top && loc < info->memstk.limit); loc 181 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t loc:1; loc 185 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t loc:1; loc 195 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t loc:1; loc 199 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t loc:1; loc 211 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t loc:1; loc 215 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t loc:1; loc 229 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t loc:1; loc 233 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t loc:1; loc 245 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t loc:1; loc 249 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t loc:1; loc 29 arch/nds32/kernel/module.c void do_reloc16(unsigned int val, unsigned int *loc, unsigned int val_mask, loc 38 arch/nds32/kernel/module.c "1:\n":"=r"(tmp):"0"(tmp), "r"(loc), "r"(swap) loc 54 arch/nds32/kernel/module.c "r"(loc), "r"(swap) loc 58 arch/nds32/kernel/module.c void do_reloc32(unsigned int val, unsigned int *loc, unsigned int val_mask, loc 68 arch/nds32/kernel/module.c "1:\n":"=r"(tmp):"0"(tmp), "r"(loc), "r"(swap) loc 85 arch/nds32/kernel/module.c "r"(loc), "r"(swap) loc 124 arch/nds32/kernel/module.c Elf32_Addr *loc; loc 147 arch/nds32/kernel/module.c loc = (Elf32_Addr *) (dstsec->sh_addr + rel->r_offset); loc 173 arch/nds32/kernel/module.c do_reloc32(v, loc, 0xffffffff, 0, 0, 0, 0); loc 177 arch/nds32/kernel/module.c do_reloc32(v, loc, 0xfffff000, 12, 0xfff00000, 0, loc 182 arch/nds32/kernel/module.c do_reloc32(v, loc, 0x00000fff, 3, 0xfffff000, 0, loc 187 arch/nds32/kernel/module.c do_reloc32(v, loc, 0x00000fff, 2, 0xfffff000, 0, loc 192 arch/nds32/kernel/module.c do_reloc32(v, loc, 0x00000fff, 1, 0xfffff000, 0, loc 198 arch/nds32/kernel/module.c do_reloc32(v, loc, 0x00000fff, 0, 0xfffff000, 0, loc 204 arch/nds32/kernel/module.c ((v - (Elf32_Addr) loc), 0x000000ff, module, rel, loc 207 arch/nds32/kernel/module.c do_reloc16(v - (Elf32_Addr) loc, loc, 0x000001ff, 1, loc 213 arch/nds32/kernel/module.c ((v - (Elf32_Addr) loc), 0x00003fff, module, rel, loc 216 arch/nds32/kernel/module.c do_reloc32(v - (Elf32_Addr) loc, loc, 0x00007fff, 1, loc 222 arch/nds32/kernel/module.c ((v - (Elf32_Addr) loc), 0x0000ffff, module, rel, loc 225 arch/nds32/kernel/module.c do_reloc32(v - (Elf32_Addr) loc, loc, 0x0001ffff, 1, loc 231 arch/nds32/kernel/module.c ((v - (Elf32_Addr) loc), 0x00ffffff, module, rel, loc 234 arch/nds32/kernel/module.c do_reloc32(v - (Elf32_Addr) loc, loc, 0x01ffffff, 1, loc 239 arch/nds32/kernel/module.c ((v - (Elf32_Addr) loc), 0x000000ff, module, rel, loc 242 arch/nds32/kernel/module.c do_reloc32(v - (Elf32_Addr) loc, loc, 0x000001ff, 1, loc 57 arch/nios2/kernel/module.c uint32_t *loc loc 75 arch/nios2/kernel/module.c *loc += v; loc 78 arch/nios2/kernel/module.c v -= (uint32_t)loc + 4; loc 85 arch/nios2/kernel/module.c word = *loc; loc 86 arch/nios2/kernel/module.c *loc = ((((word >> 22) << 16) | (v & 0xffff)) << 6) | loc 95 arch/nios2/kernel/module.c if ((v >> 28) != ((uint32_t)loc >> 28)) { loc 100 arch/nios2/kernel/module.c *loc = (*loc & 0x3f) | ((v >> 2) << 6); loc 103 arch/nios2/kernel/module.c word = *loc; loc 104 arch/nios2/kernel/module.c *loc = ((((word >> 22) << 16) | loc 108 arch/nios2/kernel/module.c word = *loc; loc 109 arch/nios2/kernel/module.c *loc = ((((word >> 22) << 16) | (v & 0xffff)) << 6) | loc 116 arch/nios2/kernel/module.c word = *loc; loc 118 arch/nios2/kernel/module.c *loc = ((((word >> 22) << 16) | word2) << 6) | loc 81 arch/parisc/kernel/module.c static inline int in_init(struct module *me, void *loc) loc 83 arch/parisc/kernel/module.c return (loc >= me->init_layout.base && loc 84 arch/parisc/kernel/module.c loc <= (me->init_layout.base + me->init_layout.size)); loc 87 arch/parisc/kernel/module.c static inline int in_core(struct module *me, void *loc) loc 89 arch/parisc/kernel/module.c return (loc >= me->core_layout.base && loc 90 arch/parisc/kernel/module.c loc <= (me->core_layout.base + me->core_layout.size)); loc 93 arch/parisc/kernel/module.c static inline int in_local(struct module *me, void *loc) loc 95 arch/parisc/kernel/module.c return in_init(me, loc) || in_core(me, loc); loc 527 arch/parisc/kernel/module.c Elf32_Word *loc; loc 540 arch/parisc/kernel/module.c loc = (void *)sechdrs[targetsec].sh_addr loc 553 arch/parisc/kernel/module.c dot = (Elf32_Addr)loc & ~0x03; loc 562 arch/parisc/kernel/module.c (uint32_t)loc, val, addend, loc 580 arch/parisc/kernel/module.c *loc = fsel(val, addend); loc 584 arch/parisc/kernel/module.c *loc = fsel(val, addend); loc 589 arch/parisc/kernel/module.c *loc = mask(*loc, 21) | reassemble_21(val); loc 594 arch/parisc/kernel/module.c *loc = mask(*loc, 14) | reassemble_14(val); loc 601 arch/parisc/kernel/module.c *loc = fsel(val, addend); loc 605 arch/parisc/kernel/module.c *loc = fsel(val, addend); loc 610 arch/parisc/kernel/module.c *loc = mask(*loc, 21) | reassemble_21(val); loc 615 arch/parisc/kernel/module.c *loc = mask(*loc, 14) | reassemble_14(val); loc 630 arch/parisc/kernel/module.c *loc = (*loc & ~0x1f1ffd) | reassemble_17(val); loc 645 arch/parisc/kernel/module.c *loc = (*loc & ~0x3ff1ffd) | reassemble_22(val); loc 649 arch/parisc/kernel/module.c *loc = val - dot - 8 + addend; loc 672 arch/parisc/kernel/module.c Elf64_Word *loc; loc 684 arch/parisc/kernel/module.c loc = (void *)sechdrs[targetsec].sh_addr loc 697 arch/parisc/kernel/module.c dot = (Elf64_Addr)loc & ~0x03; loc 698 arch/parisc/kernel/module.c loc64 = (Elf64_Xword *)loc; loc 707 arch/parisc/kernel/module.c loc, val, addend, loc 724 arch/parisc/kernel/module.c loc, val); loc 726 arch/parisc/kernel/module.c *loc = mask(*loc, 21) | reassemble_21(val); loc 735 arch/parisc/kernel/module.c loc, val); loc 736 arch/parisc/kernel/module.c *loc = mask(*loc, 14) | reassemble_14(val); loc 742 arch/parisc/kernel/module.c loc, val); loc 773 arch/parisc/kernel/module.c strtab + sym->st_name, loc, sym->st_value, loc 777 arch/parisc/kernel/module.c *loc = (*loc & ~0x3ff1ffd) | reassemble_22(val); loc 781 arch/parisc/kernel/module.c *loc = val - dot - 8 + addend; loc 796 arch/parisc/kernel/module.c *loc = fsel(val, addend); loc 800 arch/parisc/kernel/module.c *loc = fsel(val, addend); loc 815 arch/parisc/kernel/module.c loc, val); loc 117 arch/parisc/kernel/pdt.c struct pdc_pat_mem_phys_mem_location loc; loc 125 arch/parisc/kernel/pdt.c pdc_pat_mem_get_dimm_phys_location(&loc, addr); loc 126 arch/parisc/kernel/pdt.c sprintf(dimm_txt, "DIMM slot %02x, ", loc.dimm_slot); loc 887 arch/powerpc/kernel/eeh_pe.c const char *loc = NULL; loc 897 arch/powerpc/kernel/eeh_pe.c loc = of_get_property(dn, "ibm,io-base-loc-code", NULL); loc 899 arch/powerpc/kernel/eeh_pe.c loc = of_get_property(dn, "ibm,slot-location-code", loc 902 arch/powerpc/kernel/eeh_pe.c if (loc) loc 903 arch/powerpc/kernel/eeh_pe.c return loc; loc 224 arch/powerpc/kernel/rtas-proc.c struct individual_sensor *s, int state, int error, const char *loc); loc 227 arch/powerpc/kernel/rtas-proc.c struct individual_sensor *s, const char *loc); loc 407 arch/powerpc/kernel/rtas-proc.c const char *loc; loc 411 arch/powerpc/kernel/rtas-proc.c loc = of_get_property(rtas_node, rstr, &llen); loc 418 arch/powerpc/kernel/rtas-proc.c ppc_rtas_process_sensor(m, p, state, error, loc); loc 420 arch/powerpc/kernel/rtas-proc.c if (loc) { loc 421 arch/powerpc/kernel/rtas-proc.c offs += strlen(loc) + 1; loc 422 arch/powerpc/kernel/rtas-proc.c loc += strlen(loc) + 1; loc 424 arch/powerpc/kernel/rtas-proc.c loc = NULL; loc 491 arch/powerpc/kernel/rtas-proc.c struct individual_sensor *s, int state, int error, const char *loc) loc 637 arch/powerpc/kernel/rtas-proc.c get_location_code(m, s, loc); loc 695 arch/powerpc/kernel/rtas-proc.c const char *loc) loc 697 arch/powerpc/kernel/rtas-proc.c if (!loc || !*loc) { loc 700 arch/powerpc/kernel/rtas-proc.c check_location_string(m, loc); loc 55 arch/powerpc/platforms/powernv/opal-imc.c static u64 loc, *imc_mode_addr, *imc_cmd_addr; loc 69 arch/powerpc/platforms/powernv/opal-imc.c loc = (u64)(ptr->vbase) + cb_offset; loc 70 arch/powerpc/platforms/powernv/opal-imc.c imc_mode_addr = (u64 *)(loc + IMC_CNTL_BLK_MODE_OFFSET); loc 76 arch/powerpc/platforms/powernv/opal-imc.c imc_cmd_addr = (u64 *)(loc + IMC_CNTL_BLK_CMD_OFFSET); loc 96 arch/s390/boot/startup.c Elf64_Addr loc, val; loc 103 arch/s390/boot/startup.c loc = rela->r_offset + offset; loc 117 arch/s390/boot/startup.c rc = arch_kexec_do_relocs(r_type, (void *) loc, val, 0); loc 74 arch/s390/include/asm/kexec.h int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val, loc 279 arch/s390/kernel/machine_kexec_file.c void *loc; /* tmp location to modify */ loc 294 arch/s390/kernel/machine_kexec_file.c loc = pi->purgatory_buf; loc 295 arch/s390/kernel/machine_kexec_file.c loc += section->sh_offset; loc 296 arch/s390/kernel/machine_kexec_file.c loc += relas[i].r_offset; loc 306 arch/s390/kernel/machine_kexec_file.c arch_kexec_do_relocs(r_type, loc, val, addr); loc 5 arch/s390/kernel/machine_kexec_reloc.c int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val, loc 12 arch/s390/kernel/machine_kexec_reloc.c *(u8 *)loc = val; loc 15 arch/s390/kernel/machine_kexec_reloc.c *(u16 *)loc &= 0xf000; loc 16 arch/s390/kernel/machine_kexec_reloc.c *(u16 *)loc |= val & 0xfff; loc 19 arch/s390/kernel/machine_kexec_reloc.c *(u16 *)loc = val; loc 22 arch/s390/kernel/machine_kexec_reloc.c *(u32 *)loc &= 0xf00000ff; loc 23 arch/s390/kernel/machine_kexec_reloc.c *(u32 *)loc |= (val & 0xfff) << 16; /* DL */ loc 24 arch/s390/kernel/machine_kexec_reloc.c *(u32 *)loc |= (val & 0xff000) >> 4; /* DH */ loc 27 arch/s390/kernel/machine_kexec_reloc.c *(u32 *)loc = val; loc 32 arch/s390/kernel/machine_kexec_reloc.c *(u64 *)loc = val; loc 35 arch/s390/kernel/machine_kexec_reloc.c *(u16 *)loc = (val - addr); loc 38 arch/s390/kernel/machine_kexec_reloc.c *(u16 *)loc = (val - addr) >> 1; loc 41 arch/s390/kernel/machine_kexec_reloc.c *(u32 *)loc = (val - addr) >> 1; loc 44 arch/s390/kernel/machine_kexec_reloc.c *(u32 *)loc = (val - addr); loc 47 arch/s390/kernel/machine_kexec_reloc.c *(u64 *)loc = (val - addr); loc 50 arch/s390/kernel/machine_kexec_reloc.c *(unsigned long *) loc = val; loc 176 arch/s390/kernel/module.c static int apply_rela_bits(Elf_Addr loc, Elf_Addr val, loc 198 arch/s390/kernel/module.c *(unsigned char *) loc = val; loc 200 arch/s390/kernel/module.c *(unsigned short *) loc = (val & 0xfff) | loc 201 arch/s390/kernel/module.c (*(unsigned short *) loc & 0xf000); loc 203 arch/s390/kernel/module.c *(unsigned short *) loc = val; loc 205 arch/s390/kernel/module.c *(unsigned int *) loc = (val & 0xfff) << 16 | loc 207 arch/s390/kernel/module.c (*(unsigned int *) loc & 0xf00000ff); loc 209 arch/s390/kernel/module.c *(unsigned int *) loc = val; loc 211 arch/s390/kernel/module.c *(unsigned long *) loc = val; loc 219 arch/s390/kernel/module.c Elf_Addr loc, val; loc 224 arch/s390/kernel/module.c loc = base + rela->r_offset; loc 244 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 8, 0); loc 246 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 12, 0); loc 248 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 16, 0); loc 250 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 20, 0); loc 252 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 32, 0); loc 254 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 64, 0); loc 261 arch/s390/kernel/module.c val += rela->r_addend - loc; loc 263 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 16, 0); loc 265 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 16, 1); loc 267 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 32, 1); loc 269 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 32, 0); loc 271 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 64, 0); loc 296 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 12, 0); loc 299 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 16, 0); loc 302 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 20, 0); loc 305 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 32, 0); loc 308 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 64, 0); loc 311 arch/s390/kernel/module.c val += (Elf_Addr) me->core_layout.base - loc; loc 312 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 32, 1); loc 351 arch/s390/kernel/module.c val - loc + 0xffffUL < 0x1ffffeUL) || loc 353 arch/s390/kernel/module.c val - loc + 0xffffffffULL < 0x1fffffffeULL))) loc 357 arch/s390/kernel/module.c val += rela->r_addend - loc; loc 360 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 16, 1); loc 362 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 16, 0); loc 364 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 32, 1); loc 367 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 32, 0); loc 370 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 64, 0); loc 378 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 16, 0); loc 380 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 32, 0); loc 382 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 0, 64, 0); loc 387 arch/s390/kernel/module.c rela->r_addend - loc; loc 389 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 32, 0); loc 391 arch/s390/kernel/module.c rc = apply_rela_bits(loc, val, 1, 32, 1); loc 141 arch/um/os-Linux/process.c void *loc; loc 147 arch/um/os-Linux/process.c loc = mmap64((void *) virt, len, prot, MAP_SHARED | MAP_FIXED, loc 149 arch/um/os-Linux/process.c if (loc == MAP_FAILED) loc 40 arch/unicore32/kernel/module.c unsigned long loc; loc 64 arch/unicore32/kernel/module.c loc = dstsec->sh_addr + rel->r_offset; loc 72 arch/unicore32/kernel/module.c *(u32 *)loc += sym->st_value; loc 78 arch/unicore32/kernel/module.c offset = (*(u32 *)loc & 0x00ffffff) << 2; loc 82 arch/unicore32/kernel/module.c offset += sym->st_value - loc; loc 95 arch/unicore32/kernel/module.c *(u32 *)loc &= 0xff000000; loc 96 arch/unicore32/kernel/module.c *(u32 *)loc |= offset & 0x00ffffff; loc 138 arch/x86/kernel/module.c void *loc; loc 145 arch/x86/kernel/module.c loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr loc 155 arch/x86/kernel/module.c sym->st_value, rel[i].r_addend, (u64)loc); loc 163 arch/x86/kernel/module.c if (*(u64 *)loc != 0) loc 165 arch/x86/kernel/module.c *(u64 *)loc = val; loc 168 arch/x86/kernel/module.c if (*(u32 *)loc != 0) loc 170 arch/x86/kernel/module.c *(u32 *)loc = val; loc 171 arch/x86/kernel/module.c if (val != *(u32 *)loc) loc 175 arch/x86/kernel/module.c if (*(s32 *)loc != 0) loc 177 arch/x86/kernel/module.c *(s32 *)loc = val; loc 178 arch/x86/kernel/module.c if ((s64)val != *(s32 *)loc) loc 183 arch/x86/kernel/module.c if (*(u32 *)loc != 0) loc 185 arch/x86/kernel/module.c val -= (u64)loc; loc 186 arch/x86/kernel/module.c *(u32 *)loc = val; loc 188 arch/x86/kernel/module.c if ((s64)val != *(s32 *)loc) loc 193 arch/x86/kernel/module.c if (*(u64 *)loc != 0) loc 195 arch/x86/kernel/module.c val -= (u64)loc; loc 196 arch/x86/kernel/module.c *(u64 *)loc = val; loc 208 arch/x86/kernel/module.c (int)ELF64_R_TYPE(rel[i].r_info), loc, val); loc 218 arch/x86/kvm/vmx/vmcs12.h #define CHECK_OFFSET(field, loc) \ loc 219 arch/x86/kvm/vmx/vmcs12.h BUILD_BUG_ON_MSG(offsetof(struct vmcs12, field) != (loc), \ loc 227 drivers/acpi/hmat/hmat.c struct memory_locality *loc; loc 229 drivers/acpi/hmat/hmat.c loc = kzalloc(sizeof(*loc), GFP_KERNEL); loc 230 drivers/acpi/hmat/hmat.c if (!loc) { loc 235 drivers/acpi/hmat/hmat.c loc->hmat_loc = hmat_loc; loc 236 drivers/acpi/hmat/hmat.c list_add_tail(&loc->node, &localities); loc 240 drivers/acpi/hmat/hmat.c localities_types[READ_LATENCY] = loc; loc 241 drivers/acpi/hmat/hmat.c localities_types[WRITE_LATENCY] = loc; loc 244 drivers/acpi/hmat/hmat.c localities_types[READ_LATENCY] = loc; loc 247 drivers/acpi/hmat/hmat.c localities_types[WRITE_LATENCY] = loc; loc 250 drivers/acpi/hmat/hmat.c localities_types[READ_BANDWIDTH] = loc; loc 251 drivers/acpi/hmat/hmat.c localities_types[WRITE_BANDWIDTH] = loc; loc 254 drivers/acpi/hmat/hmat.c localities_types[READ_BANDWIDTH] = loc; loc 257 drivers/acpi/hmat/hmat.c localities_types[WRITE_BANDWIDTH] = loc; loc 546 drivers/acpi/hmat/hmat.c struct memory_locality *loc = NULL; loc 574 drivers/acpi/hmat/hmat.c loc = localities_types[i]; loc 575 drivers/acpi/hmat/hmat.c if (!loc) loc 585 drivers/acpi/hmat/hmat.c value = hmat_initiator_perf(target, initiator, loc->hmat_loc); loc 586 drivers/acpi/hmat/hmat.c if (hmat_update_best(loc->hmat_loc->data_type, value, &best)) loc 592 drivers/acpi/hmat/hmat.c hmat_update_target_access(target, loc->hmat_loc->data_type, best); loc 675 drivers/acpi/hmat/hmat.c struct memory_locality *loc, *lnext; loc 693 drivers/acpi/hmat/hmat.c list_for_each_entry_safe(loc, lnext, &localities, node) { loc 694 drivers/acpi/hmat/hmat.c list_del(&loc->node); loc 695 drivers/acpi/hmat/hmat.c kfree(loc); loc 132 drivers/char/applicom.c static int ac_register_board(unsigned long physloc, void __iomem *loc, loc 137 drivers/char/applicom.c if((readb(loc + CONF_END_TEST) != 0x00) || loc 138 drivers/char/applicom.c (readb(loc + CONF_END_TEST + 1) != 0x55) || loc 139 drivers/char/applicom.c (readb(loc + CONF_END_TEST + 2) != 0xAA) || loc 140 drivers/char/applicom.c (readb(loc + CONF_END_TEST + 3) != 0xFF)) loc 144 drivers/char/applicom.c boardno = readb(loc + NUMCARD_OWNER_TO_PC); loc 161 drivers/char/applicom.c apbs[boardno].RamIO = loc; loc 164 drivers/char/applicom.c byte_reset_it = readb(loc + RAM_IT_TO_PC); loc 217 drivers/char/tpm/tpm_crb.c struct crb_priv *priv, int loc) loc 235 drivers/char/tpm/tpm_crb.c static int crb_request_locality(struct tpm_chip *chip, int loc) loc 239 drivers/char/tpm/tpm_crb.c return __crb_request_locality(&chip->dev, priv, loc); loc 243 drivers/char/tpm/tpm_crb.c struct crb_priv *priv, int loc) loc 262 drivers/char/tpm/tpm_crb.c static int crb_relinquish_locality(struct tpm_chip *chip, int loc) loc 266 drivers/char/tpm/tpm_crb.c return __crb_relinquish_locality(&chip->dev, priv, loc); loc 312 drivers/char/tpm/tpm_i2c_infineon.c static bool check_locality(struct tpm_chip *chip, int loc) loc 317 drivers/char/tpm/tpm_i2c_infineon.c rc = iic_tpm_read(TPM_ACCESS(loc), &buf, 1); loc 323 drivers/char/tpm/tpm_i2c_infineon.c tpm_dev.locality = loc; loc 331 drivers/char/tpm/tpm_i2c_infineon.c static void release_locality(struct tpm_chip *chip, int loc, int force) loc 334 drivers/char/tpm/tpm_i2c_infineon.c if (iic_tpm_read(TPM_ACCESS(loc), &buf, 1) < 0) loc 340 drivers/char/tpm/tpm_i2c_infineon.c iic_tpm_write(TPM_ACCESS(loc), &buf, 1); loc 344 drivers/char/tpm/tpm_i2c_infineon.c static int request_locality(struct tpm_chip *chip, int loc) loc 349 drivers/char/tpm/tpm_i2c_infineon.c if (check_locality(chip, loc)) loc 350 drivers/char/tpm/tpm_i2c_infineon.c return loc; loc 352 drivers/char/tpm/tpm_i2c_infineon.c iic_tpm_write(TPM_ACCESS(loc), &buf, 1); loc 357 drivers/char/tpm/tpm_i2c_infineon.c if (check_locality(chip, loc)) loc 358 drivers/char/tpm/tpm_i2c_infineon.c return loc; loc 502 drivers/cpufreq/pmac64-cpufreq.c const char *loc = of_get_property(hwclock, loc 504 drivers/cpufreq/pmac64-cpufreq.c if (loc == NULL) loc 506 drivers/cpufreq/pmac64-cpufreq.c if (strcmp(loc, "CPU CLOCK")) loc 301 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c struct vmw_ctx_bindinfo *loc = loc 305 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c if (loc->ctx != NULL) loc 306 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_binding_drop(loc); loc 308 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c memcpy(loc, bi, b->size); loc 309 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c loc->scrubbed = false; loc 310 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c list_add(&loc->ctx_list, &cbs->list); loc 311 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c INIT_LIST_HEAD(&loc->res_list); loc 326 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c struct vmw_ctx_bindinfo *loc = (struct vmw_ctx_bindinfo *) loc 329 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c if (loc->ctx != NULL) { loc 332 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_binding_drop(loc); loc 336 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c memcpy(loc, bi, vmw_binding_infos[bi->bt].size); loc 337 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c list_add_tail(&loc->ctx_list, &cbs->list); loc 338 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c list_add_tail(&loc->res_list, &loc->res->binding_head); loc 740 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *loc = loc 749 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_collect_dirty_view_ids(cbs, loc, loc 782 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *loc = &cbs->render_targets[0].bi; loc 790 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_collect_view_ids(cbs, loc, SVGA3D_MAX_SIMULTANEOUS_RENDER_TARGETS); loc 863 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *loc = &cbs->so_targets[0].bi; loc 871 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_collect_so_targets(cbs, loc, SVGA3D_DX_MAX_SOTARGETS); loc 975 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *loc = loc 984 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_collect_dirty_vbs(cbs, loc, cbs->dirty_vb, loc 195 drivers/iio/accel/cros_ec_accel_legacy.c if (state->loc == MOTIONSENSE_LOC_LID) { loc 791 drivers/iio/adc/max1363.c unsigned long mask, loc; loc 798 drivers/iio/adc/max1363.c for_each_set_bit(loc, &mask, 8) loc 799 drivers/iio/adc/max1363.c iio_push_event(indio_dev, max1363_event_codes[loc], timestamp); loc 135 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c state->loc = state->resp->info.location; loc 229 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c return snprintf(buf, PAGE_SIZE, "%s\n", cros_ec_loc[st->loc]); loc 194 drivers/iio/light/cros_ec_light_prox.c state->core.loc = state->core.resp->info.location; loc 145 drivers/iio/pressure/cros_ec_baro.c state->core.loc = state->core.resp->info.location; loc 2219 drivers/infiniband/hw/i40iw/i40iw_cm.c __be32 loc[4] = { loc 2227 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_seq_num = secure_tcpv6_seq(loc, rem, loc 221 drivers/infiniband/hw/mthca/mthca_mcg.c int i, loc; loc 241 drivers/infiniband/hw/mthca/mthca_mcg.c for (loc = -1, i = 0; i < MTHCA_QP_PER_MGM; ++i) { loc 243 drivers/infiniband/hw/mthca/mthca_mcg.c loc = i; loc 248 drivers/infiniband/hw/mthca/mthca_mcg.c if (loc == -1) { loc 254 drivers/infiniband/hw/mthca/mthca_mcg.c mgm->qp[loc] = mgm->qp[i - 1]; loc 98 drivers/infiniband/hw/qib/qib_sd7220.c static int qib_sd7220_reg_mod(struct qib_devdata *dd, int sdnum, u32 loc, loc 100 drivers/infiniband/hw/qib/qib_sd7220.c static int ibsd_mod_allchnls(struct qib_devdata *dd, int loc, int val, loc 178 drivers/infiniband/hw/qib/qib_sd7220.c u32 loc; loc 183 drivers/infiniband/hw/qib/qib_sd7220.c loc = IB_PGUDP(chn); loc 184 drivers/infiniband/hw/qib/qib_sd7220.c ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, 0, 0); loc 192 drivers/infiniband/hw/qib/qib_sd7220.c ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, pat, 0xFF); loc 197 drivers/infiniband/hw/qib/qib_sd7220.c ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, 0, 0); loc 206 drivers/infiniband/hw/qib/qib_sd7220.c loc = IB_CMUDONE(chn); loc 207 drivers/infiniband/hw/qib/qib_sd7220.c ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, 0, 0); loc 656 drivers/infiniband/hw/qib/qib_sd7220.c static int qib_sd7220_reg_mod(struct qib_devdata *dd, int sdnum, u32 loc, loc 705 drivers/infiniband/hw/qib/qib_sd7220.c transval = loc | EPB_RD; loc 713 drivers/infiniband/hw/qib/qib_sd7220.c transval = loc | (wd & EPB_DATA_MASK); loc 746 drivers/infiniband/hw/qib/qib_sd7220.c static int qib_sd7220_ram_xfer(struct qib_devdata *dd, int sdnum, u32 loc, loc 792 drivers/infiniband/hw/qib/qib_sd7220.c addr = loc & 0x1FFF; loc 1127 drivers/infiniband/hw/qib/qib_sd7220.c static int ibsd_mod_allchnls(struct qib_devdata *dd, int loc, int val, loc 1133 drivers/infiniband/hw/qib/qib_sd7220.c if (loc & EPB_GLOBAL_WR) { loc 1140 drivers/infiniband/hw/qib/qib_sd7220.c loc |= (1U << EPB_IB_QUAD0_CS_SHF); loc 1141 drivers/infiniband/hw/qib/qib_sd7220.c chnl = (loc >> (4 + EPB_ADDR_SHF)) & 7; loc 1144 drivers/infiniband/hw/qib/qib_sd7220.c loc & ~EPB_GLOBAL_WR, 0, 0); loc 1146 drivers/infiniband/hw/qib/qib_sd7220.c int sloc = loc >> EPB_ADDR_SHF; loc 1156 drivers/infiniband/hw/qib/qib_sd7220.c loc &= ~(7 << (4+EPB_ADDR_SHF)); loc 1157 drivers/infiniband/hw/qib/qib_sd7220.c ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, val, 0xFF); loc 1159 drivers/infiniband/hw/qib/qib_sd7220.c int sloc = loc >> EPB_ADDR_SHF; loc 1168 drivers/infiniband/hw/qib/qib_sd7220.c loc &= ~(7 << (4+EPB_ADDR_SHF)); loc 1169 drivers/infiniband/hw/qib/qib_sd7220.c loc |= (1U << EPB_IB_QUAD0_CS_SHF); loc 1171 drivers/infiniband/hw/qib/qib_sd7220.c int cloc = loc | (chnl << (4+EPB_ADDR_SHF)); loc 1175 drivers/infiniband/hw/qib/qib_sd7220.c int sloc = loc >> EPB_ADDR_SHF; loc 1221 drivers/infiniband/hw/qib/qib_sd7220.c int elt, reg, val, loc; loc 1225 drivers/infiniband/hw/qib/qib_sd7220.c loc = EPB_LOC(0, elt, reg); loc 1228 drivers/infiniband/hw/qib/qib_sd7220.c ret = ibsd_mod_allchnls(dd, loc, val, 0xFF); loc 1282 drivers/infiniband/hw/qib/qib_sd7220.c int loc = CMUCTRL5 | (1U << EPB_IB_QUAD0_CS_SHF); loc 1284 drivers/infiniband/hw/qib/qib_sd7220.c return qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, val, 0xFF); loc 1347 drivers/infiniband/hw/qib/qib_sd7220.c int loc = RXLSPPM(0) | EPB_GLOBAL_WR; loc 1350 drivers/infiniband/hw/qib/qib_sd7220.c ret = ibsd_mod_allchnls(dd, loc, 0, 0x80); loc 1355 drivers/infiniband/hw/qib/qib_sd7220.c ibsd_mod_allchnls(dd, loc, 0x80, 0x80); loc 1359 drivers/infiniband/hw/qib/qib_sd7220.c ret = ibsd_mod_allchnls(dd, loc, 0, 0x80); loc 1364 drivers/infiniband/hw/qib/qib_sd7220.c ibsd_mod_allchnls(dd, loc, 0x80, 0x80); loc 50 drivers/input/mouse/trackpoint.c static int trackpoint_read(struct ps2dev *ps2dev, u8 loc, u8 *results) loc 52 drivers/input/mouse/trackpoint.c results[0] = loc; loc 57 drivers/input/mouse/trackpoint.c static int trackpoint_write(struct ps2dev *ps2dev, u8 loc, u8 val) loc 59 drivers/input/mouse/trackpoint.c u8 param[3] = { TP_WRITE_MEM, loc, val }; loc 64 drivers/input/mouse/trackpoint.c static int trackpoint_toggle_bit(struct ps2dev *ps2dev, u8 loc, u8 mask) loc 66 drivers/input/mouse/trackpoint.c u8 param[3] = { TP_TOGGLE, loc, mask }; loc 69 drivers/input/mouse/trackpoint.c if (loc < 0x20 || loc >= 0x2F) loc 76 drivers/input/mouse/trackpoint.c u8 loc, u8 mask, u8 value) loc 81 drivers/input/mouse/trackpoint.c retval = trackpoint_read(ps2dev, loc, &data); loc 86 drivers/input/mouse/trackpoint.c retval = trackpoint_toggle_bit(ps2dev, loc, mask); loc 425 drivers/input/touchscreen/cyttsp4_core.c tch->ofs = tch_old->loc & CY_BYTE_OFS_MASK; loc 428 drivers/input/touchscreen/cyttsp4_core.c tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; loc 442 drivers/input/touchscreen/cyttsp4_core.c tch->ofs = tch_new->loc & CY_BYTE_OFS_MASK; loc 445 drivers/input/touchscreen/cyttsp4_core.c tch->bofs = (tch_new->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; loc 171 drivers/input/touchscreen/cyttsp4_core.h u8 loc; loc 237 drivers/macintosh/windfarm_ad7417_sensor.c const char *loc; loc 240 drivers/macintosh/windfarm_ad7417_sensor.c loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); loc 241 drivers/macintosh/windfarm_ad7417_sensor.c if (!loc) { loc 250 drivers/macintosh/windfarm_ad7417_sensor.c if (!strncmp(loc, "CPU A", 5)) loc 252 drivers/macintosh/windfarm_ad7417_sensor.c else if (!strncmp(loc, "CPU B", 5)) loc 255 drivers/macintosh/windfarm_ad7417_sensor.c pr_err("wf_ad7417: Can't identify location %s\n", loc); loc 434 drivers/macintosh/windfarm_fcu_controls.c const char *loc; loc 452 drivers/macintosh/windfarm_fcu_controls.c loc = of_get_property(np, "location", NULL); loc 454 drivers/macintosh/windfarm_fcu_controls.c if (loc == NULL || reg == NULL) loc 456 drivers/macintosh/windfarm_fcu_controls.c DBG(" matching location: %s, reg: 0x%08x\n", loc, *reg); loc 459 drivers/macintosh/windfarm_fcu_controls.c if (strncmp(loc, loc_trans[i].dt_name, loc 96 drivers/macintosh/windfarm_lm75_sensor.c const char *name, *loc; loc 106 drivers/macintosh/windfarm_lm75_sensor.c loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); loc 107 drivers/macintosh/windfarm_lm75_sensor.c if (!loc) { loc 116 drivers/macintosh/windfarm_lm75_sensor.c if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY")) loc 118 drivers/macintosh/windfarm_lm75_sensor.c else if (!strcmp(loc, "Incoming Air Temp")) loc 120 drivers/macintosh/windfarm_lm75_sensor.c else if (!strcmp(loc, "ODD Temp")) loc 122 drivers/macintosh/windfarm_lm75_sensor.c else if (!strcmp(loc, "HD Temp")) loc 124 drivers/macintosh/windfarm_lm75_sensor.c else if (!strcmp(loc, "PCI SLOTS")) loc 126 drivers/macintosh/windfarm_lm75_sensor.c else if (!strcmp(loc, "CPU A INLET")) loc 128 drivers/macintosh/windfarm_lm75_sensor.c else if (!strcmp(loc, "CPU B INLET")) loc 102 drivers/macintosh/windfarm_lm87_sensor.c const char *name = NULL, *loc; loc 114 drivers/macintosh/windfarm_lm87_sensor.c loc = of_get_property(np, "location", NULL); loc 115 drivers/macintosh/windfarm_lm87_sensor.c if (!loc) loc 117 drivers/macintosh/windfarm_lm87_sensor.c if (strstr(loc, "DIMM")) loc 119 drivers/macintosh/windfarm_lm87_sensor.c else if (strstr(loc, "Processors")) loc 66 drivers/macintosh/windfarm_max6690_sensor.c const char *name, *loc; loc 70 drivers/macintosh/windfarm_max6690_sensor.c loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); loc 71 drivers/macintosh/windfarm_max6690_sensor.c if (!loc) { loc 80 drivers/macintosh/windfarm_max6690_sensor.c if (!strcmp(loc, "BACKSIDE") || !strcmp(loc, "SYS CTRLR AMBIENT")) loc 82 drivers/macintosh/windfarm_max6690_sensor.c else if (!strcmp(loc, "NB Ambient")) loc 84 drivers/macintosh/windfarm_max6690_sensor.c else if (!strcmp(loc, "GPU Ambient")) loc 199 drivers/macintosh/windfarm_smu_sat.c const char *loc; loc 222 drivers/macintosh/windfarm_smu_sat.c loc = of_get_property(child, "location", NULL); loc 223 drivers/macintosh/windfarm_smu_sat.c if (reg == NULL || loc == NULL) loc 232 drivers/macintosh/windfarm_smu_sat.c if (strncmp(loc, "CPU ", 4) != 0) loc 234 drivers/macintosh/windfarm_smu_sat.c chip = loc[4] - 'A'; loc 235 drivers/macintosh/windfarm_smu_sat.c core = loc[5] - '0'; loc 238 drivers/macintosh/windfarm_smu_sat.c "location %s for %pOF\n", loc, child); loc 246 drivers/macintosh/windfarm_smu_sat.c "multiple CPU chips on one SAT (%s)\n", loc); loc 71 drivers/media/cec/cec-adap.c unsigned int loc = cec_get_edid_spa_location(edid, size); loc 74 drivers/media/cec/cec-adap.c *offset = loc; loc 75 drivers/media/cec/cec-adap.c if (loc == 0) loc 77 drivers/media/cec/cec-adap.c return (edid[loc] << 8) | edid[loc + 1]; loc 94 drivers/media/pci/solo6x10/solo6x10-eeprom.c __be16 solo_eeprom_read(struct solo_dev *solo_dev, int loc) loc 96 drivers/media/pci/solo6x10/solo6x10-eeprom.c int read_cmd = loc | (EE_READ_CMD << ADDR_LEN); loc 114 drivers/media/pci/solo6x10/solo6x10-eeprom.c int solo_eeprom_write(struct solo_dev *solo_dev, int loc, loc 117 drivers/media/pci/solo6x10/solo6x10-eeprom.c int write_cmd = loc | (EE_WRITE_CMD << ADDR_LEN); loc 369 drivers/media/pci/solo6x10/solo6x10.h __be16 solo_eeprom_read(struct solo_dev *solo_dev, int loc); loc 370 drivers/media/pci/solo6x10/solo6x10.h int solo_eeprom_write(struct solo_dev *solo_dev, int loc, loc 1000 drivers/media/v4l2-core/v4l2-dv-timings.c unsigned int loc = cec_get_edid_spa_location(edid, size); loc 1003 drivers/media/v4l2-core/v4l2-dv-timings.c *offset = loc; loc 1004 drivers/media/v4l2-core/v4l2-dv-timings.c if (loc == 0) loc 1006 drivers/media/v4l2-core/v4l2-dv-timings.c return (edid[loc] << 8) | edid[loc + 1]; loc 1024 drivers/media/v4l2-core/v4l2-dv-timings.c unsigned int loc = cec_get_edid_spa_location(edid, size); loc 1028 drivers/media/v4l2-core/v4l2-dv-timings.c if (loc == 0) loc 1030 drivers/media/v4l2-core/v4l2-dv-timings.c edid[loc] = phys_addr >> 8; loc 1031 drivers/media/v4l2-core/v4l2-dv-timings.c edid[loc + 1] = phys_addr & 0xff; loc 1032 drivers/media/v4l2-core/v4l2-dv-timings.c loc &= ~0x7f; loc 1035 drivers/media/v4l2-core/v4l2-dv-timings.c for (i = loc; i < loc + 127; i++) loc 2314 drivers/mfd/ab8500-debugfs.c struct hwreg_cfg loc = { loc 2341 drivers/mfd/ab8500-debugfs.c loc.fmt |= (1<<0); loc 2345 drivers/mfd/ab8500-debugfs.c loc.fmt &= ~(1<<0); loc 2351 drivers/mfd/ab8500-debugfs.c ret = kstrtoul(b, 0, &loc.mask); loc 2359 drivers/mfd/ab8500-debugfs.c ret = kstrtol(b, 0, &loc.shift); loc 2369 drivers/mfd/ab8500-debugfs.c ret = kstrtouint(b, 0, &loc.bank); loc 2376 drivers/mfd/ab8500-debugfs.c ret = kstrtoul(b, 0, &loc.addr); loc 2391 drivers/mfd/ab8500-debugfs.c *cfg = loc; loc 447 drivers/mmc/host/dw_mmc-exynos.c s8 i, loc = -1; loc 452 drivers/mmc/host/dw_mmc-exynos.c loc = i; loc 460 drivers/mmc/host/dw_mmc-exynos.c loc = i; loc 466 drivers/mmc/host/dw_mmc-exynos.c return loc; loc 1882 drivers/net/dsa/b53/b53_common.c u16 reg, loc; loc 1885 drivers/net/dsa/b53/b53_common.c loc = B53_IG_MIR_CTL; loc 1887 drivers/net/dsa/b53/b53_common.c loc = B53_EG_MIR_CTL; loc 1889 drivers/net/dsa/b53/b53_common.c b53_read16(dev, B53_MGMT_PAGE, loc, ®); loc 1891 drivers/net/dsa/b53/b53_common.c b53_write16(dev, B53_MGMT_PAGE, loc, reg); loc 1908 drivers/net/dsa/b53/b53_common.c u16 reg, loc; loc 1911 drivers/net/dsa/b53/b53_common.c loc = B53_IG_MIR_CTL; loc 1913 drivers/net/dsa/b53/b53_common.c loc = B53_EG_MIR_CTL; loc 1916 drivers/net/dsa/b53/b53_common.c b53_read16(dev, B53_MGMT_PAGE, loc, ®); loc 1920 drivers/net/dsa/b53/b53_common.c b53_write16(dev, B53_MGMT_PAGE, loc, reg); loc 915 drivers/net/dsa/bcm_sf2_cfp.c u32 loc, u32 *next_loc) loc 921 drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_rule_addr_set(priv, loc); loc 945 drivers/net/dsa/bcm_sf2_cfp.c clear_bit(loc, priv->cfp.used); loc 946 drivers/net/dsa/bcm_sf2_cfp.c clear_bit(loc, priv->cfp.unique); loc 952 drivers/net/dsa/bcm_sf2_cfp.c u32 loc) loc 957 drivers/net/dsa/bcm_sf2_cfp.c ret = bcm_sf2_cfp_rule_del_one(priv, port, loc, &next_loc); loc 968 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_rule_del(struct bcm_sf2_priv *priv, int port, u32 loc) loc 973 drivers/net/dsa/bcm_sf2_cfp.c if (loc > bcm_sf2_cfp_rule_size(priv)) loc 980 drivers/net/dsa/bcm_sf2_cfp.c if (!test_bit(loc, priv->cfp.unique) || loc == 0) loc 983 drivers/net/dsa/bcm_sf2_cfp.c rule = bcm_sf2_cfp_rule_find(priv, port, loc); loc 987 drivers/net/dsa/bcm_sf2_cfp.c ret = bcm_sf2_cfp_rule_remove(priv, port, loc); loc 91 drivers/net/ethernet/8390/axnet_cs.c static int mdio_read(unsigned int addr, int phy_id, int loc); loc 92 drivers/net/ethernet/8390/axnet_cs.c static void mdio_write(unsigned int addr, int phy_id, int loc, int value); loc 426 drivers/net/ethernet/8390/axnet_cs.c static int mdio_read(unsigned int addr, int phy_id, int loc) loc 428 drivers/net/ethernet/8390/axnet_cs.c u_int cmd = (0xf6<<10)|(phy_id<<5)|loc; loc 445 drivers/net/ethernet/8390/axnet_cs.c static void mdio_write(unsigned int addr, int phy_id, int loc, int value) loc 447 drivers/net/ethernet/8390/axnet_cs.c u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value; loc 706 drivers/net/ethernet/8390/pcnet_cs.c static int mdio_read(unsigned int addr, int phy_id, int loc) loc 708 drivers/net/ethernet/8390/pcnet_cs.c u_int cmd = (0x06<<10)|(phy_id<<5)|loc; loc 725 drivers/net/ethernet/8390/pcnet_cs.c static void mdio_write(unsigned int addr, int phy_id, int loc, int value) loc 727 drivers/net/ethernet/8390/pcnet_cs.c u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value; loc 3767 drivers/net/ethernet/broadcom/bnx2.c rv2p_fw_fixup(u32 rv2p_proc, int idx, u32 loc, u32 rv2p_code) loc 3812 drivers/net/ethernet/broadcom/bnx2.c u32 loc, code; loc 3814 drivers/net/ethernet/broadcom/bnx2.c loc = be32_to_cpu(fw_entry->fixup[i]); loc 3815 drivers/net/ethernet/broadcom/bnx2.c if (loc && ((loc * 4) < rv2p_code_len)) { loc 3816 drivers/net/ethernet/broadcom/bnx2.c code = be32_to_cpu(*(rv2p_code + loc - 1)); loc 3818 drivers/net/ethernet/broadcom/bnx2.c code = be32_to_cpu(*(rv2p_code + loc)); loc 3819 drivers/net/ethernet/broadcom/bnx2.c code = rv2p_fw_fixup(rv2p_proc, i, loc, code); loc 3822 drivers/net/ethernet/broadcom/bnx2.c val = (loc / 2) | cmd; loc 761 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c octnet_mdio45_access(struct lio *lio, int op, int loc, int *value) loc 781 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c mdio_cmd->mdio_addr = loc; loc 765 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->loc.bus = bus; loc 766 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->loc.dev = dev; loc 767 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->loc.func = func; loc 789 drivers/net/ethernet/cavium/liquidio/octeon_device.c if ((octeon_device[idx]->loc.bus == bus) && loc 790 drivers/net/ethernet/cavium/liquidio/octeon_device.c (octeon_device[idx]->loc.dev == dev)) { loc 804 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->loc.bus, oct->loc.dev, oct->loc.func, refcount); loc 821 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->loc.bus, oct->loc.dev, oct->loc.func, refcount); loc 598 drivers/net/ethernet/cavium/liquidio/octeon_device.h } loc; loc 1353 drivers/net/ethernet/freescale/gianfar_ethtool.c static int gfar_del_cls(struct gfar_private *priv, u32 loc) loc 1362 drivers/net/ethernet/freescale/gianfar_ethtool.c if (comp->fs.location == loc) { loc 876 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c bool sel_x, u32 loc) loc 897 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c req1->index = cpu_to_le32(loc); loc 904 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c sel_x ? "x" : "y", loc); loc 4805 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int loc, u8 *key, bool is_add) loc 4826 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c req1->index = cpu_to_le32(loc); loc 4846 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_fd_ad_config(struct hclge_dev *hdev, u8 stage, int loc, loc 4857 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c req->index = cpu_to_le32(loc); loc 9169 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 loc = cls->knode.handle & 0xfffff; loc 9173 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (loc > IXGBE_MAX_HW_ENTRIES) loc 9184 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!test_bit(loc - 1, jump->child_loc_map)) loc 9186 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c clear_bit(loc - 1, jump->child_loc_map); loc 9216 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c err = ixgbe_update_ethtool_fdir_entry(adapter, NULL, loc); loc 9408 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 loc = cls->knode.handle & 0xfffff; loc 9431 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (loc >= ((1024 << adapter->fdir_pballoc) - 2)) { loc 9545 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (link && (test_bit(loc - 1, link->child_loc_map))) { loc 9547 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c loc); loc 9562 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input->sw_idx = loc; loc 9584 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c set_bit(loc - 1, (adapter->jump_tables[uhtid])->child_loc_map); loc 856 drivers/net/ethernet/marvell/mvpp2/mvpp2.h int loc; loc 570 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static int mvpp2_cls_c2_port_flow_index(struct mvpp2_port *port, int loc) loc 572 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c return MVPP22_CLS_C2_RFS_LOC(port->id, loc); loc 1087 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c index = mvpp2_cls_c2_port_flow_index(port, rule->loc); loc 1111 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c c2.tcam[4] |= MVPP22_CLS_C2_LU_TYPE(rule->loc); loc 1183 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c index = MVPP2_CLS_FLT_C2_RFS(port->id, flow->flow_id, rule->loc); loc 1219 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c index = MVPP2_CLS_FLT_C2_RFS(port->id, flow->flow_id, rule->loc); loc 1225 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_lu_type_set(&fe, rule->loc); loc 1387 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c efs->rule.loc = info->fs.location; loc 1390 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (port->rfs_rules[efs->rule.loc]) { loc 1391 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c old_efs = port->rfs_rules[efs->rule.loc]; loc 1407 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c port->rfs_rules[efs->rule.loc] = efs; loc 155 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h #define MVPP22_CLS_C2_RFS_LOC(p, loc) (MVPP22_CLS_C2_PORT_FLOW_FIRST(p) + (loc)) loc 4214 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c int ret = 0, i, loc = 0; loc 4235 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c rules[loc++] = i; loc 1691 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c int loc) loc 1697 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (loc < 0 || loc >= MAX_NUM_OF_FS_RULES) loc 1700 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c rule = &priv->ethtool_rules[loc]; loc 617 drivers/net/ethernet/mellanox/mlx4/mcg.c int loc = -1; loc 638 drivers/net/ethernet/mellanox/mlx4/mcg.c loc = i; loc 642 drivers/net/ethernet/mellanox/mlx4/mcg.c if (loc < 0) { loc 652 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[loc] = mgm->qp[members_count - 1]; loc 1222 drivers/net/ethernet/mellanox/mlx4/mcg.c int i, loc = -1; loc 1256 drivers/net/ethernet/mellanox/mlx4/mcg.c loc = i; loc 1260 drivers/net/ethernet/mellanox/mlx4/mcg.c if (loc == -1) { loc 1267 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->qp[loc] = mgm->qp[members_count - 1]; loc 18 drivers/net/ethernet/neterion/s2io.h #define s2BIT(loc) (0x8000000000000000ULL >> (loc)) loc 19 drivers/net/ethernet/neterion/s2io.h #define vBIT(val, loc, sz) (((u64)val) << (64-loc-sz)) loc 870 drivers/net/ethernet/neterion/vxge/vxge-config.h #define VXGE_HW_DEVICE_STATS_PIO_READ(loc, offset) { \ loc 873 drivers/net/ethernet/neterion/vxge/vxge-config.h loc, \ loc 20 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define vxge_mBIT(loc) (0x8000000000000000ULL >> (loc)) loc 25 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define vxge_vBIT(val, loc, sz) (((u64)(val)) << (64-(loc)-(sz))) loc 26 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define vxge_vBIT32(val, loc, sz) (((u32)(val)) << (32-(loc)-(sz))) loc 31 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define vxge_bVALn(bits, loc, n) \ loc 32 drivers/net/ethernet/neterion/vxge/vxge-reg.h ((((u64)bits) >> (64-(loc+n))) & ((0x1ULL << n) - 1)) loc 291 drivers/net/ethernet/smsc/epic100.c static void mdio_write(struct net_device *dev, int phy_id, int loc, int val); loc 624 drivers/net/ethernet/smsc/epic100.c static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) loc 631 drivers/net/ethernet/smsc/epic100.c ew32(MIICtrl, (phy_id << 9) | (loc << 4) | MII_WRITEOP); loc 285 drivers/net/ethernet/smsc/smc91c92_cs.c static int mdio_read(struct net_device *dev, int phy_id, int loc); loc 286 drivers/net/ethernet/smsc/smc91c92_cs.c static void mdio_write(struct net_device *dev, int phy_id, int loc, int value); loc 985 drivers/net/ethernet/smsc/smc91c92_cs.c static int mdio_read(struct net_device *dev, int phy_id, int loc) loc 988 drivers/net/ethernet/smsc/smc91c92_cs.c u_int cmd = (0x06<<10)|(phy_id<<5)|loc; loc 1005 drivers/net/ethernet/smsc/smc91c92_cs.c static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) loc 1008 drivers/net/ethernet/smsc/smc91c92_cs.c u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value; loc 25 drivers/net/ethernet/stmicro/stmmac/dwmac5.c unsigned long loc, mask; loc 32 drivers/net/ethernet/stmicro/stmmac/dwmac5.c for_each_set_bit(loc, &mask, 32) { loc 35 drivers/net/ethernet/stmicro/stmmac/dwmac5.c desc[loc].desc, desc[loc].detailed_desc); loc 38 drivers/net/ethernet/stmicro/stmmac/dwmac5.c ptr[loc]++; loc 612 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c unsigned long loc, mask; loc 619 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c for_each_set_bit(loc, &mask, 32) { loc 622 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c desc[loc].desc, desc[loc].detailed_desc); loc 625 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ptr[loc]++; loc 33 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c u32 loc = cls->knode.handle; loc 40 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c if ((entry->handle == loc) && !free && !entry->is_frag) loc 47 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c first->handle = loc; loc 7570 drivers/net/ethernet/sun/niu.c static int niu_del_ethtool_tcam_entry(struct niu *np, u32 loc) loc 7579 drivers/net/ethernet/sun/niu.c if (loc >= tcam_get_size(np)) loc 7584 drivers/net/ethernet/sun/niu.c idx = tcam_get_index(np, loc); loc 223 drivers/net/usb/asix.h int asix_mdio_read(struct net_device *netdev, int phy_id, int loc); loc 224 drivers/net/usb/asix.h void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val); loc 226 drivers/net/usb/asix.h int asix_mdio_read_nopm(struct net_device *netdev, int phy_id, int loc); loc 227 drivers/net/usb/asix.h void asix_mdio_write_nopm(struct net_device *netdev, int phy_id, int loc, loc 444 drivers/net/usb/asix_common.c int asix_mdio_read(struct net_device *netdev, int phy_id, int loc) loc 467 drivers/net/usb/asix_common.c (__u16)loc, 2, &res, 0); loc 472 drivers/net/usb/asix_common.c phy_id, loc, le16_to_cpu(res)); loc 477 drivers/net/usb/asix_common.c void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) loc 486 drivers/net/usb/asix_common.c phy_id, loc, val); loc 503 drivers/net/usb/asix_common.c (__u16)loc, 2, &res, 0); loc 508 drivers/net/usb/asix_common.c int asix_mdio_read_nopm(struct net_device *netdev, int phy_id, int loc) loc 531 drivers/net/usb/asix_common.c (__u16)loc, 2, &res, 1); loc 536 drivers/net/usb/asix_common.c phy_id, loc, le16_to_cpu(res)); loc 542 drivers/net/usb/asix_common.c asix_mdio_write_nopm(struct net_device *netdev, int phy_id, int loc, int val) loc 551 drivers/net/usb/asix_common.c phy_id, loc, val); loc 568 drivers/net/usb/asix_common.c (__u16)loc, 2, &res, 1); loc 352 drivers/net/usb/ax88179_178a.c static int ax88179_mdio_read(struct net_device *netdev, int phy_id, int loc) loc 357 drivers/net/usb/ax88179_178a.c ax88179_read_cmd(dev, AX_ACCESS_PHY, phy_id, (__u16)loc, 2, &res); loc 361 drivers/net/usb/ax88179_178a.c static void ax88179_mdio_write(struct net_device *netdev, int phy_id, int loc, loc 367 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_PHY, phy_id, (__u16)loc, 2, &res); loc 179 drivers/net/usb/ch9200.c static int ch9200_mdio_read(struct net_device *netdev, int phy_id, int loc) loc 185 drivers/net/usb/ch9200.c phy_id, loc); loc 190 drivers/net/usb/ch9200.c control_read(dev, REQUEST_READ, 0, loc * 2, buff, 0x02, loc 197 drivers/net/usb/ch9200.c int phy_id, int loc, int val) loc 203 drivers/net/usb/ch9200.c phy_id, loc); loc 211 drivers/net/usb/ch9200.c control_write(dev, REQUEST_WRITE, 0, loc * 2, buff, 0x02, loc 219 drivers/net/usb/dm9601.c static int dm9601_mdio_read(struct net_device *netdev, int phy_id, int loc) loc 230 drivers/net/usb/dm9601.c dm_read_shared_word(dev, 1, loc, &res); loc 234 drivers/net/usb/dm9601.c phy_id, loc, le16_to_cpu(res)); loc 239 drivers/net/usb/dm9601.c static void dm9601_mdio_write(struct net_device *netdev, int phy_id, int loc, loc 251 drivers/net/usb/dm9601.c phy_id, loc, val); loc 253 drivers/net/usb/dm9601.c dm_write_shared_word(dev, 1, loc, res); loc 265 drivers/net/usb/pegasus.c static int mdio_read(struct net_device *dev, int phy_id, int loc) loc 270 drivers/net/usb/pegasus.c read_mii_word(pegasus, phy_id, loc, &res); loc 274 drivers/net/usb/pegasus.c static void mdio_write(struct net_device *dev, int phy_id, int loc, int val) loc 279 drivers/net/usb/pegasus.c write_mii_word(pegasus, phy_id, loc, &data); loc 176 drivers/net/usb/sr9700.c static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc) loc 188 drivers/net/usb/sr9700.c if (loc == MII_BMSR) { loc 195 drivers/net/usb/sr9700.c sr_share_read_word(dev, 1, loc, &res); loc 202 drivers/net/usb/sr9700.c phy_id, loc, res); loc 207 drivers/net/usb/sr9700.c static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc, loc 219 drivers/net/usb/sr9700.c phy_id, loc, val); loc 221 drivers/net/usb/sr9700.c sr_share_write_word(dev, 1, loc, res); loc 335 drivers/net/usb/sr9800.c static int sr_mdio_read(struct net_device *net, int phy_id, int loc) loc 342 drivers/net/usb/sr9800.c sr_read_cmd(dev, SR_CMD_READ_MII_REG, phy_id, (__u16)loc, 2, &res); loc 348 drivers/net/usb/sr9800.c phy_id, loc, le16_to_cpu(res)); loc 354 drivers/net/usb/sr9800.c sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) loc 361 drivers/net/usb/sr9800.c phy_id, loc, val); loc 364 drivers/net/usb/sr9800.c sr_write_cmd(dev, SR_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, &res); loc 637 drivers/nvdimm/namespace_devs.c enum alloc_loc loc = ALLOC_ERR; loc 655 drivers/nvdimm/namespace_devs.c loc = ALLOC_BEFORE; loc 659 drivers/nvdimm/namespace_devs.c if (!loc && next) { loc 666 drivers/nvdimm/namespace_devs.c loc = ALLOC_MID; loc 670 drivers/nvdimm/namespace_devs.c if (!loc && !next) { loc 677 drivers/nvdimm/namespace_devs.c loc = ALLOC_AFTER; loc 680 drivers/nvdimm/namespace_devs.c if (!loc || !available) loc 683 drivers/nvdimm/namespace_devs.c switch (loc) { loc 737 drivers/nvdimm/namespace_devs.c action, loc, rc); loc 1113 drivers/pinctrl/pinctrl-rockchip.c int mux, u32 *loc, u32 *reg, u32 *value) loc 1130 drivers/pinctrl/pinctrl-rockchip.c *loc = data->route_location; loc 22 drivers/rtc/rtc-pcf8583.c unsigned int loc; loc 149 drivers/rtc/rtc-pcf8583.c if (mem->loc < 8) loc 152 drivers/rtc/rtc-pcf8583.c addr[0] = mem->loc; loc 162 drivers/rtc/rtc-pcf8583.c if (mem->loc < 8 || mem->nr > 8) loc 165 drivers/rtc/rtc-pcf8583.c buf[0] = mem->loc; loc 177 drivers/rtc/rtc-pcf8583.c .loc = CMOS_YEAR, loc 227 drivers/rtc/rtc-pcf8583.c .loc = CMOS_YEAR, loc 232 drivers/rtc/rtc-pcf8583.c .loc = CMOS_CHECKSUM, loc 1270 drivers/scsi/ibmvscsi/ibmvscsi.c strlcpy(hostdata->caps.loc, location, sizeof(hostdata->caps.loc)); loc 1891 drivers/scsi/ibmvscsi/ibmvscsi.c len = snprintf(buf, sizeof(hostdata->caps.loc), "%s\n", loc 1892 drivers/scsi/ibmvscsi/ibmvscsi.c hostdata->caps.loc); loc 2978 drivers/scsi/megaraid/megaraid_sas_base.c char *loc = (char *)buf; loc 2982 drivers/scsi/megaraid/megaraid_sas_base.c bytes_wrote += snprintf(loc + bytes_wrote, PAGE_SIZE, loc 550 drivers/scsi/qla2xxx/qla_sup.c const char *loc, *locations[] = { "DEF", "PCI" }; loc 564 drivers/scsi/qla2xxx/qla_sup.c loc = locations[0]; loc 626 drivers/scsi/qla2xxx/qla_sup.c loc = locations[1]; loc 632 drivers/scsi/qla2xxx/qla_sup.c loc, *start); loc 639 drivers/scsi/qla2xxx/qla_sup.c const char *locations[] = { "DEF", "FLT" }, *loc = locations[1]; loc 921 drivers/scsi/qla2xxx/qla_sup.c loc = locations[0]; loc 936 drivers/scsi/qla2xxx/qla_sup.c loc, ha->flt_region_boot, ha->flt_region_fw, loc 948 drivers/scsi/qla2xxx/qla_sup.c const char *loc, *locations[] = { "MID", "FDT" }; loc 976 drivers/scsi/qla2xxx/qla_sup.c loc = locations[1]; loc 997 drivers/scsi/qla2xxx/qla_sup.c loc = locations[0]; loc 1035 drivers/scsi/qla2xxx/qla_sup.c loc, mid, fid, loc 3705 drivers/scsi/qla4xxx/ql4_nx.c const char *loc, *locations[] = { "DEF", "PCI" }; loc 3712 drivers/scsi/qla4xxx/ql4_nx.c loc = locations[0]; loc 3715 drivers/scsi/qla4xxx/ql4_nx.c DEBUG2(ql4_printk(KERN_INFO, ha, "FLTL[%s] = 0x%x.\n", loc, *start)); loc 3722 drivers/scsi/qla4xxx/ql4_nx.c const char *loc, *locations[] = { "DEF", "FLT" }; loc 3767 drivers/scsi/qla4xxx/ql4_nx.c loc = locations[1]; loc 3808 drivers/scsi/qla4xxx/ql4_nx.c loc = locations[0]; loc 3822 drivers/scsi/qla4xxx/ql4_nx.c loc, hw->flt_region_flt, hw->flt_region_fdt, loc 3835 drivers/scsi/qla4xxx/ql4_nx.c const char *loc, *locations[] = { "MID", "FDT" }; loc 3869 drivers/scsi/qla4xxx/ql4_nx.c loc = locations[1]; loc 3886 drivers/scsi/qla4xxx/ql4_nx.c loc = locations[0]; loc 3890 drivers/scsi/qla4xxx/ql4_nx.c "pro=%x upro=%x wrtd=0x%x blk=0x%x.\n", loc, mid, fid, loc 365 drivers/ssb/pci.c u16 loc[3]; loc 368 drivers/ssb/pci.c loc[0] = SSB_SPROM3_IL0MAC; loc 370 drivers/ssb/pci.c loc[0] = SSB_SPROM1_IL0MAC; loc 371 drivers/ssb/pci.c loc[1] = SSB_SPROM1_ET0MAC; loc 372 drivers/ssb/pci.c loc[2] = SSB_SPROM1_ET1MAC; loc 374 drivers/ssb/pci.c sprom_get_mac(out->il0mac, &in[SPOFF(loc[0])]); loc 376 drivers/ssb/pci.c sprom_get_mac(out->et0mac, &in[SPOFF(loc[1])]); loc 377 drivers/ssb/pci.c sprom_get_mac(out->et1mac, &in[SPOFF(loc[2])]); loc 769 drivers/staging/exfat/exfat.h int FAT_read(struct super_block *sb, u32 loc, u32 *content); loc 770 drivers/staging/exfat/exfat.h s32 FAT_write(struct super_block *sb, u32 loc, u32 content); loc 196 drivers/staging/exfat/exfat_cache.c static int __FAT_read(struct super_block *sb, u32 loc, u32 *content) loc 207 drivers/staging/exfat/exfat_cache.c ((loc + (loc >> 1)) >> p_bd->sector_size_bits); loc 208 drivers/staging/exfat/exfat_cache.c off = (loc + (loc >> 1)) & p_bd->sector_size_mask; loc 231 drivers/staging/exfat/exfat_cache.c if (loc & 1) loc 244 drivers/staging/exfat/exfat_cache.c (loc >> (p_bd->sector_size_bits - 1)); loc 245 drivers/staging/exfat/exfat_cache.c off = (loc << 1) & p_bd->sector_size_mask; loc 265 drivers/staging/exfat/exfat_cache.c (loc >> (p_bd->sector_size_bits - 2)); loc 266 drivers/staging/exfat/exfat_cache.c off = (loc << 2) & p_bd->sector_size_mask; loc 286 drivers/staging/exfat/exfat_cache.c (loc >> (p_bd->sector_size_bits - 2)); loc 287 drivers/staging/exfat/exfat_cache.c off = (loc << 2) & p_bd->sector_size_mask; loc 314 drivers/staging/exfat/exfat_cache.c int FAT_read(struct super_block *sb, u32 loc, u32 *content) loc 319 drivers/staging/exfat/exfat_cache.c ret = __FAT_read(sb, loc, content); loc 325 drivers/staging/exfat/exfat_cache.c static s32 __FAT_write(struct super_block *sb, u32 loc, u32 content) loc 337 drivers/staging/exfat/exfat_cache.c ((loc + (loc >> 1)) >> p_bd->sector_size_bits); loc 338 drivers/staging/exfat/exfat_cache.c off = (loc + (loc >> 1)) & p_bd->sector_size_mask; loc 344 drivers/staging/exfat/exfat_cache.c if (loc & 1) { /* odd */ loc 388 drivers/staging/exfat/exfat_cache.c sec = p_fs->FAT1_start_sector + (loc >> loc 390 drivers/staging/exfat/exfat_cache.c off = (loc << 1) & p_bd->sector_size_mask; loc 402 drivers/staging/exfat/exfat_cache.c sec = p_fs->FAT1_start_sector + (loc >> loc 404 drivers/staging/exfat/exfat_cache.c off = (loc << 2) & p_bd->sector_size_mask; loc 416 drivers/staging/exfat/exfat_cache.c sec = p_fs->FAT1_start_sector + (loc >> loc 418 drivers/staging/exfat/exfat_cache.c off = (loc << 2) & p_bd->sector_size_mask; loc 433 drivers/staging/exfat/exfat_cache.c int FAT_write(struct super_block *sb, u32 loc, u32 content) loc 438 drivers/staging/exfat/exfat_cache.c ret = __FAT_write(sb, loc, content); loc 1246 drivers/virt/vboxguest/vboxguest_core.c ret = vbg_hgcm_connect(gdev, session->requestor, &conn->u.in.loc, loc 124 drivers/virt/vboxguest/vboxguest_utils.c struct vmmdev_hgcm_service_location *loc, loc 136 drivers/virt/vboxguest/vboxguest_utils.c memcpy(&hgcm_connect->loc, loc, sizeof(*loc)); loc 400 drivers/virt/vboxguest/vmmdev.h struct vmmdev_hgcm_service_location loc; loc 424 drivers/vme/bridges/vme_fake.c u8 *loc; loc 438 drivers/vme/bridges/vme_fake.c loc = (u8 *)(bridge->slaves[i].buf_base + offset); loc 439 drivers/vme/bridges/vme_fake.c retval = *loc; loc 457 drivers/vme/bridges/vme_fake.c u16 *loc; loc 471 drivers/vme/bridges/vme_fake.c loc = (u16 *)(bridge->slaves[i].buf_base + offset); loc 472 drivers/vme/bridges/vme_fake.c retval = *loc; loc 490 drivers/vme/bridges/vme_fake.c u32 *loc; loc 504 drivers/vme/bridges/vme_fake.c loc = (u32 *)(bridge->slaves[i].buf_base + offset); loc 505 drivers/vme/bridges/vme_fake.c retval = *loc; loc 621 drivers/vme/bridges/vme_fake.c u8 *loc; loc 635 drivers/vme/bridges/vme_fake.c loc = (u8 *)((void *)bridge->slaves[i].buf_base + offset); loc 636 drivers/vme/bridges/vme_fake.c *loc = *buf; loc 652 drivers/vme/bridges/vme_fake.c u16 *loc; loc 666 drivers/vme/bridges/vme_fake.c loc = (u16 *)((void *)bridge->slaves[i].buf_base + offset); loc 667 drivers/vme/bridges/vme_fake.c *loc = *buf; loc 683 drivers/vme/bridges/vme_fake.c u32 *loc; loc 697 drivers/vme/bridges/vme_fake.c loc = (u32 *)((void *)bridge->slaves[i].buf_base + offset); loc 698 drivers/vme/bridges/vme_fake.c *loc = *buf; loc 691 fs/binfmt_elf.c } *loc; loc 695 fs/binfmt_elf.c loc = kmalloc(sizeof(*loc), GFP_KERNEL); loc 696 fs/binfmt_elf.c if (!loc) { loc 702 fs/binfmt_elf.c loc->elf_ex = *((struct elfhdr *)bprm->buf); loc 706 fs/binfmt_elf.c if (memcmp(loc->elf_ex.e_ident, ELFMAG, SELFMAG) != 0) loc 709 fs/binfmt_elf.c if (loc->elf_ex.e_type != ET_EXEC && loc->elf_ex.e_type != ET_DYN) loc 711 fs/binfmt_elf.c if (!elf_check_arch(&loc->elf_ex)) loc 713 fs/binfmt_elf.c if (elf_check_fdpic(&loc->elf_ex)) loc 718 fs/binfmt_elf.c elf_phdata = load_elf_phdrs(&loc->elf_ex, bprm->file); loc 723 fs/binfmt_elf.c for (i = 0; i < loc->elf_ex.e_phnum; i++, elf_ppnt++) { loc 770 fs/binfmt_elf.c retval = kernel_read(interpreter, &loc->interp_elf_ex, loc 771 fs/binfmt_elf.c sizeof(loc->interp_elf_ex), &pos); loc 772 fs/binfmt_elf.c if (retval != sizeof(loc->interp_elf_ex)) { loc 786 fs/binfmt_elf.c for (i = 0; i < loc->elf_ex.e_phnum; i++, elf_ppnt++) loc 796 fs/binfmt_elf.c retval = arch_elf_pt_proc(&loc->elf_ex, elf_ppnt, loc 808 fs/binfmt_elf.c if (memcmp(loc->interp_elf_ex.e_ident, ELFMAG, SELFMAG) != 0) loc 811 fs/binfmt_elf.c if (!elf_check_arch(&loc->interp_elf_ex) || loc 812 fs/binfmt_elf.c elf_check_fdpic(&loc->interp_elf_ex)) loc 816 fs/binfmt_elf.c interp_elf_phdata = load_elf_phdrs(&loc->interp_elf_ex, loc 823 fs/binfmt_elf.c for (i = 0; i < loc->interp_elf_ex.e_phnum; i++, elf_ppnt++) loc 826 fs/binfmt_elf.c retval = arch_elf_pt_proc(&loc->interp_elf_ex, loc 840 fs/binfmt_elf.c retval = arch_check_elf(&loc->elf_ex, loc 841 fs/binfmt_elf.c !!interpreter, &loc->interp_elf_ex, loc 853 fs/binfmt_elf.c SET_PERSONALITY2(loc->elf_ex, &arch_state); loc 854 fs/binfmt_elf.c if (elf_read_implies_exec(loc->elf_ex, executable_stack)) loc 881 fs/binfmt_elf.c i < loc->elf_ex.e_phnum; i++, elf_ppnt++) { loc 925 fs/binfmt_elf.c if (loc->elf_ex.e_type == ET_EXEC || load_addr_set) { loc 927 fs/binfmt_elf.c } else if (loc->elf_ex.e_type == ET_DYN) { loc 976 fs/binfmt_elf.c loc->elf_ex.e_phnum); loc 994 fs/binfmt_elf.c if (loc->elf_ex.e_type == ET_DYN) { loc 1035 fs/binfmt_elf.c loc->elf_ex.e_entry += load_bias; loc 1059 fs/binfmt_elf.c elf_entry = load_elf_interp(&loc->interp_elf_ex, loc 1069 fs/binfmt_elf.c elf_entry += loc->interp_elf_ex.e_entry; loc 1081 fs/binfmt_elf.c elf_entry = loc->elf_ex.e_entry; loc 1099 fs/binfmt_elf.c retval = create_elf_tables(bprm, &loc->elf_ex, loc 1118 fs/binfmt_elf.c loc->elf_ex.e_type == ET_DYN && !interpreter) loc 1157 fs/binfmt_elf.c kfree(loc); loc 2936 fs/btrfs/send.c struct btrfs_key loc; loc 2981 fs/btrfs/send.c btrfs_dir_item_key_to_cpu(path->nodes[0], di, &loc); loc 2983 fs/btrfs/send.c dm = get_waiting_dir_move(sctx, loc.objectid); loc 2997 fs/btrfs/send.c if (loc.objectid > send_progress) { loc 767 fs/gfs2/quota.c loff_t loc) loc 776 fs/gfs2/quota.c pg_beg = loc >> PAGE_SHIFT; loc 777 fs/gfs2/quota.c pg_off = offset_in_page(loc); loc 810 fs/gfs2/quota.c static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, loc 827 fs/gfs2/quota.c err = gfs2_internal_read(ip, (char *)&q, &loc, sizeof(q)); loc 831 fs/gfs2/quota.c loc -= sizeof(q); /* gfs2_internal_read would've advanced the loc ptr */ loc 852 fs/gfs2/quota.c err = gfs2_write_disk_quota(ip, &q, loc); loc 854 fs/gfs2/quota.c size = loc + sizeof(struct gfs2_quota); loc 100 fs/jfs/jfs_types.h pxd_t loc; /* 8: address and length in unit of fsblksize */ loc 112 fs/jfs/jfs_types.h #define DXDlength(dxd, len) PXDlength(&(dxd)->loc, len) loc 113 fs/jfs/jfs_types.h #define DXDaddress(dxd, addr) PXDaddress(&(dxd)->loc, addr) loc 114 fs/jfs/jfs_types.h #define lengthDXD(dxd) lengthPXD(&(dxd)->loc) loc 115 fs/jfs/jfs_types.h #define addressDXD(dxd) addressPXD(&(dxd)->loc) loc 23 fs/jfs/jfs_xtree.h pxd_t loc; /* 8: length and address in unit of fsblksize */ loc 37 fs/jfs/jfs_xtree.h #define XADaddress(xad, address64) PXDaddress(&(xad)->loc, address64) loc 38 fs/jfs/jfs_xtree.h #define XADlength(xad, length32) PXDlength(&(xad)->loc, length32) loc 43 fs/jfs/jfs_xtree.h #define addressXAD(xad) addressPXD(&(xad)->loc) loc 44 fs/jfs/jfs_xtree.h #define lengthXAD(xad) lengthPXD(&(xad)->loc) loc 306 fs/nfs/nfs4namespace.c int loc, error; loc 328 fs/nfs/nfs4namespace.c for (loc = 0; loc < locations->nlocations; loc++) { loc 329 fs/nfs/nfs4namespace.c const struct nfs4_fs_location *location = &locations->locations[loc]; loc 486 fs/nfs/nfs4namespace.c int loc, error; loc 500 fs/nfs/nfs4namespace.c for (loc = 0; loc < locations->nlocations; loc++) { loc 502 fs/nfs/nfs4namespace.c &locations->locations[loc]; loc 3686 fs/nfs/nfs4xdr.c struct nfs4_fs_location *loc; loc 3690 fs/nfs/nfs4xdr.c loc = &res->locations[res->nlocations]; loc 3697 fs/nfs/nfs4xdr.c for (loc->nservers = 0; loc->nservers < m; loc->nservers++) { loc 3700 fs/nfs/nfs4xdr.c if (loc->nservers == NFS4_FS_LOCATION_MAXSERVERS) { loc 3707 fs/nfs/nfs4xdr.c for (i = loc->nservers; i < m; i++) { loc 3716 fs/nfs/nfs4xdr.c server = &loc->servers[loc->nservers]; loc 3722 fs/nfs/nfs4xdr.c status = decode_pathname(xdr, &loc->rootpath); loc 205 fs/ntfs/runlist.c int dsize, runlist_element *src, int ssize, int loc) loc 214 fs/ntfs/runlist.c if ((loc + 1) < dsize) loc 215 fs/ntfs/runlist.c right = ntfs_are_rl_mergeable(src + ssize - 1, dst + loc + 1); loc 228 fs/ntfs/runlist.c __ntfs_rl_merge(src + ssize - 1, dst + loc + 1); loc 231 fs/ntfs/runlist.c marker = loc + ssize + 1; loc 234 fs/ntfs/runlist.c ntfs_rl_mm(dst, marker, loc + 1 + right, dsize - (loc + 1 + right)); loc 235 fs/ntfs/runlist.c ntfs_rl_mc(dst, loc + 1, src, 0, ssize); loc 238 fs/ntfs/runlist.c dst[loc].length = dst[loc + 1].vcn - dst[loc].vcn; loc 272 fs/ntfs/runlist.c int dsize, runlist_element *src, int ssize, int loc) loc 285 fs/ntfs/runlist.c if (loc == 0) loc 290 fs/ntfs/runlist.c left = ntfs_are_rl_mergeable(dst + loc - 1, src); loc 292 fs/ntfs/runlist.c merged_length = dst[loc - 1].length; loc 296 fs/ntfs/runlist.c disc = (src[0].vcn > dst[loc - 1].vcn + merged_length); loc 310 fs/ntfs/runlist.c __ntfs_rl_merge(dst + loc - 1, src); loc 318 fs/ntfs/runlist.c marker = loc + ssize - left + disc; loc 321 fs/ntfs/runlist.c ntfs_rl_mm(dst, marker, loc, dsize - loc); loc 322 fs/ntfs/runlist.c ntfs_rl_mc(dst, loc + disc, src, left, ssize - left); loc 332 fs/ntfs/runlist.c if (loc > 0) { loc 333 fs/ntfs/runlist.c dst[loc].vcn = dst[loc - 1].vcn + dst[loc - 1].length; loc 334 fs/ntfs/runlist.c dst[loc].length = dst[loc + 1].vcn - dst[loc].vcn; loc 336 fs/ntfs/runlist.c dst[loc].vcn = 0; loc 337 fs/ntfs/runlist.c dst[loc].length = dst[loc + 1].vcn; loc 339 fs/ntfs/runlist.c dst[loc].lcn = LCN_RL_NOT_MAPPED; loc 368 fs/ntfs/runlist.c int dsize, runlist_element *src, int ssize, int loc) loc 380 fs/ntfs/runlist.c if ((loc + 1) < dsize) loc 381 fs/ntfs/runlist.c right = ntfs_are_rl_mergeable(src + ssize - 1, dst + loc + 1); loc 382 fs/ntfs/runlist.c if (loc > 0) loc 383 fs/ntfs/runlist.c left = ntfs_are_rl_mergeable(dst + loc - 1, src); loc 401 fs/ntfs/runlist.c __ntfs_rl_merge(src + ssize - 1, dst + loc + 1); loc 403 fs/ntfs/runlist.c __ntfs_rl_merge(dst + loc - 1, src); loc 412 fs/ntfs/runlist.c tail = loc + right + 1; loc 420 fs/ntfs/runlist.c marker = loc + ssize - left; loc 424 fs/ntfs/runlist.c ntfs_rl_mc(dst, loc, src, left, ssize - left); loc 457 fs/ntfs/runlist.c runlist_element *src, int ssize, int loc) loc 472 fs/ntfs/runlist.c ntfs_rl_mm(dst, loc + 1 + ssize, loc, dsize - loc); loc 473 fs/ntfs/runlist.c ntfs_rl_mc(dst, loc + 1, src, 0, ssize); loc 476 fs/ntfs/runlist.c dst[loc].length = dst[loc+1].vcn - dst[loc].vcn; loc 477 fs/ntfs/runlist.c dst[loc+ssize+1].vcn = dst[loc+ssize].vcn + dst[loc+ssize].length; loc 478 fs/ntfs/runlist.c dst[loc+ssize+1].length = dst[loc+ssize+2].vcn - dst[loc+ssize+1].vcn; loc 140 fs/ocfs2/xattr.c int (*xlo_journal_access)(handle_t *handle, struct ocfs2_xa_loc *loc, loc 142 fs/ocfs2/xattr.c void (*xlo_journal_dirty)(handle_t *handle, struct ocfs2_xa_loc *loc); loc 148 fs/ocfs2/xattr.c void *(*xlo_offset_pointer)(struct ocfs2_xa_loc *loc, int offset); loc 151 fs/ocfs2/xattr.c int (*xlo_can_reuse)(struct ocfs2_xa_loc *loc, loc 155 fs/ocfs2/xattr.c int (*xlo_check_space)(struct ocfs2_xa_loc *loc, loc 162 fs/ocfs2/xattr.c int (*xlo_get_free_start)(struct ocfs2_xa_loc *loc); loc 168 fs/ocfs2/xattr.c void (*xlo_wipe_namevalue)(struct ocfs2_xa_loc *loc); loc 171 fs/ocfs2/xattr.c void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash); loc 174 fs/ocfs2/xattr.c void (*xlo_add_namevalue)(struct ocfs2_xa_loc *loc, int size); loc 180 fs/ocfs2/xattr.c void (*xlo_fill_value_buf)(struct ocfs2_xa_loc *loc, loc 1442 fs/ocfs2/xattr.c static int ocfs2_xa_journal_access(handle_t *handle, struct ocfs2_xa_loc *loc, loc 1445 fs/ocfs2/xattr.c return loc->xl_ops->xlo_journal_access(handle, loc, type); loc 1448 fs/ocfs2/xattr.c static void ocfs2_xa_journal_dirty(handle_t *handle, struct ocfs2_xa_loc *loc) loc 1450 fs/ocfs2/xattr.c loc->xl_ops->xlo_journal_dirty(handle, loc); loc 1454 fs/ocfs2/xattr.c static void *ocfs2_xa_offset_pointer(struct ocfs2_xa_loc *loc, int offset) loc 1456 fs/ocfs2/xattr.c BUG_ON(offset >= loc->xl_size); loc 1457 fs/ocfs2/xattr.c return loc->xl_ops->xlo_offset_pointer(loc, offset); loc 1465 fs/ocfs2/xattr.c static void ocfs2_xa_wipe_namevalue(struct ocfs2_xa_loc *loc) loc 1467 fs/ocfs2/xattr.c loc->xl_ops->xlo_wipe_namevalue(loc); loc 1474 fs/ocfs2/xattr.c static int ocfs2_xa_get_free_start(struct ocfs2_xa_loc *loc) loc 1476 fs/ocfs2/xattr.c return loc->xl_ops->xlo_get_free_start(loc); loc 1480 fs/ocfs2/xattr.c static int ocfs2_xa_can_reuse_entry(struct ocfs2_xa_loc *loc, loc 1483 fs/ocfs2/xattr.c return loc->xl_ops->xlo_can_reuse(loc, xi); loc 1487 fs/ocfs2/xattr.c static int ocfs2_xa_check_space(struct ocfs2_xa_loc *loc, loc 1490 fs/ocfs2/xattr.c return loc->xl_ops->xlo_check_space(loc, xi); loc 1493 fs/ocfs2/xattr.c static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) loc 1495 fs/ocfs2/xattr.c loc->xl_ops->xlo_add_entry(loc, name_hash); loc 1496 fs/ocfs2/xattr.c loc->xl_entry->xe_name_hash = cpu_to_le32(name_hash); loc 1502 fs/ocfs2/xattr.c loc->xl_entry->xe_name_offset = cpu_to_le16(loc->xl_size); loc 1505 fs/ocfs2/xattr.c static void ocfs2_xa_add_namevalue(struct ocfs2_xa_loc *loc, loc 1512 fs/ocfs2/xattr.c loc->xl_ops->xlo_add_namevalue(loc, size); loc 1513 fs/ocfs2/xattr.c loc->xl_entry->xe_value_size = cpu_to_le64(xi->xi_value_len); loc 1514 fs/ocfs2/xattr.c loc->xl_entry->xe_name_len = xi->xi_name_len; loc 1515 fs/ocfs2/xattr.c ocfs2_xattr_set_type(loc->xl_entry, xi->xi_name_index); loc 1516 fs/ocfs2/xattr.c ocfs2_xattr_set_local(loc->xl_entry, loc 1519 fs/ocfs2/xattr.c nameval_offset = le16_to_cpu(loc->xl_entry->xe_name_offset); loc 1520 fs/ocfs2/xattr.c nameval_buf = ocfs2_xa_offset_pointer(loc, nameval_offset); loc 1525 fs/ocfs2/xattr.c static void ocfs2_xa_fill_value_buf(struct ocfs2_xa_loc *loc, loc 1528 fs/ocfs2/xattr.c int nameval_offset = le16_to_cpu(loc->xl_entry->xe_name_offset); loc 1529 fs/ocfs2/xattr.c int name_size = OCFS2_XATTR_SIZE(loc->xl_entry->xe_name_len); loc 1532 fs/ocfs2/xattr.c BUG_ON(ocfs2_xattr_is_local(loc->xl_entry)); loc 1533 fs/ocfs2/xattr.c BUG_ON(namevalue_size_xe(loc->xl_entry) != loc 1536 fs/ocfs2/xattr.c loc->xl_ops->xlo_fill_value_buf(loc, vb); loc 1538 fs/ocfs2/xattr.c (struct ocfs2_xattr_value_root *)ocfs2_xa_offset_pointer(loc, loc 1544 fs/ocfs2/xattr.c struct ocfs2_xa_loc *loc, int type) loc 1546 fs/ocfs2/xattr.c struct buffer_head *bh = loc->xl_storage; loc 1549 fs/ocfs2/xattr.c if (loc->xl_size == (bh->b_size - loc 1555 fs/ocfs2/xattr.c return access(handle, INODE_CACHE(loc->xl_inode), bh, type); loc 1559 fs/ocfs2/xattr.c struct ocfs2_xa_loc *loc) loc 1561 fs/ocfs2/xattr.c struct buffer_head *bh = loc->xl_storage; loc 1566 fs/ocfs2/xattr.c static void *ocfs2_xa_block_offset_pointer(struct ocfs2_xa_loc *loc, loc 1569 fs/ocfs2/xattr.c return (char *)loc->xl_header + offset; loc 1572 fs/ocfs2/xattr.c static int ocfs2_xa_block_can_reuse(struct ocfs2_xa_loc *loc, loc 1579 fs/ocfs2/xattr.c return namevalue_size_xe(loc->xl_entry) == loc 1583 fs/ocfs2/xattr.c static int ocfs2_xa_block_get_free_start(struct ocfs2_xa_loc *loc) loc 1585 fs/ocfs2/xattr.c struct ocfs2_xattr_header *xh = loc->xl_header; loc 1587 fs/ocfs2/xattr.c int offset, free_start = loc->xl_size; loc 1598 fs/ocfs2/xattr.c static int ocfs2_xa_block_check_space(struct ocfs2_xa_loc *loc, loc 1601 fs/ocfs2/xattr.c int count = le16_to_cpu(loc->xl_header->xh_count); loc 1602 fs/ocfs2/xattr.c int free_start = ocfs2_xa_get_free_start(loc); loc 1610 fs/ocfs2/xattr.c if (loc->xl_entry) { loc 1612 fs/ocfs2/xattr.c if (ocfs2_xa_can_reuse_entry(loc, xi)) loc 1615 fs/ocfs2/xattr.c needed_space -= ocfs2_xe_entry_usage(loc->xl_entry); loc 1626 fs/ocfs2/xattr.c static void ocfs2_xa_block_wipe_namevalue(struct ocfs2_xa_loc *loc) loc 1630 fs/ocfs2/xattr.c struct ocfs2_xattr_entry *entry = loc->xl_entry; loc 1631 fs/ocfs2/xattr.c struct ocfs2_xattr_header *xh = loc->xl_header; loc 1636 fs/ocfs2/xattr.c first_namevalue_offset = ocfs2_xa_get_free_start(loc); loc 1658 fs/ocfs2/xattr.c static void ocfs2_xa_block_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) loc 1660 fs/ocfs2/xattr.c int count = le16_to_cpu(loc->xl_header->xh_count); loc 1661 fs/ocfs2/xattr.c loc->xl_entry = &(loc->xl_header->xh_entries[count]); loc 1662 fs/ocfs2/xattr.c le16_add_cpu(&loc->xl_header->xh_count, 1); loc 1663 fs/ocfs2/xattr.c memset(loc->xl_entry, 0, sizeof(struct ocfs2_xattr_entry)); loc 1666 fs/ocfs2/xattr.c static void ocfs2_xa_block_add_namevalue(struct ocfs2_xa_loc *loc, int size) loc 1668 fs/ocfs2/xattr.c int free_start = ocfs2_xa_get_free_start(loc); loc 1670 fs/ocfs2/xattr.c loc->xl_entry->xe_name_offset = cpu_to_le16(free_start - size); loc 1673 fs/ocfs2/xattr.c static void ocfs2_xa_block_fill_value_buf(struct ocfs2_xa_loc *loc, loc 1676 fs/ocfs2/xattr.c struct buffer_head *bh = loc->xl_storage; loc 1678 fs/ocfs2/xattr.c if (loc->xl_size == (bh->b_size - loc 1705 fs/ocfs2/xattr.c struct ocfs2_xa_loc *loc, int type) loc 1707 fs/ocfs2/xattr.c struct ocfs2_xattr_bucket *bucket = loc->xl_storage; loc 1713 fs/ocfs2/xattr.c struct ocfs2_xa_loc *loc) loc 1715 fs/ocfs2/xattr.c struct ocfs2_xattr_bucket *bucket = loc->xl_storage; loc 1720 fs/ocfs2/xattr.c static void *ocfs2_xa_bucket_offset_pointer(struct ocfs2_xa_loc *loc, loc 1723 fs/ocfs2/xattr.c struct ocfs2_xattr_bucket *bucket = loc->xl_storage; loc 1727 fs/ocfs2/xattr.c block = offset >> loc->xl_inode->i_sb->s_blocksize_bits; loc 1728 fs/ocfs2/xattr.c block_offset = offset % loc->xl_inode->i_sb->s_blocksize; loc 1733 fs/ocfs2/xattr.c static int ocfs2_xa_bucket_can_reuse(struct ocfs2_xa_loc *loc, loc 1736 fs/ocfs2/xattr.c return namevalue_size_xe(loc->xl_entry) >= loc 1740 fs/ocfs2/xattr.c static int ocfs2_xa_bucket_get_free_start(struct ocfs2_xa_loc *loc) loc 1742 fs/ocfs2/xattr.c struct ocfs2_xattr_bucket *bucket = loc->xl_storage; loc 1760 fs/ocfs2/xattr.c static int ocfs2_xa_bucket_check_space(struct ocfs2_xa_loc *loc, loc 1764 fs/ocfs2/xattr.c int count = le16_to_cpu(loc->xl_header->xh_count); loc 1765 fs/ocfs2/xattr.c int free_start = ocfs2_xa_get_free_start(loc); loc 1768 fs/ocfs2/xattr.c struct super_block *sb = loc->xl_inode->i_sb; loc 1776 fs/ocfs2/xattr.c if (loc->xl_entry) { loc 1778 fs/ocfs2/xattr.c if (ocfs2_xa_can_reuse_entry(loc, xi)) loc 1805 fs/ocfs2/xattr.c static void ocfs2_xa_bucket_wipe_namevalue(struct ocfs2_xa_loc *loc) loc 1807 fs/ocfs2/xattr.c le16_add_cpu(&loc->xl_header->xh_name_value_len, loc 1808 fs/ocfs2/xattr.c -namevalue_size_xe(loc->xl_entry)); loc 1811 fs/ocfs2/xattr.c static void ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) loc 1813 fs/ocfs2/xattr.c struct ocfs2_xattr_header *xh = loc->xl_header; loc 1842 fs/ocfs2/xattr.c loc->xl_entry = &xh->xh_entries[low]; loc 1843 fs/ocfs2/xattr.c memset(loc->xl_entry, 0, sizeof(struct ocfs2_xattr_entry)); loc 1846 fs/ocfs2/xattr.c static void ocfs2_xa_bucket_add_namevalue(struct ocfs2_xa_loc *loc, int size) loc 1848 fs/ocfs2/xattr.c int free_start = ocfs2_xa_get_free_start(loc); loc 1849 fs/ocfs2/xattr.c struct ocfs2_xattr_header *xh = loc->xl_header; loc 1850 fs/ocfs2/xattr.c struct super_block *sb = loc->xl_inode->i_sb; loc 1855 fs/ocfs2/xattr.c loc->xl_entry->xe_name_offset = cpu_to_le16(nameval_offset); loc 1861 fs/ocfs2/xattr.c static void ocfs2_xa_bucket_fill_value_buf(struct ocfs2_xa_loc *loc, loc 1864 fs/ocfs2/xattr.c struct ocfs2_xattr_bucket *bucket = loc->xl_storage; loc 1865 fs/ocfs2/xattr.c struct super_block *sb = loc->xl_inode->i_sb; loc 1866 fs/ocfs2/xattr.c int nameval_offset = le16_to_cpu(loc->xl_entry->xe_name_offset); loc 1867 fs/ocfs2/xattr.c int size = namevalue_size_xe(loc->xl_entry); loc 1894 fs/ocfs2/xattr.c static unsigned int ocfs2_xa_value_clusters(struct ocfs2_xa_loc *loc) loc 1898 fs/ocfs2/xattr.c if (ocfs2_xattr_is_local(loc->xl_entry)) loc 1901 fs/ocfs2/xattr.c ocfs2_xa_fill_value_buf(loc, &vb); loc 1905 fs/ocfs2/xattr.c static int ocfs2_xa_value_truncate(struct ocfs2_xa_loc *loc, u64 bytes, loc 1911 fs/ocfs2/xattr.c ocfs2_xa_fill_value_buf(loc, &vb); loc 1912 fs/ocfs2/xattr.c trunc_rc = ocfs2_xattr_value_truncate(loc->xl_inode, &vb, bytes, loc 1925 fs/ocfs2/xattr.c access_rc = ocfs2_xa_journal_access(ctxt->handle, loc, loc 1932 fs/ocfs2/xattr.c static void ocfs2_xa_remove_entry(struct ocfs2_xa_loc *loc) loc 1935 fs/ocfs2/xattr.c struct ocfs2_xattr_header *xh = loc->xl_header; loc 1936 fs/ocfs2/xattr.c struct ocfs2_xattr_entry *entry = loc->xl_entry; loc 1938 fs/ocfs2/xattr.c ocfs2_xa_wipe_namevalue(loc); loc 1939 fs/ocfs2/xattr.c loc->xl_entry = NULL; loc 1983 fs/ocfs2/xattr.c static void ocfs2_xa_cleanup_value_truncate(struct ocfs2_xa_loc *loc, loc 1987 fs/ocfs2/xattr.c unsigned int new_clusters = ocfs2_xa_value_clusters(loc); loc 1988 fs/ocfs2/xattr.c char *nameval_buf = ocfs2_xa_offset_pointer(loc, loc 1989 fs/ocfs2/xattr.c le16_to_cpu(loc->xl_entry->xe_name_offset)); loc 1995 fs/ocfs2/xattr.c what, loc->xl_entry->xe_name_len, nameval_buf, loc 1997 fs/ocfs2/xattr.c ocfs2_xa_remove_entry(loc); loc 2003 fs/ocfs2/xattr.c loc->xl_entry->xe_name_len, nameval_buf, loc 2005 fs/ocfs2/xattr.c ocfs2_xa_remove_entry(loc); loc 2011 fs/ocfs2/xattr.c loc->xl_entry->xe_name_len, nameval_buf, loc 2015 fs/ocfs2/xattr.c static int ocfs2_xa_remove(struct ocfs2_xa_loc *loc, loc 2021 fs/ocfs2/xattr.c if (!ocfs2_xattr_is_local(loc->xl_entry)) { loc 2022 fs/ocfs2/xattr.c orig_clusters = ocfs2_xa_value_clusters(loc); loc 2023 fs/ocfs2/xattr.c rc = ocfs2_xa_value_truncate(loc, 0, ctxt); loc 2032 fs/ocfs2/xattr.c if (orig_clusters != ocfs2_xa_value_clusters(loc)) loc 2034 fs/ocfs2/xattr.c ocfs2_xa_cleanup_value_truncate(loc, "removing", loc 2041 fs/ocfs2/xattr.c ocfs2_xa_remove_entry(loc); loc 2047 fs/ocfs2/xattr.c static void ocfs2_xa_install_value_root(struct ocfs2_xa_loc *loc) loc 2049 fs/ocfs2/xattr.c int name_size = OCFS2_XATTR_SIZE(loc->xl_entry->xe_name_len); loc 2052 fs/ocfs2/xattr.c nameval_buf = ocfs2_xa_offset_pointer(loc, loc 2053 fs/ocfs2/xattr.c le16_to_cpu(loc->xl_entry->xe_name_offset)); loc 2062 fs/ocfs2/xattr.c static int ocfs2_xa_reuse_entry(struct ocfs2_xa_loc *loc, loc 2070 fs/ocfs2/xattr.c int xe_local = ocfs2_xattr_is_local(loc->xl_entry); loc 2073 fs/ocfs2/xattr.c BUG_ON(OCFS2_XATTR_SIZE(loc->xl_entry->xe_name_len) != loc 2076 fs/ocfs2/xattr.c nameval_buf = ocfs2_xa_offset_pointer(loc, loc 2077 fs/ocfs2/xattr.c le16_to_cpu(loc->xl_entry->xe_name_offset)); loc 2080 fs/ocfs2/xattr.c namevalue_size_xe(loc->xl_entry) - name_size); loc 2082 fs/ocfs2/xattr.c ocfs2_xa_install_value_root(loc); loc 2084 fs/ocfs2/xattr.c orig_clusters = ocfs2_xa_value_clusters(loc); loc 2086 fs/ocfs2/xattr.c rc = ocfs2_xa_value_truncate(loc, 0, ctxt); loc 2091 fs/ocfs2/xattr.c namevalue_size_xe(loc->xl_entry) - loc 2093 fs/ocfs2/xattr.c } else if (le64_to_cpu(loc->xl_entry->xe_value_size) > loc 2095 fs/ocfs2/xattr.c rc = ocfs2_xa_value_truncate(loc, xi->xi_value_len, loc 2102 fs/ocfs2/xattr.c ocfs2_xa_cleanup_value_truncate(loc, "reusing", loc 2108 fs/ocfs2/xattr.c loc->xl_entry->xe_value_size = cpu_to_le64(xi->xi_value_len); loc 2109 fs/ocfs2/xattr.c ocfs2_xattr_set_local(loc->xl_entry, xi_local); loc 2123 fs/ocfs2/xattr.c static int ocfs2_xa_prepare_entry(struct ocfs2_xa_loc *loc, loc 2132 fs/ocfs2/xattr.c rc = ocfs2_xa_check_space(loc, xi); loc 2136 fs/ocfs2/xattr.c if (loc->xl_entry) { loc 2137 fs/ocfs2/xattr.c if (ocfs2_xa_can_reuse_entry(loc, xi)) { loc 2138 fs/ocfs2/xattr.c orig_value_size = loc->xl_entry->xe_value_size; loc 2139 fs/ocfs2/xattr.c rc = ocfs2_xa_reuse_entry(loc, xi, ctxt); loc 2145 fs/ocfs2/xattr.c if (!ocfs2_xattr_is_local(loc->xl_entry)) { loc 2146 fs/ocfs2/xattr.c orig_clusters = ocfs2_xa_value_clusters(loc); loc 2147 fs/ocfs2/xattr.c rc = ocfs2_xa_value_truncate(loc, 0, ctxt); loc 2150 fs/ocfs2/xattr.c ocfs2_xa_cleanup_value_truncate(loc, loc 2156 fs/ocfs2/xattr.c ocfs2_xa_wipe_namevalue(loc); loc 2158 fs/ocfs2/xattr.c ocfs2_xa_add_entry(loc, name_hash); loc 2164 fs/ocfs2/xattr.c ocfs2_xa_add_namevalue(loc, xi); loc 2166 fs/ocfs2/xattr.c ocfs2_xa_install_value_root(loc); loc 2170 fs/ocfs2/xattr.c orig_clusters = ocfs2_xa_value_clusters(loc); loc 2171 fs/ocfs2/xattr.c rc = ocfs2_xa_value_truncate(loc, xi->xi_value_len, ctxt); loc 2174 fs/ocfs2/xattr.c ocfs2_xa_cleanup_value_truncate(loc, "growing", loc 2182 fs/ocfs2/xattr.c if (loc->xl_entry) { loc 2184 fs/ocfs2/xattr.c loc->xl_entry->xe_value_size = orig_value_size; loc 2199 fs/ocfs2/xattr.c static int ocfs2_xa_store_value(struct ocfs2_xa_loc *loc, loc 2204 fs/ocfs2/xattr.c int nameval_offset = le16_to_cpu(loc->xl_entry->xe_name_offset); loc 2209 fs/ocfs2/xattr.c nameval_buf = ocfs2_xa_offset_pointer(loc, nameval_offset); loc 2211 fs/ocfs2/xattr.c ocfs2_xa_fill_value_buf(loc, &vb); loc 2212 fs/ocfs2/xattr.c rc = __ocfs2_xattr_set_value_outside(loc->xl_inode, loc 2222 fs/ocfs2/xattr.c static int ocfs2_xa_set(struct ocfs2_xa_loc *loc, loc 2227 fs/ocfs2/xattr.c u32 name_hash = ocfs2_xattr_name_hash(loc->xl_inode, xi->xi_name, loc 2230 fs/ocfs2/xattr.c ret = ocfs2_xa_journal_access(ctxt->handle, loc, loc 2245 fs/ocfs2/xattr.c ret = ocfs2_xa_remove(loc, ctxt); loc 2249 fs/ocfs2/xattr.c ret = ocfs2_xa_prepare_entry(loc, xi, name_hash, ctxt); loc 2256 fs/ocfs2/xattr.c ret = ocfs2_xa_store_value(loc, xi, ctxt); loc 2261 fs/ocfs2/xattr.c ocfs2_xa_journal_dirty(ctxt->handle, loc); loc 2267 fs/ocfs2/xattr.c static void ocfs2_init_dinode_xa_loc(struct ocfs2_xa_loc *loc, loc 2276 fs/ocfs2/xattr.c loc->xl_inode = inode; loc 2277 fs/ocfs2/xattr.c loc->xl_ops = &ocfs2_xa_block_loc_ops; loc 2278 fs/ocfs2/xattr.c loc->xl_storage = bh; loc 2279 fs/ocfs2/xattr.c loc->xl_entry = entry; loc 2280 fs/ocfs2/xattr.c loc->xl_size = le16_to_cpu(di->i_xattr_inline_size); loc 2281 fs/ocfs2/xattr.c loc->xl_header = loc 2283 fs/ocfs2/xattr.c loc->xl_size); loc 2286 fs/ocfs2/xattr.c static void ocfs2_init_xattr_block_xa_loc(struct ocfs2_xa_loc *loc, loc 2296 fs/ocfs2/xattr.c loc->xl_inode = inode; loc 2297 fs/ocfs2/xattr.c loc->xl_ops = &ocfs2_xa_block_loc_ops; loc 2298 fs/ocfs2/xattr.c loc->xl_storage = bh; loc 2299 fs/ocfs2/xattr.c loc->xl_header = &(xb->xb_attrs.xb_header); loc 2300 fs/ocfs2/xattr.c loc->xl_entry = entry; loc 2301 fs/ocfs2/xattr.c loc->xl_size = bh->b_size - offsetof(struct ocfs2_xattr_block, loc 2305 fs/ocfs2/xattr.c static void ocfs2_init_xattr_bucket_xa_loc(struct ocfs2_xa_loc *loc, loc 2309 fs/ocfs2/xattr.c loc->xl_inode = bucket->bu_inode; loc 2310 fs/ocfs2/xattr.c loc->xl_ops = &ocfs2_xa_bucket_loc_ops; loc 2311 fs/ocfs2/xattr.c loc->xl_storage = bucket; loc 2312 fs/ocfs2/xattr.c loc->xl_header = bucket_xh(bucket); loc 2313 fs/ocfs2/xattr.c loc->xl_entry = entry; loc 2314 fs/ocfs2/xattr.c loc->xl_size = OCFS2_XATTR_BUCKET_SIZE; loc 2776 fs/ocfs2/xattr.c struct ocfs2_xa_loc loc; loc 2791 fs/ocfs2/xattr.c ocfs2_init_dinode_xa_loc(&loc, inode, xs->inode_bh, loc 2793 fs/ocfs2/xattr.c ret = ocfs2_xa_set(&loc, xi, ctxt); loc 2799 fs/ocfs2/xattr.c xs->here = loc.xl_entry; loc 2960 fs/ocfs2/xattr.c struct ocfs2_xa_loc loc; loc 2980 fs/ocfs2/xattr.c ocfs2_init_xattr_block_xa_loc(&loc, inode, xs->xattr_bh, loc 2983 fs/ocfs2/xattr.c ret = ocfs2_xa_set(&loc, xi, ctxt); loc 2985 fs/ocfs2/xattr.c xs->here = loc.xl_entry; loc 5550 fs/ocfs2/xattr.c struct ocfs2_xa_loc loc; loc 5554 fs/ocfs2/xattr.c ocfs2_init_xattr_bucket_xa_loc(&loc, xs->bucket, loc 5556 fs/ocfs2/xattr.c ret = ocfs2_xa_set(&loc, xi, ctxt); loc 5558 fs/ocfs2/xattr.c xs->here = loc.xl_entry; loc 5574 fs/ocfs2/xattr.c ret = ocfs2_xa_set(&loc, xi, ctxt); loc 5576 fs/ocfs2/xattr.c xs->here = loc.xl_entry; loc 40 fs/udf/balloc.c struct kernel_lb_addr loc; loc 42 fs/udf/balloc.c loc.logicalBlockNum = bitmap->s_extPosition; loc 43 fs/udf/balloc.c loc.partitionReferenceNum = UDF_SB(sb)->s_partition; loc 45 fs/udf/balloc.c bh = udf_tread(sb, udf_get_lb_pblock(sb, &loc, block)); loc 1362 fs/udf/inode.c struct kernel_lb_addr loc; loc 1366 fs/udf/inode.c loc = lelb_to_cpu(ie->indirectICB.extLocation); loc 1370 fs/udf/inode.c memcpy(&iinfo->i_location, &loc, loc 48 fs/udf/misc.c uint32_t type, uint8_t loc) loc 68 fs/udf/misc.c if (loc & 0x01 && offset >= size) { loc 259 fs/udf/misc.c struct kernel_lb_addr *loc, loc 262 fs/udf/misc.c return udf_read_tagged(sb, udf_get_lb_pblock(sb, loc, offset), loc 263 fs/udf/misc.c loc->logicalBlockNum + offset, ident); loc 277 fs/udf/misc.c uint32_t loc, int length) loc 283 fs/udf/misc.c tptr->tagLocation = cpu_to_le32(loc); loc 312 fs/udf/namei.c struct kernel_lb_addr loc; loc 318 fs/udf/namei.c loc = lelb_to_cpu(cfi.icb.extLocation); loc 319 fs/udf/namei.c inode = udf_iget(dir->i_sb, &loc); loc 1241 fs/udf/namei.c struct kernel_lb_addr loc; loc 1246 fs/udf/namei.c loc.logicalBlockNum = block; loc 1247 fs/udf/namei.c loc.partitionReferenceNum = partref; loc 1248 fs/udf/namei.c inode = udf_iget(sb, &loc); loc 52 fs/udf/partition.c uint32_t loc; loc 68 fs/udf/partition.c loc = le32_to_cpu(((__le32 *)(iinfo->i_ext.i_data + loc 82 fs/udf/partition.c loc = udf_block_map(sbi->s_vat_inode, newblock); loc 84 fs/udf/partition.c bh = sb_bread(sb, loc); loc 87 fs/udf/partition.c sb, block, partition, loc, index); loc 91 fs/udf/partition.c loc = le32_to_cpu(((__le32 *)bh->b_data)[index]); loc 101 fs/udf/partition.c return udf_get_pblock(sb, loc, loc 1116 fs/udf/super.c struct kernel_lb_addr loc = { loc 1123 fs/udf/super.c inode = udf_iget_special(sb, &loc); loc 1334 fs/udf/super.c uint32_t loc; loc 1357 fs/udf/super.c loc = le32_to_cpu(spm->locSparingTable[i]); loc 1358 fs/udf/super.c bh = udf_read_tagged(sb, loc, loc, &ident); loc 1537 fs/udf/super.c static void udf_load_logicalvolint(struct super_block *sb, struct kernel_extent_ad loc) loc 1547 fs/udf/super.c while (loc.extLength > 0 && loc 1548 fs/udf/super.c (bh = udf_read_tagged(sb, loc.extLocation, loc 1549 fs/udf/super.c loc.extLocation, &ident))) { loc 1558 fs/udf/super.c loc.extLength -= sb->s_blocksize; loc 1559 fs/udf/super.c loc.extLocation++; loc 1572 fs/udf/super.c loc = leea_to_cpu(lvid->nextIntegrityExt); loc 2422 fs/udf/super.c struct kernel_lb_addr loc; loc 2428 fs/udf/super.c loc.logicalBlockNum = bitmap->s_extPosition; loc 2429 fs/udf/super.c loc.partitionReferenceNum = UDF_SB(sb)->s_partition; loc 2430 fs/udf/super.c bh = udf_read_ptagged(sb, &loc, 0, &ident); loc 2453 fs/udf/super.c newblock = udf_get_lb_pblock(sb, &loc, ++block); loc 209 fs/udf/udfdecl.h udf_get_lb_pblock(struct super_block *sb, struct kernel_lb_addr *loc, loc 212 fs/udf/udfdecl.h return udf_get_pblock(sb, loc->logicalBlockNum, loc 213 fs/udf/udfdecl.h loc->partitionReferenceNum, offset); loc 810 fs/ufs/balloc.c unsigned start, length, loc; loc 823 fs/ufs/balloc.c loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff + start, length, loc 826 fs/ufs/balloc.c if (loc == 0) { loc 828 fs/ufs/balloc.c loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff, length, loc 832 fs/ufs/balloc.c if (loc == 0) { loc 842 fs/ufs/balloc.c result = (start + length - loc) << 3; loc 255 fs/ufs/ufs_fs.h #define ufs_blkoff(loc) ((loc) & uspi->s_qbmask) loc 256 fs/ufs/ufs_fs.h #define ufs_fragoff(loc) ((loc) & uspi->s_qfmask) loc 258 fs/ufs/ufs_fs.h #define ufs_lblkno(loc) ((loc) >> uspi->s_bshift) loc 259 fs/ufs/ufs_fs.h #define ufs_numfrags(loc) ((loc) >> uspi->s_fshift) loc 64 include/linux/iio/common/cros_ec_sensors_core.h enum motionsensor_location loc; loc 72 include/linux/tpm.h int (*request_locality)(struct tpm_chip *chip, int loc); loc 73 include/linux/tpm.h int (*relinquish_locality)(struct tpm_chip *chip, int loc); loc 28 include/linux/vbox_utils.h struct vmmdev_hgcm_service_location *loc, loc 182 include/scsi/viosrp.h char loc[SRP_MAX_LOC_LEN]; loc 114 include/uapi/linux/vboxguest.h struct vmmdev_hgcm_service_location loc; loc 6975 kernel/trace/trace.c char loc[TRACING_LOG_LOC_MAX]; /* err location */ loc 7054 kernel/trace/trace.c const char *loc, const char *cmd, loc 7069 kernel/trace/trace.c snprintf(err->loc, TRACING_LOG_LOC_MAX, "%s: error: ", loc); loc 7138 kernel/trace/trace.c err->loc, err_text); loc 1906 kernel/trace/trace.h const char *loc, const char *cmd, loc 70 kernel/trace/trace_probe.h static nokprobe_inline u32 update_data_loc(u32 loc, int consumed) loc 72 kernel/trace/trace_probe.h u32 maxlen = get_loc_len(loc); loc 73 kernel/trace/trace_probe.h u32 offset = get_loc_offs(loc); loc 77 kernel/trace/trace_probe_tmpl.h u32 loc = 0; loc 125 kernel/trace/trace_probe_tmpl.h loc = *(u32 *)dest; loc 129 kernel/trace/trace_probe_tmpl.h loc = *(u32 *)dest; loc 159 kernel/trace/trace_probe_tmpl.h *(u32 *)dest = update_data_loc(loc, ret); loc 152 kernel/trace/trace_uprobe.c u32 loc = *(u32 *)dest; loc 153 kernel/trace/trace_uprobe.c int maxlen = get_loc_len(loc); loc 39 lib/reed_solomon/decode_rs.c uint16_t *loc = rsc->buffers + RS_DECODE_LOC * (nroots + 1); loc 218 lib/reed_solomon/decode_rs.c loc[count] = k; loc 295 lib/reed_solomon/decode_rs.c k = (fcr + i) * prim * (nn-loc[j]-1); loc 312 lib/reed_solomon/decode_rs.c eras_pos[j++] = loc[i] - pad; loc 318 lib/reed_solomon/decode_rs.c if (loc[i] < (nn - nroots)) loc 319 lib/reed_solomon/decode_rs.c data[loc[i] - pad] ^= b[i]; loc 321 lib/reed_solomon/decode_rs.c par[loc[i] - pad - len] ^= b[i]; loc 49 lib/ubsan.c struct source_location *loc) loc 51 lib/ubsan.c pr_err("%s %s:%d:%d\n", prefix, loc->file_name, loc 52 lib/ubsan.c loc->line & LINE_MASK, loc->column & COLUMN_MASK); loc 55 lib/ubsan.c static bool suppress_report(struct source_location *loc) loc 57 lib/ubsan.c return current->in_ubsan || was_reported(loc); loc 4509 mm/slub.c struct location *loc; loc 4515 mm/slub.c free_pages((unsigned long)t->loc, loc 4531 mm/slub.c memcpy(l, t->loc, sizeof(struct location) * t->count); loc 4535 mm/slub.c t->loc = l; loc 4560 mm/slub.c caddr = t->loc[pos].addr; loc 4563 mm/slub.c l = &t->loc[pos]; loc 4596 mm/slub.c l = t->loc + pos; loc 4664 mm/slub.c struct location *l = &t.loc[i]; loc 527 net/decnet/dn_nsp_out.c int ddl, unsigned char *dd, __le16 rem, __le16 loc) loc 546 net/decnet/dn_nsp_out.c *(__le16 *)msg = loc; loc 60 net/ipv6/ila/ila.h struct ila_locator loc; loc 32 net/ipv6/ila/ila_common.c (__be32 *)&iaddr->loc); loc 154 net/ipv6/ila/ila_common.c iaddr->loc = p->locator; loc 241 net/ipv6/ila/ila_lwt.c p->locator_match = iaddr->loc; loc 41 net/ipv6/ila/ila_xlat.c static inline u32 ila_locator_hash(struct ila_locator loc) loc 43 net/ipv6/ila/ila_xlat.c u32 *v = (u32 *)loc.v32; loc 50 net/ipv6/ila/ila_xlat.c struct ila_locator loc) loc 52 net/ipv6/ila/ila_xlat.c return &ilan->xlat.locks[ila_locator_hash(loc) & ilan->xlat.locks_mask]; loc 133 net/ipv6/ila/ila_xlat.c ila = rhashtable_lookup_fast(&ilan->xlat.rhash_table, &iaddr->loc, loc 128 net/sctp/stream_interleave.c struct sk_buff *pos, *loc; loc 154 net/sctp/stream_interleave.c loc = NULL; loc 161 net/sctp/stream_interleave.c loc = pos; loc 169 net/sctp/stream_interleave.c loc = pos; loc 174 net/sctp/stream_interleave.c if (!loc) loc 177 net/sctp/stream_interleave.c __skb_queue_before(&ulpq->reasm, loc, sctp_event2skb(event)); loc 378 net/sctp/stream_interleave.c struct sk_buff *pos, *loc; loc 398 net/sctp/stream_interleave.c loc = NULL; loc 403 net/sctp/stream_interleave.c loc = pos; loc 408 net/sctp/stream_interleave.c loc = pos; loc 413 net/sctp/stream_interleave.c if (!loc) loc 416 net/sctp/stream_interleave.c __skb_queue_before(&ulpq->lobby, loc, sctp_event2skb(event)); loc 26 samples/bpf/tracex2_kern.c long loc = 0; loc 33 samples/bpf/tracex2_kern.c BPF_KPROBE_READ_RET_IP(loc, ctx); loc 35 samples/bpf/tracex2_kern.c value = bpf_map_lookup_elem(&my_map, &loc); loc 39 samples/bpf/tracex2_kern.c bpf_map_update_elem(&my_map, &loc, &init_val, BPF_ANY); loc 14 scripts/dtc/dtc-parser.y #define ERROR(loc, ...) \ loc 16 scripts/dtc/dtc-parser.y srcpos_error((loc), "Error", __VA_ARGS__); \ loc 565 scripts/gcc-plugins/gcc-common.h #define fatal_error(loc, gmsgid, ...) fatal_error((gmsgid), __VA_ARGS__) loc 29 scripts/gcc-plugins/randomize_layout_plugin.c #define INFORM(loc, msg, ...) inform(loc, "randstruct: " msg, ##__VA_ARGS__) loc 30 scripts/gcc-plugins/randomize_layout_plugin.c #define MISMATCH(loc, how, ...) INFORM(loc, "casting between randomized structure pointer types (" how "): %qT and %qT\n", __VA_ARGS__) loc 218 scripts/sortextable.c uint32_t *loc = (uint32_t *)(extab_image + i); loc 220 scripts/sortextable.c w(r(loc) + i, loc); loc 221 scripts/sortextable.c w(r(loc + 1) + i + 4, loc + 1); loc 222 scripts/sortextable.c w(r(loc + 2) + i + 8, loc + 2); loc 231 scripts/sortextable.c uint32_t *loc = (uint32_t *)(extab_image + i); loc 233 scripts/sortextable.c w(r(loc) - i, loc); loc 234 scripts/sortextable.c w(r(loc + 1) - (i + 4), loc + 1); loc 235 scripts/sortextable.c w(r(loc + 2) - (i + 8), loc + 2); loc 251 scripts/sortextable.c uint32_t *loc = (uint32_t *)(extab_image + i); loc 252 scripts/sortextable.c w(r(loc) + i, loc); loc 261 scripts/sortextable.c uint32_t *loc = (uint32_t *)(extab_image + i); loc 262 scripts/sortextable.c w(r(loc) - i, loc); loc 192 sound/pci/hda/hda_auto_parser.c short assoc, loc, conn, dev; loc 205 sound/pci/hda/hda_auto_parser.c loc = get_defcfg_location(def_conf); loc 294 sound/pci/hda/hda_auto_parser.c (loc == AC_JACK_LOC_HDMI) ? loc 301 sound/pci/hda/hda_auto_parser.c if (loc == AC_JACK_LOC_HDMI) loc 448 sound/pci/hda/hda_auto_parser.c unsigned int loc = get_defcfg_location(def_conf); loc 455 sound/pci/hda/hda_auto_parser.c if ((loc & 0x30) == AC_JACK_LOC_INTERNAL) loc 457 sound/pci/hda/hda_auto_parser.c if ((loc & 0x30) == AC_JACK_LOC_SEPARATE) loc 459 sound/pci/hda/hda_auto_parser.c if (loc == AC_JACK_LOC_REAR) loc 461 sound/pci/hda/hda_auto_parser.c if (loc == AC_JACK_LOC_FRONT) loc 770 sound/soc/codecs/cs53l30.c unsigned int loc[CS53L30_TDM_SLOT_MAX] = {48, 48, 48, 48}; loc 798 sound/soc/codecs/cs53l30.c loc[i] = slot_next * slot_step; loc 800 sound/soc/codecs/cs53l30.c tx_enable |= (u64)((u64)(1 << slot_step) - 1) << (u64)loc[i]; loc 813 sound/soc/codecs/cs53l30.c slot_next = loc[i - 1] + slot_step - 1; loc 820 sound/soc/codecs/cs53l30.c for (i = 0; i < CS53L30_TDM_SLOT_MAX && loc[i] != 48; i++) { loc 822 sound/soc/codecs/cs53l30.c CS53L30_ASP_CHx_TX_LOC_MASK, loc[i]); loc 823 sound/soc/codecs/cs53l30.c dev_dbg(dai->dev, "loc[%d]=%x\n", i, loc[i]); loc 258 tools/perf/pmu-events/jevents.c jsmntok_t *loc = (t); \ loc 260 tools/perf/pmu-events/jevents.c loc = (t) - 1; \ loc 262 tools/perf/pmu-events/jevents.c json_line(map, loc), \ loc 1161 tools/perf/util/dwarf-aux.c Dwarf_Attribute loc; loc 1168 tools/perf/util/dwarf-aux.c return (dwarf_attr_integrate(vr_die, DW_AT_location, &loc) && loc 1169 tools/perf/util/dwarf-aux.c dwarf_whatform(&loc) == DW_FORM_sec_offset); loc 20 tools/perf/util/parse-events.y void parse_events_error(YYLTYPE *loc, void *parse_state, void *scanner, char const *msg); loc 717 tools/perf/util/parse-events.y void parse_events_error(YYLTYPE *loc, void *parse_state, loc 721 tools/perf/util/parse-events.y parse_events_evlist_error(parse_state, loc->last_column, "parser error"); loc 269 tools/testing/selftests/bpf/progs/strobemeta.h static __always_inline void *calc_location(struct strobe_value_loc *loc, loc 284 tools/testing/selftests/bpf/progs/strobemeta.h if (loc->tls_mode <= TLS_LOCAL_EXEC) { loc 287 tools/testing/selftests/bpf/progs/strobemeta.h void *addr = tls_base + loc->offset; loc 290 tools/testing/selftests/bpf/progs/strobemeta.h return (void *)((loc->tls_mode + 1) * (int64_t)addr); loc 313 tools/testing/selftests/bpf/progs/strobemeta.h (void *)loc->offset);