/linux-4.1.27/arch/s390/kernel/ |
D | module.c | 170 static int apply_rela_bits(Elf_Addr loc, Elf_Addr val, in apply_rela_bits() argument 192 *(unsigned char *) loc = val; in apply_rela_bits() 194 *(unsigned short *) loc = (val & 0xfff) | in apply_rela_bits() 195 (*(unsigned short *) loc & 0xf000); in apply_rela_bits() 197 *(unsigned short *) loc = val; in apply_rela_bits() 199 *(unsigned int *) loc = (val & 0xfff) << 16 | in apply_rela_bits() 201 (*(unsigned int *) loc & 0xf00000ff); in apply_rela_bits() 203 *(unsigned int *) loc = val; in apply_rela_bits() 205 *(unsigned long *) loc = val; in apply_rela_bits() 213 Elf_Addr loc, val; in apply_rela() local [all …]
|
D | head.S | 175 l %r2,.Linitrd # ramdisk loc. is temp
|
/linux-4.1.27/arch/arm64/kernel/ |
D | module.c | 206 void *loc; in apply_relocate_add() local 212 loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 236 ovf = reloc_data(RELOC_OP_ABS, loc, val, 64); in apply_relocate_add() 239 ovf = reloc_data(RELOC_OP_ABS, loc, val, 32); in apply_relocate_add() 242 ovf = reloc_data(RELOC_OP_ABS, loc, val, 16); in apply_relocate_add() 246 ovf = reloc_data(RELOC_OP_PREL, loc, val, 64); in apply_relocate_add() 249 ovf = reloc_data(RELOC_OP_PREL, loc, val, 32); in apply_relocate_add() 252 ovf = reloc_data(RELOC_OP_PREL, loc, val, 16); in apply_relocate_add() 259 ovf = reloc_insn_movw(RELOC_OP_ABS, loc, val, 0, in apply_relocate_add() 265 ovf = reloc_insn_movw(RELOC_OP_ABS, loc, val, 16, in apply_relocate_add() [all …]
|
/linux-4.1.27/arch/nios2/kernel/ |
D | module.c | 57 uint32_t *loc in apply_relocate_add() local 75 *loc += v; in apply_relocate_add() 78 v -= (uint32_t)loc + 4; in apply_relocate_add() 85 word = *loc; in apply_relocate_add() 86 *loc = ((((word >> 22) << 16) | (v & 0xffff)) << 6) | in apply_relocate_add() 95 if ((v >> 28) != ((uint32_t)loc >> 28)) { in apply_relocate_add() 100 *loc = (*loc & 0x3f) | ((v >> 2) << 6); in apply_relocate_add() 103 word = *loc; in apply_relocate_add() 104 *loc = ((((word >> 22) << 16) | in apply_relocate_add() 108 word = *loc; in apply_relocate_add() [all …]
|
/linux-4.1.27/arch/x86/kernel/ |
D | livepatch.c | 39 unsigned long loc, unsigned long value) in klp_write_module_reloc() argument 62 val = (u32)(value - loc); in klp_write_module_reloc() 69 if (loc < core || loc >= core + core_size) in klp_write_module_reloc() 73 if (loc < core + core_ro_size) in klp_write_module_reloc() 79 numpages = ((loc & PAGE_MASK) == ((loc + size) & PAGE_MASK)) ? 1 : 2; in klp_write_module_reloc() 82 set_memory_rw(loc & PAGE_MASK, numpages); in klp_write_module_reloc() 84 ret = probe_kernel_write((void *)loc, &val, size); in klp_write_module_reloc() 87 set_memory_ro(loc & PAGE_MASK, numpages); in klp_write_module_reloc()
|
D | module.c | 148 void *loc; in apply_relocate_add() local 155 loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 165 sym->st_value, rel[i].r_addend, (u64)loc); in apply_relocate_add() 173 *(u64 *)loc = val; in apply_relocate_add() 176 *(u32 *)loc = val; in apply_relocate_add() 177 if (val != *(u32 *)loc) in apply_relocate_add() 181 *(s32 *)loc = val; in apply_relocate_add() 182 if ((s64)val != *(s32 *)loc) in apply_relocate_add() 186 val -= (u64)loc; in apply_relocate_add() 187 *(u32 *)loc = val; in apply_relocate_add() [all …]
|
/linux-4.1.27/arch/arm/kernel/ |
D | module.c | 60 unsigned long loc; in apply_relocate() local 86 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate() 95 *(u32 *)loc += sym->st_value; in apply_relocate() 107 offset = __mem_to_opcode_arm(*(u32 *)loc); in apply_relocate() 112 offset += sym->st_value - loc; in apply_relocate() 117 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate() 125 *(u32 *)loc &= __opcode_to_mem_arm(0xff000000); in apply_relocate() 126 *(u32 *)loc |= __opcode_to_mem_arm(offset); in apply_relocate() 134 *(u32 *)loc &= __opcode_to_mem_arm(0xf000000f); in apply_relocate() 135 *(u32 *)loc |= __opcode_to_mem_arm(0x01a0f000); in apply_relocate() [all …]
|
/linux-4.1.27/arch/parisc/kernel/ |
D | module.c | 101 static inline int in_init(struct module *me, void *loc) in in_init() argument 103 return (loc >= me->module_init && in in_init() 104 loc <= (me->module_init + me->init_size)); in in_init() 107 static inline int in_core(struct module *me, void *loc) in in_core() argument 109 return (loc >= me->module_core && in in_core() 110 loc <= (me->module_core + me->core_size)); in in_core() 113 static inline int in_local(struct module *me, void *loc) in in_local() argument 115 return in_init(me, loc) || in_core(me, loc); in in_local() 547 Elf32_Word *loc; in apply_relocate_add() local 560 loc = (void *)sechdrs[targetsec].sh_addr in apply_relocate_add() [all …]
|
/linux-4.1.27/drivers/macintosh/ |
D | windfarm_lm75_sensor.c | 96 const char *name, *loc; in wf_lm75_probe() local 101 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); in wf_lm75_probe() 102 if (!loc) { in wf_lm75_probe() 111 if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY")) in wf_lm75_probe() 113 else if (!strcmp(loc, "Incoming Air Temp")) in wf_lm75_probe() 115 else if (!strcmp(loc, "ODD Temp")) in wf_lm75_probe() 117 else if (!strcmp(loc, "HD Temp")) in wf_lm75_probe() 119 else if (!strcmp(loc, "PCI SLOTS")) in wf_lm75_probe() 121 else if (!strcmp(loc, "CPU A INLET")) in wf_lm75_probe() 123 else if (!strcmp(loc, "CPU B INLET")) in wf_lm75_probe()
|
D | windfarm_max6690_sensor.c | 67 const char *name, *loc; in wf_max6690_probe() local 71 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); in wf_max6690_probe() 72 if (!loc) { in wf_max6690_probe() 81 if (!strcmp(loc, "BACKSIDE") || !strcmp(loc, "SYS CTRLR AMBIENT")) in wf_max6690_probe() 83 else if (!strcmp(loc, "NB Ambient")) in wf_max6690_probe() 85 else if (!strcmp(loc, "GPU Ambient")) in wf_max6690_probe()
|
D | windfarm_lm87_sensor.c | 104 const char *name = NULL, *loc; in wf_lm87_probe() local 116 loc = of_get_property(np, "location", NULL); in wf_lm87_probe() 117 if (!loc) in wf_lm87_probe() 119 if (strstr(loc, "DIMM")) in wf_lm87_probe() 121 else if (strstr(loc, "Processors")) in wf_lm87_probe()
|
D | windfarm_smu_sat.c | 211 const char *loc, *type; in wf_sat_probe() local 235 loc = of_get_property(child, "location", NULL); in wf_sat_probe() 236 if (reg == NULL || loc == NULL) in wf_sat_probe() 245 if (strncmp(loc, "CPU ", 4) != 0) in wf_sat_probe() 247 chip = loc[4] - 'A'; in wf_sat_probe() 248 core = loc[5] - '0'; in wf_sat_probe() 251 "location %s for %s\n", loc, child->full_name); in wf_sat_probe() 259 "multiple CPU chips on one SAT (%s)\n", loc); in wf_sat_probe()
|
D | windfarm_ad7417_sensor.c | 238 const char *loc; in wf_ad7417_probe() local 241 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); in wf_ad7417_probe() 242 if (!loc) { in wf_ad7417_probe() 251 if (!strncmp(loc, "CPU A", 5)) in wf_ad7417_probe() 253 else if (!strncmp(loc, "CPU B", 5)) in wf_ad7417_probe() 256 pr_err("wf_ad7417: Can't identify location %s\n", loc); in wf_ad7417_probe()
|
D | windfarm_fcu_controls.c | 435 const char *loc; in wf_fcu_lookup_fans() local 453 loc = of_get_property(np, "location", NULL); in wf_fcu_lookup_fans() 455 if (loc == NULL || reg == NULL) in wf_fcu_lookup_fans() 457 DBG(" matching location: %s, reg: 0x%08x\n", loc, *reg); in wf_fcu_lookup_fans() 460 if (strncmp(loc, loc_trans[i].dt_name, in wf_fcu_lookup_fans()
|
/linux-4.1.27/arch/score/kernel/ |
D | module.c | 41 unsigned long loc; in apply_relocate() local 64 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate() 69 *(unsigned long *)loc += sym->st_value; in apply_relocate() 77 temp_hi = *((unsigned long *)loc - 1); in apply_relocate() 78 temp = *(unsigned long *)loc; in apply_relocate() 91 *((unsigned long *)loc - 1) = temp_hi; in apply_relocate() 96 *(unsigned long *)loc = temp; in apply_relocate() 104 temp = *(unsigned long *)loc; in apply_relocate() 115 *(unsigned long *)loc = temp; in apply_relocate()
|
/linux-4.1.27/fs/ntfs/ |
D | runlist.c | 219 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_append() argument 228 if ((loc + 1) < dsize) in ntfs_rl_append() 229 right = ntfs_are_rl_mergeable(src + ssize - 1, dst + loc + 1); in ntfs_rl_append() 242 __ntfs_rl_merge(src + ssize - 1, dst + loc + 1); in ntfs_rl_append() 245 marker = loc + ssize + 1; in ntfs_rl_append() 248 ntfs_rl_mm(dst, marker, loc + 1 + right, dsize - (loc + 1 + right)); in ntfs_rl_append() 249 ntfs_rl_mc(dst, loc + 1, src, 0, ssize); in ntfs_rl_append() 252 dst[loc].length = dst[loc + 1].vcn - dst[loc].vcn; in ntfs_rl_append() 286 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_insert() argument 299 if (loc == 0) in ntfs_rl_insert() [all …]
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | module.c | 43 unsigned long loc; in apply_relocate() local 67 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate() 75 *(u32 *)loc += sym->st_value; in apply_relocate() 81 offset = (*(u32 *)loc & 0x00ffffff) << 2; in apply_relocate() 85 offset += sym->st_value - loc; in apply_relocate() 98 *(u32 *)loc &= 0xff000000; in apply_relocate() 99 *(u32 *)loc |= offset & 0x00ffffff; in apply_relocate()
|
/linux-4.1.27/fs/ocfs2/ |
D | xattr.c | 148 int (*xlo_journal_access)(handle_t *handle, struct ocfs2_xa_loc *loc, 150 void (*xlo_journal_dirty)(handle_t *handle, struct ocfs2_xa_loc *loc); 156 void *(*xlo_offset_pointer)(struct ocfs2_xa_loc *loc, int offset); 159 int (*xlo_can_reuse)(struct ocfs2_xa_loc *loc, 163 int (*xlo_check_space)(struct ocfs2_xa_loc *loc, 170 int (*xlo_get_free_start)(struct ocfs2_xa_loc *loc); 176 void (*xlo_wipe_namevalue)(struct ocfs2_xa_loc *loc); 179 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash); 182 void (*xlo_add_namevalue)(struct ocfs2_xa_loc *loc, int size); 188 void (*xlo_fill_value_buf)(struct ocfs2_xa_loc *loc, [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | layout.c | 1742 enum req_location loc) in __req_msg() argument 1747 return loc == RCL_CLIENT ? req->rq_reqmsg : req->rq_repmsg; in __req_msg() 1772 enum req_location loc) in req_capsule_filled_sizes() argument 1779 for (i = 0; i < fmt->rf_fields[loc].nr; ++i) { in req_capsule_filled_sizes() 1780 if (pill->rc_area[loc][i] == -1) { in req_capsule_filled_sizes() 1781 pill->rc_area[loc][i] = in req_capsule_filled_sizes() 1782 fmt->rf_fields[loc].d[i]->rmf_size; in req_capsule_filled_sizes() 1783 if (pill->rc_area[loc][i] == -1) { in req_capsule_filled_sizes() 1790 LASSERT(loc != RCL_SERVER); in req_capsule_filled_sizes() 1834 enum req_location loc) in __req_capsule_offset() argument [all …]
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 98 static int qib_sd7220_reg_mod(struct qib_devdata *dd, int sdnum, u32 loc, 100 static int ibsd_mod_allchnls(struct qib_devdata *dd, int loc, int val, 178 u32 loc; in qib_resync_ibepb() local 183 loc = IB_PGUDP(chn); in qib_resync_ibepb() 184 ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, 0, 0); in qib_resync_ibepb() 192 ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, pat, 0xFF); in qib_resync_ibepb() 197 ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, 0, 0); in qib_resync_ibepb() 206 loc = IB_CMUDONE(chn); in qib_resync_ibepb() 207 ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, 0, 0); in qib_resync_ibepb() 656 static int qib_sd7220_reg_mod(struct qib_devdata *dd, int sdnum, u32 loc, in qib_sd7220_reg_mod() argument [all …]
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | shadow_console.c | 59 int *loc = (int *)SHADOW_CONSOLE_MAGIC_LOC; in mark_shadow_error() local 60 loc[0] = SHADOW_CONSOLE_MAGIC; in mark_shadow_error() 61 loc[1] = SHADOW_CONSOLE_START; in mark_shadow_error() 81 int *loc = (int *)SHADOW_CONSOLE_MAGIC_LOC; in disable_shadow_console() local 83 loc[0] = 0; in disable_shadow_console()
|
/linux-4.1.27/tools/perf/scripts/python/ |
D | net_dropmonitor.py | 25 loc = int(line.split()[0], 16) 27 kallsyms.append((loc, name)) 31 loc = int(sloc) 38 if loc < kallsyms[pivot][0]: 47 return (name, loc - symloc)
|
/linux-4.1.27/samples/bpf/ |
D | tracex2_kern.c | 26 long loc = 0; in bpf_prog2() local 33 bpf_probe_read(&loc, sizeof(loc), (void *)ctx->sp); in bpf_prog2() 35 value = bpf_map_lookup_elem(&my_map, &loc); in bpf_prog2() 39 bpf_map_update_elem(&my_map, &loc, &init_val, BPF_ANY); in bpf_prog2()
|
/linux-4.1.27/arch/cris/kernel/ |
D | module.c | 59 uint32_t *loc in apply_relocate_add() local 69 *loc = sym->st_value + rela[i].r_addend; in apply_relocate_add() 72 *loc = sym->st_value - (unsigned)loc + rela[i].r_addend - 4; in apply_relocate_add()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | rtas-proc.c | 247 struct individual_sensor *s, int state, int error, const char *loc); 250 struct individual_sensor *s, const char *loc); 430 const char *loc; in ppc_rtas_sensors_show() local 434 loc = of_get_property(rtas_node, rstr, &llen); in ppc_rtas_sensors_show() 441 ppc_rtas_process_sensor(m, p, state, error, loc); in ppc_rtas_sensors_show() 443 if (loc) { in ppc_rtas_sensors_show() 444 offs += strlen(loc) + 1; in ppc_rtas_sensors_show() 445 loc += strlen(loc) + 1; in ppc_rtas_sensors_show() 447 loc = NULL; in ppc_rtas_sensors_show() 514 struct individual_sensor *s, int state, int error, const char *loc) in ppc_rtas_process_sensor() argument [all …]
|
D | eeh_pe.c | 865 const char *loc = NULL; in eeh_pe_loc_get() local 875 loc = of_get_property(dn, "ibm,io-base-loc-code", NULL); in eeh_pe_loc_get() 877 loc = of_get_property(dn, "ibm,slot-location-code", in eeh_pe_loc_get() 880 if (loc) in eeh_pe_loc_get() 881 return loc; in eeh_pe_loc_get()
|
D | exceptions-64e.S | 462 #define EXCEPTION_STUB(loc, label) \ argument 463 . = interrupt_base_book3e + loc; \
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-pcf8583.c | 25 unsigned int loc; member 152 if (mem->loc < 8) in pcf8583_read_mem() 155 addr[0] = mem->loc; in pcf8583_read_mem() 165 if (mem->loc < 8 || mem->nr > 8) in pcf8583_write_mem() 168 buf[0] = mem->loc; in pcf8583_write_mem() 180 .loc = CMOS_YEAR, in pcf8583_rtc_read_time() 230 .loc = CMOS_YEAR, in pcf8583_rtc_set_time() 235 .loc = CMOS_CHECKSUM, in pcf8583_rtc_set_time()
|
/linux-4.1.27/fs/jfs/ |
D | jfs_types.h | 113 pxd_t loc; /* 8: address and length in unit of fsblksize */ member 125 #define DXDlength(dxd, len) PXDlength(&(dxd)->loc, len) 126 #define DXDaddress(dxd, addr) PXDaddress(&(dxd)->loc, addr) 127 #define lengthDXD(dxd) lengthPXD(&(dxd)->loc) 128 #define addressDXD(dxd) addressPXD(&(dxd)->loc)
|
D | jfs_xtree.h | 36 pxd_t loc; /* 8: length and address in unit of fsblksize */ member 50 #define XADaddress(xad, address64) PXDaddress(&(xad)->loc, address64) 51 #define XADlength(xad, length32) PXDlength(&(xad)->loc, length32) 56 #define addressXAD(xad) addressPXD(&(xad)->loc) 57 #define lengthXAD(xad) lengthPXD(&(xad)->loc)
|
/linux-4.1.27/drivers/input/mouse/ |
D | trackpoint.c | 50 unsigned char loc, unsigned char *results) in trackpoint_read() argument 53 ps2_command(ps2dev, results, MAKE_PS2_CMD(0, 1, loc))) { in trackpoint_read() 61 unsigned char loc, unsigned char val) in trackpoint_write() argument 65 ps2_command(ps2dev, NULL, MAKE_PS2_CMD(0, 0, loc)) || in trackpoint_write() 74 unsigned char loc, unsigned char mask) in trackpoint_toggle_bit() argument 77 if (loc < 0x20 || loc >= 0x2F) in trackpoint_toggle_bit() 82 ps2_command(ps2dev, NULL, MAKE_PS2_CMD(0, 0, loc)) || in trackpoint_toggle_bit() 90 static int trackpoint_update_bit(struct ps2dev *ps2dev, unsigned char loc, in trackpoint_update_bit() argument 96 trackpoint_read(ps2dev, loc, &data); in trackpoint_update_bit() 98 retval = trackpoint_toggle_bit(ps2dev, loc, mask); in trackpoint_update_bit()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_context.c | 677 struct vmw_ctx_binding *loc; in vmw_context_binding_add() local 686 loc = &cbs->render_targets[bi->i1.rt_type]; in vmw_context_binding_add() 695 loc = &cbs->texture_units[bi->i1.texture_stage]; in vmw_context_binding_add() 704 loc = &cbs->shaders[bi->i1.shader_type]; in vmw_context_binding_add() 710 if (loc->bi.ctx != NULL) in vmw_context_binding_add() 711 vmw_context_binding_drop(loc); in vmw_context_binding_add() 713 loc->bi = *bi; in vmw_context_binding_add() 714 loc->bi.scrubbed = false; in vmw_context_binding_add() 715 list_add_tail(&loc->ctx_list, &cbs->list); in vmw_context_binding_add() 716 INIT_LIST_HEAD(&loc->res_list); in vmw_context_binding_add() [all …]
|
/linux-4.1.27/drivers/char/tpm/ |
D | tpm_i2c_infineon.c | 280 static int check_locality(struct tpm_chip *chip, int loc) in check_locality() argument 285 rc = iic_tpm_read(TPM_ACCESS(loc), &buf, 1); in check_locality() 291 chip->vendor.locality = loc; in check_locality() 292 return loc; in check_locality() 299 static void release_locality(struct tpm_chip *chip, int loc, int force) in release_locality() argument 302 if (iic_tpm_read(TPM_ACCESS(loc), &buf, 1) < 0) in release_locality() 308 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in release_locality() 312 static int request_locality(struct tpm_chip *chip, int loc) in request_locality() argument 317 if (check_locality(chip, loc) >= 0) in request_locality() 318 return loc; in request_locality() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_req_layout.h | 86 int req_capsule_filled_sizes(struct req_capsule *pill, enum req_location loc); 113 enum req_location loc, int size); 116 enum req_location loc); 117 int req_capsule_msg_size(struct req_capsule *pill, enum req_location loc); 119 enum req_location loc); 124 enum req_location loc); 127 enum req_location loc); 131 enum req_location loc);
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | exception-64s.h | 356 #define STD_EXCEPTION_PSERIES(loc, vec, label) \ argument 357 . = loc; \ 372 #define STD_EXCEPTION_HV(loc, vec, label) \ argument 373 . = loc; \ 388 #define STD_RELON_EXCEPTION_PSERIES(loc, vec, label) \ argument 389 . = loc; \ 404 #define STD_RELON_EXCEPTION_HV(loc, vec, label) \ argument 405 . = loc; \ 462 #define MASKABLE_EXCEPTION_PSERIES(loc, vec, label) \ argument 463 . = loc; \ [all …]
|
/linux-4.1.27/fs/udf/ |
D | misc.c | 48 uint32_t type, uint8_t loc) in udf_add_extendedattr() argument 68 if (loc & 0x01 && offset >= size) { in udf_add_extendedattr() 144 if (loc & 0x02) in udf_add_extendedattr() 261 struct kernel_lb_addr *loc, in udf_read_ptagged() argument 264 return udf_read_tagged(sb, udf_get_lb_pblock(sb, loc, offset), in udf_read_ptagged() 265 loc->logicalBlockNum + offset, ident); in udf_read_ptagged() 279 uint32_t loc, int length) in udf_new_tag() argument 285 tptr->tagLocation = cpu_to_le32(loc); in udf_new_tag()
|
D | partition.c | 52 uint32_t loc; in udf_get_pblock_virt15() local 68 loc = le32_to_cpu(((__le32 *)(iinfo->i_ext.i_data + in udf_get_pblock_virt15() 82 loc = udf_block_map(sbi->s_vat_inode, newblock); in udf_get_pblock_virt15() 84 bh = sb_bread(sb, loc); in udf_get_pblock_virt15() 87 sb, block, partition, loc, index); in udf_get_pblock_virt15() 91 loc = le32_to_cpu(((__le32 *)bh->b_data)[index]); in udf_get_pblock_virt15() 101 return udf_get_pblock(sb, loc, in udf_get_pblock_virt15()
|
D | udfdecl.h | 206 udf_get_lb_pblock(struct super_block *sb, struct kernel_lb_addr *loc, in udf_get_lb_pblock() argument 209 return udf_get_pblock(sb, loc->logicalBlockNum, in udf_get_lb_pblock() 210 loc->partitionReferenceNum, offset); in udf_get_lb_pblock()
|
D | super.c | 1114 struct kernel_lb_addr loc = { in udf_fill_partdesc_info() local 1121 inode = udf_iget_special(sb, &loc); in udf_fill_partdesc_info() 1149 struct kernel_lb_addr loc = { in udf_fill_partdesc_info() local 1156 inode = udf_iget_special(sb, &loc); in udf_fill_partdesc_info() 1366 uint32_t loc; in udf_load_sparable_map() local 1389 loc = le32_to_cpu(spm->locSparingTable[i]); in udf_load_sparable_map() 1390 bh = udf_read_tagged(sb, loc, loc, &ident); in udf_load_sparable_map() 1555 static void udf_load_logicalvolint(struct super_block *sb, struct kernel_extent_ad loc) in udf_load_logicalvolint() argument 1562 while (loc.extLength > 0 && in udf_load_logicalvolint() 1563 (bh = udf_read_tagged(sb, loc.extLocation, in udf_load_logicalvolint() [all …]
|
D | namei.c | 279 struct kernel_lb_addr loc; in udf_lookup() local 285 loc = lelb_to_cpu(cfi.icb.extLocation); in udf_lookup() 286 inode = udf_iget(dir->i_sb, &loc); in udf_lookup() 1202 struct kernel_lb_addr loc; in udf_nfs_get_inode() local 1207 loc.logicalBlockNum = block; in udf_nfs_get_inode() 1208 loc.partitionReferenceNum = partref; in udf_nfs_get_inode() 1209 inode = udf_iget(sb, &loc); in udf_nfs_get_inode()
|
D | balloc.c | 40 struct kernel_lb_addr loc; in read_block_bitmap() local 42 loc.logicalBlockNum = bitmap->s_extPosition; in read_block_bitmap() 43 loc.partitionReferenceNum = UDF_SB(sb)->s_partition; in read_block_bitmap() 45 bh = udf_tread(sb, udf_get_lb_pblock(sb, &loc, block)); in read_block_bitmap()
|
D | inode.c | 1333 struct kernel_lb_addr loc; in udf_read_inode() local 1337 loc = lelb_to_cpu(ie->indirectICB.extLocation); in udf_read_inode() 1341 memcpy(&iinfo->i_location, &loc, in udf_read_inode()
|
/linux-4.1.27/fs/nfs/ |
D | nfs4namespace.c | 306 int loc, error; in nfs_follow_referral() local 328 for (loc = 0; loc < locations->nlocations; loc++) { in nfs_follow_referral() 329 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral() 491 int loc, error; in nfs4_replace_transport() local 505 for (loc = 0; loc < locations->nlocations; loc++) { in nfs4_replace_transport() 507 &locations->locations[loc]; in nfs4_replace_transport()
|
D | nfs4xdr.c | 3604 struct nfs4_fs_location *loc; in decode_attr_fs_locations() local 3608 loc = &res->locations[res->nlocations]; in decode_attr_fs_locations() 3615 for (loc->nservers = 0; loc->nservers < m; loc->nservers++) { in decode_attr_fs_locations() 3618 if (loc->nservers == NFS4_FS_LOCATION_MAXSERVERS) { in decode_attr_fs_locations() 3625 for (i = loc->nservers; i < m; i++) { in decode_attr_fs_locations() 3634 server = &loc->servers[loc->nservers]; in decode_attr_fs_locations() 3640 status = decode_pathname(xdr, &loc->rootpath); in decode_attr_fs_locations()
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
D | solo6x10-eeprom.c | 103 __be16 solo_eeprom_read(struct solo_dev *solo_dev, int loc) in solo_eeprom_read() argument 105 int read_cmd = loc | (EE_READ_CMD << ADDR_LEN); in solo_eeprom_read() 123 int solo_eeprom_write(struct solo_dev *solo_dev, int loc, in solo_eeprom_write() argument 126 int write_cmd = loc | (EE_WRITE_CMD << ADDR_LEN); in solo_eeprom_write()
|
D | solo6x10.h | 396 __be16 solo_eeprom_read(struct solo_dev *solo_dev, int loc); 397 int solo_eeprom_write(struct solo_dev *solo_dev, int loc,
|
/linux-4.1.27/scripts/ |
D | sortextable.c | 218 uint32_t *loc = (uint32_t *)(extab_image + i); in sort_relative_table() local 219 w(r(loc) + i, loc); in sort_relative_table() 228 uint32_t *loc = (uint32_t *)(extab_image + i); in sort_relative_table() local 229 w(r(loc) - i, loc); in sort_relative_table()
|
/linux-4.1.27/lib/reed_solomon/ |
D | decode_rs.c | 36 uint16_t root[nroots], reg[nroots + 1], loc[nroots]; variable 193 loc[count] = k; 246 if (num1 != 0 && loc[j] >= pad) { 258 if (data && (loc[j] < (nn - nroots))) 259 data[loc[j] - pad] ^= cor; 267 eras_pos[i] = loc[i] - pad;
|
/linux-4.1.27/fs/ |
D | binfmt_elf.c | 683 } *loc; in load_elf_binary() local 686 loc = kmalloc(sizeof(*loc), GFP_KERNEL); in load_elf_binary() 687 if (!loc) { in load_elf_binary() 693 loc->elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary() 697 if (memcmp(loc->elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary() 700 if (loc->elf_ex.e_type != ET_EXEC && loc->elf_ex.e_type != ET_DYN) in load_elf_binary() 702 if (!elf_check_arch(&loc->elf_ex)) in load_elf_binary() 707 elf_phdata = load_elf_phdrs(&loc->elf_ex, bprm->file); in load_elf_binary() 720 for (i = 0; i < loc->elf_ex.e_phnum; i++) { in load_elf_binary() 771 loc->interp_elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary() [all …]
|
/linux-4.1.27/security/selinux/ss/ |
D | sidtab.c | 150 static void sidtab_update_cache(struct sidtab *s, struct sidtab_node *n, int loc) in sidtab_update_cache() argument 152 BUG_ON(loc >= SIDTAB_CACHE_LEN); in sidtab_update_cache() 154 while (loc > 0) { in sidtab_update_cache() 155 s->cache[loc] = s->cache[loc - 1]; in sidtab_update_cache() 156 loc--; in sidtab_update_cache()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_mcg.c | 221 int i, loc; in mthca_multicast_detach() local 241 for (loc = -1, i = 0; i < MTHCA_QP_PER_MGM; ++i) { in mthca_multicast_detach() 243 loc = i; in mthca_multicast_detach() 248 if (loc == -1) { in mthca_multicast_detach() 254 mgm->qp[loc] = mgm->qp[i - 1]; in mthca_multicast_detach()
|
/linux-4.1.27/drivers/net/usb/ |
D | sr9700.c | 176 static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc) in sr_mdio_read() argument 188 if (loc == MII_BMSR) { in sr_mdio_read() 195 sr_share_read_word(dev, 1, loc, &res); in sr_mdio_read() 202 phy_id, loc, res); in sr_mdio_read() 207 static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc, in sr_mdio_write() argument 219 phy_id, loc, val); in sr_mdio_write() 221 sr_share_write_word(dev, 1, loc, res); in sr_mdio_write()
|
D | dm9601.c | 219 static int dm9601_mdio_read(struct net_device *netdev, int phy_id, int loc) in dm9601_mdio_read() argument 230 dm_read_shared_word(dev, 1, loc, &res); in dm9601_mdio_read() 234 phy_id, loc, le16_to_cpu(res)); in dm9601_mdio_read() 239 static void dm9601_mdio_write(struct net_device *netdev, int phy_id, int loc, in dm9601_mdio_write() argument 251 phy_id, loc, val); in dm9601_mdio_write() 253 dm_write_shared_word(dev, 1, loc, res); in dm9601_mdio_write()
|
D | asix_common.c | 365 int asix_mdio_read(struct net_device *netdev, int phy_id, int loc) in asix_mdio_read() argument 373 (__u16)loc, 2, &res); in asix_mdio_read() 378 phy_id, loc, le16_to_cpu(res)); in asix_mdio_read() 383 void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) in asix_mdio_write() argument 389 phy_id, loc, val); in asix_mdio_write() 392 asix_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, &res); in asix_mdio_write()
|
D | asix.h | 218 int asix_mdio_read(struct net_device *netdev, int phy_id, int loc); 219 void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val);
|
D | sr9800.c | 336 static int sr_mdio_read(struct net_device *net, int phy_id, int loc) in sr_mdio_read() argument 343 sr_read_cmd(dev, SR_CMD_READ_MII_REG, phy_id, (__u16)loc, 2, &res); in sr_mdio_read() 349 phy_id, loc, le16_to_cpu(res)); in sr_mdio_read() 355 sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) in sr_mdio_write() argument 362 phy_id, loc, val); in sr_mdio_write() 365 sr_write_cmd(dev, SR_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, &res); in sr_mdio_write()
|
D | pegasus.c | 247 static int mdio_read(struct net_device *dev, int phy_id, int loc) in mdio_read() argument 252 read_mii_word(pegasus, phy_id, loc, &res); in mdio_read() 256 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val) in mdio_write() argument 261 write_mii_word(pegasus, phy_id, loc, &data); in mdio_write()
|
D | ax88179_178a.c | 364 static int ax88179_mdio_read(struct net_device *netdev, int phy_id, int loc) in ax88179_mdio_read() argument 369 ax88179_read_cmd(dev, AX_ACCESS_PHY, phy_id, (__u16)loc, 2, &res); in ax88179_mdio_read() 373 static void ax88179_mdio_write(struct net_device *netdev, int phy_id, int loc, in ax88179_mdio_write() argument 379 ax88179_write_cmd(dev, AX_ACCESS_PHY, phy_id, (__u16)loc, 2, &res); in ax88179_mdio_write()
|
/linux-4.1.27/arch/avr32/kernel/ |
D | module.c | 142 #define get_u16(loc) (*((uint16_t *)loc)) argument 143 #define put_u16(loc, val) (*((uint16_t *)loc) = (val)) argument
|
/linux-4.1.27/arch/arc/kernel/ |
D | unwind.c | 141 uleb128_t loc, org; member 647 state->loc += delta * state->codeAlign; in advance_loc() 652 unw_debug("delta %3lu => loc 0x%lx: ", delta, state->loc); in advance_loc() 697 state->loc = state->org; in processCFI() 716 state->loc = read_pointer(&ptr.p8, end, in processCFI() 718 if (state->loc == 0) in processCFI() 720 unw_debug("cfa_set_loc: 0x%lx ", state->loc); in processCFI() 790 const uleb128_t loc = state->loc; in processCFI() local 803 state->loc = loc; in processCFI() 867 if (result && targetLoc != 0 && targetLoc < state->loc) in processCFI() [all …]
|
/linux-4.1.27/arch/um/os-Linux/ |
D | process.c | 135 void *loc; in os_map_memory() local 141 loc = mmap64((void *) virt, len, prot, MAP_SHARED | MAP_FIXED, in os_map_memory() 143 if (loc == MAP_FAILED) in os_map_memory()
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_auto_parser.c | 196 short assoc, loc, conn, dev; in snd_hda_parse_pin_defcfg() local 209 loc = get_defcfg_location(def_conf); in snd_hda_parse_pin_defcfg() 298 (loc == AC_JACK_LOC_HDMI) ? in snd_hda_parse_pin_defcfg() 305 if (loc == AC_JACK_LOC_HDMI) in snd_hda_parse_pin_defcfg() 452 unsigned int loc = get_defcfg_location(def_conf); in snd_hda_get_input_pin_attr() local 459 if ((loc & 0x30) == AC_JACK_LOC_INTERNAL) in snd_hda_get_input_pin_attr() 461 if ((loc & 0x30) == AC_JACK_LOC_SEPARATE) in snd_hda_get_input_pin_attr() 463 if (loc == AC_JACK_LOC_REAR) in snd_hda_get_input_pin_attr() 465 if (loc == AC_JACK_LOC_FRONT) in snd_hda_get_input_pin_attr()
|
/linux-4.1.27/drivers/char/ |
D | applicom.c | 130 static int ac_register_board(unsigned long physloc, void __iomem *loc, in ac_register_board() argument 135 if((readb(loc + CONF_END_TEST) != 0x00) || in ac_register_board() 136 (readb(loc + CONF_END_TEST + 1) != 0x55) || in ac_register_board() 137 (readb(loc + CONF_END_TEST + 2) != 0xAA) || in ac_register_board() 138 (readb(loc + CONF_END_TEST + 3) != 0xFF)) in ac_register_board() 142 boardno = readb(loc + NUMCARD_OWNER_TO_PC); in ac_register_board() 159 apbs[boardno].RamIO = loc; in ac_register_board() 162 byte_reset_it = readb(loc + RAM_IT_TO_PC); in ac_register_board()
|
/linux-4.1.27/fs/ufs/ |
D | ufs_fs.h | 254 #define ufs_blkoff(loc) ((loc) & uspi->s_qbmask) argument 255 #define ufs_fragoff(loc) ((loc) & uspi->s_qfmask) argument 257 #define ufs_lblkno(loc) ((loc) >> uspi->s_bshift) argument 258 #define ufs_numfrags(loc) ((loc) >> uspi->s_fshift) argument
|
D | balloc.c | 787 unsigned start, length, loc; in ufs_bitmap_search() local 800 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff + start, length, in ufs_bitmap_search() 803 if (loc == 0) { in ufs_bitmap_search() 805 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff, length, in ufs_bitmap_search() 809 if (loc == 0) { in ufs_bitmap_search() 819 result = (start + length - loc) << 3; in ufs_bitmap_search()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | livepatch.h | 36 unsigned long loc, unsigned long value);
|
/linux-4.1.27/arch/s390/include/asm/ |
D | livepatch.h | 29 type, unsigned long loc, unsigned long value) in klp_write_module_reloc() argument
|
/linux-4.1.27/drivers/mmc/host/ |
D | dw_mmc-exynos.c | 427 s8 i, loc = -1; in dw_mci_exynos_get_best_clksmpl() local 432 loc = i; in dw_mci_exynos_get_best_clksmpl() 440 loc = i; in dw_mci_exynos_get_best_clksmpl() 446 return loc; in dw_mci_exynos_get_best_clksmpl()
|
/linux-4.1.27/include/linux/ |
D | livepatch.h | 77 unsigned long loc; member
|
/linux-4.1.27/drivers/ssb/ |
D | pci.c | 367 u16 loc[3]; in sprom_extract_r123() local 370 loc[0] = SSB_SPROM3_IL0MAC; in sprom_extract_r123() 372 loc[0] = SSB_SPROM1_IL0MAC; in sprom_extract_r123() 373 loc[1] = SSB_SPROM1_ET0MAC; in sprom_extract_r123() 374 loc[2] = SSB_SPROM1_ET1MAC; in sprom_extract_r123() 376 sprom_get_mac(out->il0mac, &in[SPOFF(loc[0])]); in sprom_extract_r123() 378 sprom_get_mac(out->et0mac, &in[SPOFF(loc[1])]); in sprom_extract_r123() 379 sprom_get_mac(out->et1mac, &in[SPOFF(loc[2])]); in sprom_extract_r123()
|
/linux-4.1.27/drivers/cpufreq/ |
D | pmac64-cpufreq.c | 503 const char *loc = of_get_property(hwclock, in g5_pm72_cpufreq_init() local 505 if (loc == NULL) in g5_pm72_cpufreq_init() 507 if (strcmp(loc, "CPU CLOCK")) in g5_pm72_cpufreq_init()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | l3_1tr6.c | 361 pc->para.loc = p[3]; in l3_1tr6_rel() 363 pc->para.loc = 0; in l3_1tr6_rel() 366 pc->para.loc = 0; in l3_1tr6_rel() 427 pc->para.loc = p[3]; in l3_1tr6_disc() 429 pc->para.loc = 0; in l3_1tr6_disc() 432 pc->para.loc = 0; in l3_1tr6_disc() 658 pc->para.loc = 0; in l3_1tr6_dl_release()
|
D | l3ni1.c | 843 pc->para.loc = 0; in l3ni1_get_cause() 850 pc->para.loc = *p++; in l3ni1_get_cause() 855 if (l && !(pc->para.loc & 0x80)) { in l3ni1_get_cause() 2167 pc->para.loc = 0; in l3ni1_t302() 2192 pc->para.loc = 0; in l3ni1_t304() 2232 pc->para.loc = 0; in l3ni1_t310() 2242 pc->para.loc = 0; in l3ni1_t313() 2270 pc->para.loc = 0; /* local */ in l3ni1_t318() 2282 pc->para.loc = 0; /* local */ in l3ni1_t319() 2594 pc->para.loc = 0; in l3ni1_dl_reset() [all …]
|
D | l3dss1.c | 893 pc->para.loc = 0; in l3dss1_get_cause() 900 pc->para.loc = *p++; in l3dss1_get_cause() 905 if (l && !(pc->para.loc & 0x80)) { in l3dss1_get_cause() 2307 pc->para.loc = 0; in l3dss1_t302() 2332 pc->para.loc = 0; in l3dss1_t304() 2372 pc->para.loc = 0; in l3dss1_t310() 2382 pc->para.loc = 0; in l3dss1_t313() 2410 pc->para.loc = 0; /* local */ in l3dss1_t318() 2422 pc->para.loc = 0; /* local */ in l3dss1_t319() 2733 pc->para.loc = 0; in l3dss1_dl_reset() [all …]
|
D | hisax.h | 309 u_char loc; member
|
D | callc.c | 197 sprintf(ic.parm.num, "E%02X%02X", chanp->proc->para.loc & 0x7f, in lli_deliver_cause() 200 sprintf(ic.parm.num, "%02X%02X", chanp->proc->para.loc & 0x7f, in lli_deliver_cause()
|
/linux-4.1.27/drivers/scsi/ibmvscsi/ |
D | viosrp.h | 189 char loc[SRP_MAX_LOC_LEN]; member
|
D | ibmvscsi.c | 1283 strncpy(hostdata->caps.loc, location, sizeof(hostdata->caps.loc)); in send_mad_capabilities() 1284 hostdata->caps.loc[sizeof(hostdata->caps.loc) - 1] = '\0'; in send_mad_capabilities() 1961 len = snprintf(buf, sizeof(hostdata->caps.loc), "%s\n", in show_host_vhost_loc() 1962 hostdata->caps.loc); in show_host_vhost_loc()
|
/linux-4.1.27/drivers/isdn/act2000/ |
D | capi.h | 65 unsigned loc:4; /* location */ member 100 __u16 loc; member
|
D | capi.c | 969 printk(KERN_DEBUG " ncpi.loc = 0x%04x\n", ncpi->loc); in actcapi_debug_ncpi()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 618 int loc = -1; in remove_promisc_qp() local 639 loc = i; in remove_promisc_qp() 643 if (loc < 0) { in remove_promisc_qp() 653 mgm->qp[loc] = mgm->qp[members_count - 1]; in remove_promisc_qp() 1214 int i, loc = -1; in mlx4_qp_detach_common() local 1248 loc = i; in mlx4_qp_detach_common() 1252 if (loc == -1) { in mlx4_qp_detach_common() 1259 mgm->qp[loc] = mgm->qp[members_count - 1]; in mlx4_qp_detach_common()
|
D | en_ethtool.c | 1582 int loc) in mlx4_en_get_flow() argument 1588 if (loc < 0 || loc >= MAX_NUM_OF_FS_RULES) in mlx4_en_get_flow() 1591 rule = &priv->ethtool_rules[loc]; in mlx4_en_get_flow()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_sup.c | 546 const char *loc, *locations[] = { "DEF", "PCI" }; in qla2xxx_find_flt_start() local 560 loc = locations[0]; in qla2xxx_find_flt_start() 624 loc = locations[1]; in qla2xxx_find_flt_start() 630 loc, *start); in qla2xxx_find_flt_start() 637 const char *loc, *locations[] = { "DEF", "FLT" }; in qla2xxx_get_flt_info() local 715 loc = locations[1]; in qla2xxx_get_flt_info() 855 loc = locations[0]; in qla2xxx_get_flt_info() 870 loc, ha->flt_region_boot, ha->flt_region_fw, in qla2xxx_get_flt_info() 882 const char *loc, *locations[] = { "MID", "FDT" }; in qla2xxx_get_fdt_info() local 914 loc = locations[1]; in qla2xxx_get_fdt_info() [all …]
|
/linux-4.1.27/drivers/net/ethernet/neterion/ |
D | s2io.h | 17 #define s2BIT(loc) (0x8000000000000000ULL >> (loc)) argument 18 #define vBIT(val, loc, sz) (((u64)val) << (64-loc-sz)) argument
|
/linux-4.1.27/arch/unicore32/mm/ |
D | proc-ucv2.S | 51 mov pc, r0 @ jump to loc
|
/linux-4.1.27/drivers/net/ethernet/8390/ |
D | axnet_cs.c | 91 static int mdio_read(unsigned int addr, int phy_id, int loc); 92 static void mdio_write(unsigned int addr, int phy_id, int loc, int value); 429 static int mdio_read(unsigned int addr, int phy_id, int loc) in mdio_read() argument 431 u_int cmd = (0xf6<<10)|(phy_id<<5)|loc; in mdio_read() 448 static void mdio_write(unsigned int addr, int phy_id, int loc, int value) in mdio_write() argument 450 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value; in mdio_write()
|
D | pcnet_cs.c | 706 static int mdio_read(unsigned int addr, int phy_id, int loc) in mdio_read() argument 708 u_int cmd = (0x06<<10)|(phy_id<<5)|loc; in mdio_read() 725 static void mdio_write(unsigned int addr, int phy_id, int loc, int value) in mdio_write() argument 727 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value; in mdio_write()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | unwind.h | 82 unsigned long *loc; member
|
/linux-4.1.27/drivers/mfd/ |
D | ab8500-debugfs.c | 2663 struct hwreg_cfg loc = { in hwreg_common_write() local 2690 loc.fmt |= (1<<0); in hwreg_common_write() 2694 loc.fmt &= ~(1<<0); in hwreg_common_write() 2700 ret = kstrtoul(b, 0, &loc.mask); in hwreg_common_write() 2708 ret = kstrtol(b, 0, &loc.shift); in hwreg_common_write() 2718 ret = kstrtouint(b, 0, &loc.bank); in hwreg_common_write() 2725 ret = kstrtoul(b, 0, &loc.addr); in hwreg_common_write() 2740 *cfg = loc; in hwreg_common_write()
|
/linux-4.1.27/drivers/net/ethernet/smsc/ |
D | smc91c92_cs.c | 284 static int mdio_read(struct net_device *dev, int phy_id, int loc); 285 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value); 985 static int mdio_read(struct net_device *dev, int phy_id, int loc) in mdio_read() argument 988 u_int cmd = (0x06<<10)|(phy_id<<5)|loc; in mdio_read() 1005 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) in mdio_write() argument 1008 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value; in mdio_write()
|
D | epic100.c | 292 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val); 629 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) in mdio_write() argument 636 ew32(MIICtrl, (phy_id << 9) | (loc << 4) | MII_WRITEOP); in mdio_write()
|
/linux-4.1.27/arch/arm/mm/ |
D | proc-sa110.S | 96 ldr r1, =UNCACHEABLE_ADDR @ load from uncacheable loc
|
D | cache-v7.S | 123 beq finished @ if loc is 0, then no need to clean
|
/linux-4.1.27/fs/gfs2/ |
D | quota.c | 669 static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, in gfs2_adjust_quota() argument 676 unsigned long index = loc >> PAGE_CACHE_SHIFT; in gfs2_adjust_quota() 677 unsigned offset = loc & (PAGE_CACHE_SIZE - 1); in gfs2_adjust_quota() 693 err = gfs2_internal_read(ip, (char *)&q, &loc, sizeof(q)); in gfs2_adjust_quota() 777 size = loc + sizeof(struct gfs2_quota); in gfs2_adjust_quota()
|
/linux-4.1.27/net/decnet/ |
D | dn_nsp_out.c | 549 int ddl, unsigned char *dd, __le16 rem, __le16 loc) in dn_nsp_do_disc() argument 568 *(__le16 *)msg = loc; in dn_nsp_do_disc()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 3703 const char *loc, *locations[] = { "DEF", "PCI" }; in qla4_8xxx_find_flt_start() local 3710 loc = locations[0]; in qla4_8xxx_find_flt_start() 3713 DEBUG2(ql4_printk(KERN_INFO, ha, "FLTL[%s] = 0x%x.\n", loc, *start)); in qla4_8xxx_find_flt_start() 3720 const char *loc, *locations[] = { "DEF", "FLT" }; in qla4_8xxx_get_flt_info() local 3765 loc = locations[1]; in qla4_8xxx_get_flt_info() 3806 loc = locations[0]; in qla4_8xxx_get_flt_info() 3820 loc, hw->flt_region_flt, hw->flt_region_fdt, in qla4_8xxx_get_flt_info() 3833 const char *loc, *locations[] = { "MID", "FDT" }; in qla4_82xx_get_fdt_info() local 3867 loc = locations[1]; in qla4_82xx_get_fdt_info() 3884 loc = locations[0]; in qla4_82xx_get_fdt_info() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 1389 enum req_location loc, void *data, int size) in ldlm_fill_lvb() argument 1399 if (loc == RCL_CLIENT) in ldlm_fill_lvb() 1416 if (loc == RCL_CLIENT) in ldlm_fill_lvb() 1441 if (loc == RCL_CLIENT) in ldlm_fill_lvb() 1466 if (loc == RCL_CLIENT) in ldlm_fill_lvb()
|
D | ldlm_internal.h | 143 enum req_location loc, void *data, int size);
|
D | ldlm_request.c | 719 enum req_location loc, in ldlm_capsule_handles_avail() argument 722 int size = req_capsule_msg_size(pill, loc); in ldlm_capsule_handles_avail() 729 enum req_location loc, int off) in ldlm_format_handles_avail() argument 731 int size = req_capsule_fmt_size(imp->imp_msg_magic, fmt, loc); in ldlm_format_handles_avail()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | unwind.c | 304 addr = ireg->loc; in unw_access_gr() 1876 unsigned long loc = (unsigned long)p; in unw_valid() local 1877 return (loc >= info->regstk.limit && loc < info->regstk.top) || in unw_valid() 1878 (loc >= info->memstk.top && loc < info->memstk.limit); in unw_valid()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | cyttsp4_core.h | 181 u8 loc; member
|
D | cyttsp4_core.c | 406 tch->ofs = tch_old->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data() 409 tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data() 423 tch->ofs = tch_new->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data() 426 tch->bofs = (tch_new->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
D | cvmx-mio-defs.h | 181 uint64_t loc:1; member 185 uint64_t loc:1; 196 uint64_t loc:1; member 200 uint64_t loc:1; 213 uint64_t loc:1; member 217 uint64_t loc:1; 231 uint64_t loc:1; member 235 uint64_t loc:1; 247 uint64_t loc:1; member 251 uint64_t loc:1;
|
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/ |
D | vxge-config.h | 870 #define VXGE_HW_DEVICE_STATS_PIO_READ(loc, offset) { \ argument 873 loc, \
|
D | vxge-reg.h | 20 #define vxge_mBIT(loc) (0x8000000000000000ULL >> (loc)) argument 25 #define vxge_vBIT(val, loc, sz) (((u64)(val)) << (64-(loc)-(sz))) argument 26 #define vxge_vBIT32(val, loc, sz) (((u32)(val)) << (32-(loc)-(sz))) argument 31 #define vxge_bVALn(bits, loc, n) \ argument 32 ((((u64)bits) >> (64-(loc+n))) & ((0x1ULL << n) - 1))
|
/linux-4.1.27/mm/ |
D | slub.c | 3978 struct location *loc; member 3984 free_pages((unsigned long)t->loc, in free_loc_track() 4000 memcpy(l, t->loc, sizeof(struct location) * t->count); in alloc_loc_track() 4004 t->loc = l; in alloc_loc_track() 4029 caddr = t->loc[pos].addr; in add_location() 4032 l = &t->loc[pos]; in add_location() 4065 l = t->loc + pos; in add_location() 4134 struct location *l = &t.loc[i]; in list_locations()
|
/linux-4.1.27/drivers/iio/adc/ |
D | max1363.c | 792 unsigned long mask, loc; in max1363_event_handler() local 799 for_each_set_bit(loc, &mask, 8) in max1363_event_handler() 800 iio_push_event(indio_dev, max1363_event_codes[loc], timestamp); in max1363_event_handler()
|
/linux-4.1.27/drivers/isdn/isdnloop/ |
D | isdnloop.c | 543 isdnloop_unicause(isdnloop_card *card, int loc, int cau) in isdnloop_unicause() argument 549 sprintf(buf, "E%02X%02X", (loc) ? 4 : 2, ctable_eu[cau]); in isdnloop_unicause()
|
/linux-4.1.27/arch/arm/boot/compressed/ |
D | head.S | 1156 ands r3, r0, #0x7000000 @ extract loc from clidr 1157 mov r3, r3, lsr #23 @ left align loc bit field 1158 beq finished @ if loc is 0, then no need to clean
|
/linux-4.1.27/kernel/livepatch/ |
D | core.c | 313 ret = klp_write_module_reloc(pmod, reloc->type, reloc->loc, in klp_write_object_relocations()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 3751 rv2p_fw_fixup(u32 rv2p_proc, int idx, u32 loc, u32 rv2p_code) in rv2p_fw_fixup() argument 3796 u32 loc, code; in load_rv2p_fw() local 3798 loc = be32_to_cpu(fw_entry->fixup[i]); in load_rv2p_fw() 3799 if (loc && ((loc * 4) < rv2p_code_len)) { in load_rv2p_fw() 3800 code = be32_to_cpu(*(rv2p_code + loc - 1)); in load_rv2p_fw() 3802 code = be32_to_cpu(*(rv2p_code + loc)); in load_rv2p_fw() 3803 code = rv2p_fw_fixup(rv2p_proc, i, loc, code); in load_rv2p_fw() 3806 val = (loc / 2) | cmd; in load_rv2p_fw()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1741 static int gfar_del_cls(struct gfar_private *priv, u32 loc) in gfar_del_cls() argument 1750 if (comp->fs.location == loc) { in gfar_del_cls()
|
/linux-4.1.27/fs/btrfs/ |
D | send.c | 2862 struct btrfs_key loc; in can_rmdir() local 2901 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &loc); in can_rmdir() 2903 dm = get_waiting_dir_move(sctx, loc.objectid); in can_rmdir() 2918 if (loc.objectid > send_progress) { in can_rmdir()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | niu.c | 7595 static int niu_del_ethtool_tcam_entry(struct niu *np, u32 loc) in niu_del_ethtool_tcam_entry() argument 7604 if (loc >= tcam_get_size(np)) in niu_del_ethtool_tcam_entry() 7609 idx = tcam_get_index(np, loc); in niu_del_ethtool_tcam_entry()
|
/linux-4.1.27/arch/m68k/ifpsp060/src/ |
D | fpsp.S | 7650 mov.l SRC_HI(%a0),FP_SCR0_HI(%a6) # copy to tmp loc 7651 mov.l SRC_LO(%a0),FP_SCR0_LO(%a6) # copy to tmp loc
|