Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 25 of 176) sorted by relevance

12345678

/linux/arch/s390/kernel/
H A Dmachine_kexec_reloc.c5 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val, in arch_kexec_do_relocs() argument
12 *(u8 *)loc = val; in arch_kexec_do_relocs()
15 *(u16 *)loc &= 0xf000; in arch_kexec_do_relocs()
16 *(u16 *)loc |= val & 0xfff; in arch_kexec_do_relocs()
19 *(u16 *)loc = val; in arch_kexec_do_relocs()
22 *(u32 *)loc &= 0xf00000ff; in arch_kexec_do_relocs()
23 *(u32 *)loc |= (val & 0xfff) << 16; /* DL */ in arch_kexec_do_relocs()
24 *(u32 *)loc |= (val & 0xff000) >> 4; /* DH */ in arch_kexec_do_relocs()
27 *(u32 *)loc = val; in arch_kexec_do_relocs()
32 *(u64 *)loc = val; in arch_kexec_do_relocs()
[all …]
H A Dmodule.c175 static int apply_rela_bits(Elf_Addr loc, Elf_Addr val, in apply_rela_bits() argument
181 void *dest = (void *)loc; in apply_rela_bits()
203 (*(unsigned short *) loc & 0xf000); in apply_rela_bits()
210 (val & 0xff000) >> 4 | (*(unsigned int *) loc & 0xf00000ff); in apply_rela_bits()
227 Elf_Addr loc, val; in apply_rela() local
232 loc = base + rela->r_offset; in apply_rela()
252 rc = apply_rela_bits(loc, val, 0, 8, 0, write); in apply_rela()
254 rc = apply_rela_bits(loc, val, 0, 12, 0, write); in apply_rela()
256 rc = apply_rela_bits(loc, val, 0, 16, 0, write); in apply_rela()
258 rc = apply_rela_bits(loc, val, 1, 20, 0, write); in apply_rela()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_fdir.c863 u8 *loc; in ice_fdir_get_gen_prgm_pkt() local
907 loc = pkt; in ice_fdir_get_gen_prgm_pkt()
917 loc = &pkt[ICE_FDIR_TUN_PKT_OFF]; in ice_fdir_get_gen_prgm_pkt()
925 ice_pkt_insert_mac_addr(loc, input->eth.h_dest); in ice_fdir_get_gen_prgm_pkt()
926 ice_pkt_insert_mac_addr(loc + ETH_ALEN, input->eth.h_source); in ice_fdir_get_gen_prgm_pkt()
928 ice_pkt_insert_u16(loc, ICE_ETH_TYPE_F_OFFSET, in ice_fdir_get_gen_prgm_pkt()
930 ice_pkt_insert_u16(loc, ICE_ETH_VLAN_TCI_OFFSET, in ice_fdir_get_gen_prgm_pkt()
932 ice_pkt_insert_u16(loc, ICE_ETH_TYPE_VLAN_OFFSET, in ice_fdir_get_gen_prgm_pkt()
935 ice_pkt_insert_u16(loc, ICE_ETH_TYPE_F_OFFSET, in ice_fdir_get_gen_prgm_pkt()
940 ice_pkt_insert_u32(loc, ICE_IPV4_DST_ADDR_OFFSET, in ice_fdir_get_gen_prgm_pkt()
[all …]
/linux/scripts/gdb/linux/
H A Dslab.py112 for loc in loc_track:
113 if loc['addr'] == addr and loc['handle'] == handle and loc['waste'] == waste:
114 return loc
128 loc = loc_exist(loc_track, addr, handle, waste)
129 if loc:
130 loc['count'] += 1
132 loc['sum_time'] += age
133 loc['min_time'] = min(loc['min_time'], age)
134 loc['max_time'] = max(loc['max_time'], age)
135 loc['min_pid'] = min(loc['min_pid'], pid)
[all …]
/linux/arch/arm/kernel/
H A Dmodule.c86 unsigned long loc; in apply_relocate() local
115 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
124 *(u32 *)loc += sym->st_value; in apply_relocate()
136 offset = __mem_to_opcode_arm(*(u32 *)loc); in apply_relocate()
140 offset += sym->st_value - loc; in apply_relocate()
151 offset = get_module_plt(module, loc, in apply_relocate()
152 offset + loc + 8) in apply_relocate()
153 - loc - 8; in apply_relocate()
159 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate()
167 *(u32 *)loc &= __opcode_to_mem_arm(0xff000000); in apply_relocate()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h440 struct vmw_surface_loc *loc, in vmw_surface_get_loc() argument
448 loc->sheet = offset / cache->sheet_bytes; in vmw_surface_get_loc()
449 offset -= loc->sheet * cache->sheet_bytes; in vmw_surface_get_loc()
459 loc->sub_resource = vmw_surface_subres(cache, i, layer); in vmw_surface_get_loc()
460 loc->z = offset / mip->img_stride; in vmw_surface_get_loc()
461 offset -= loc->z * mip->img_stride; in vmw_surface_get_loc()
462 loc->z *= desc->blockSize.depth; in vmw_surface_get_loc()
463 loc->y = offset / mip->row_stride; in vmw_surface_get_loc()
464 offset -= loc->y * mip->row_stride; in vmw_surface_get_loc()
465 loc->y *= desc->blockSize.height; in vmw_surface_get_loc()
[all …]
/linux/arch/nios2/kernel/
H A Dmodule.c36 uint32_t *loc in apply_relocate_add() local
54 *loc += v; in apply_relocate_add()
57 v -= (uint32_t)loc + 4; in apply_relocate_add()
64 word = *loc; in apply_relocate_add()
65 *loc = ((((word >> 22) << 16) | (v & 0xffff)) << 6) | in apply_relocate_add()
74 if ((v >> 28) != ((uint32_t)loc >> 28)) { in apply_relocate_add()
79 *loc = (*loc & 0x3f) | ((v >> 2) << 6); in apply_relocate_add()
82 word = *loc; in apply_relocate_add()
83 *loc = ((((word >> 22) << 16) | in apply_relocate_add()
87 word = *loc; in apply_relocate_add()
[all …]
/linux/arch/parisc/kernel/
H A Dmodule.c498 Elf32_Word *loc; in apply_relocate_add() local
511 loc = (void *)sechdrs[targetsec].sh_addr in apply_relocate_add()
524 dot = (Elf32_Addr)loc & ~0x03; in apply_relocate_add()
533 (uint32_t)loc, val, addend, in apply_relocate_add()
551 *loc = fsel(val, addend); in apply_relocate_add()
555 *loc = fsel(val, addend); in apply_relocate_add()
560 *loc = mask(*loc, 21) | reassemble_21(val); in apply_relocate_add()
565 *loc = mask(*loc, 14) | reassemble_14(val); in apply_relocate_add()
572 *loc = fsel(val, addend); in apply_relocate_add()
576 *loc = fsel(val, addend); in apply_relocate_add()
[all …]
/linux/drivers/macintosh/
H A Dwindfarm_lm75_sensor.c95 const char *name, *loc; in wf_lm75_probe() local
105 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); in wf_lm75_probe()
106 if (!loc) { in wf_lm75_probe()
115 if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY")) in wf_lm75_probe()
117 else if (!strcmp(loc, "Incoming Air Temp")) in wf_lm75_probe()
119 else if (!strcmp(loc, "ODD Temp")) in wf_lm75_probe()
121 else if (!strcmp(loc, "HD Temp")) in wf_lm75_probe()
123 else if (!strcmp(loc, "PCI SLOTS")) in wf_lm75_probe()
125 else if (!strcmp(loc, "CPU A INLET")) in wf_lm75_probe()
127 else if (!strcmp(loc, "CPU B INLET")) in wf_lm75_probe()
H A Dwindfarm_max6690_sensor.c65 const char *name, *loc; in wf_max6690_probe() local
69 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); in wf_max6690_probe()
70 if (!loc) { in wf_max6690_probe()
79 if (!strcmp(loc, "BACKSIDE") || !strcmp(loc, "SYS CTRLR AMBIENT")) in wf_max6690_probe()
81 else if (!strcmp(loc, "NB Ambient")) in wf_max6690_probe()
83 else if (!strcmp(loc, "GPU Ambient")) in wf_max6690_probe()
/linux/scripts/
H A Dsorttable.c814 uint32_t *loc = (uint32_t *)(extab_image + i);
815 w(r(loc) + i, loc);
824 uint32_t *loc = (uint32_t *)(extab_image + i);
825 w(r(loc) - i, loc);
835 uint32_t *loc = (uint32_t *)(extab_image + i);
837 w(r(loc) + i, loc);
838 w(r(loc
224 uint32_t *loc = (uint32_t *)(extab_image + i); sort_relative_table() local
234 uint32_t *loc = (uint32_t *)(extab_image + i); sort_relative_table() local
245 uint32_t *loc = (uint32_t *)(extab_image + i); sort_relative_table_with_data() local
258 uint32_t *loc = (uint32_t *)(extab_image + i); sort_relative_table_with_data() local
[all...]
/linux/fs/ocfs2/
H A Dxattr.c134 int (*xlo_journal_access)(handle_t *handle, struct ocfs2_xa_loc *loc,
136 void (*xlo_journal_dirty)(handle_t *handle, struct ocfs2_xa_loc *loc);
139 * Return a pointer to the appropriate buffer in loc->xl_storage
140 * at the given offset from loc->xl_header.
142 void *(*xlo_offset_pointer)(struct ocfs2_xa_loc *loc, int offset);
145 int (*xlo_can_reuse)(struct ocfs2_xa_loc *loc,
149 int (*xlo_check_space)(struct ocfs2_xa_loc *loc,
156 int (*xlo_get_free_start)(struct ocfs2_xa_loc *loc);
162 void (*xlo_wipe_namevalue)(struct ocfs2_xa_loc *loc);
165 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u3
1445 ocfs2_xa_journal_access(handle_t * handle,struct ocfs2_xa_loc * loc,int type) ocfs2_xa_journal_access() argument
1451 ocfs2_xa_journal_dirty(handle_t * handle,struct ocfs2_xa_loc * loc) ocfs2_xa_journal_dirty() argument
1457 ocfs2_xa_offset_pointer(struct ocfs2_xa_loc * loc,int offset) ocfs2_xa_offset_pointer() argument
1468 ocfs2_xa_wipe_namevalue(struct ocfs2_xa_loc * loc) ocfs2_xa_wipe_namevalue() argument
1477 ocfs2_xa_get_free_start(struct ocfs2_xa_loc * loc) ocfs2_xa_get_free_start() argument
1483 ocfs2_xa_can_reuse_entry(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_can_reuse_entry() argument
1490 ocfs2_xa_check_space(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_check_space() argument
1496 ocfs2_xa_add_entry(struct ocfs2_xa_loc * loc,u32 name_hash) ocfs2_xa_add_entry() argument
1508 ocfs2_xa_add_namevalue(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_add_namevalue() argument
1528 ocfs2_xa_fill_value_buf(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_value_buf * vb) ocfs2_xa_fill_value_buf() argument
1547 ocfs2_xa_block_journal_access(handle_t * handle,struct ocfs2_xa_loc * loc,int type) ocfs2_xa_block_journal_access() argument
1562 ocfs2_xa_block_journal_dirty(handle_t * handle,struct ocfs2_xa_loc * loc) ocfs2_xa_block_journal_dirty() argument
1569 ocfs2_xa_block_offset_pointer(struct ocfs2_xa_loc * loc,int offset) ocfs2_xa_block_offset_pointer() argument
1575 ocfs2_xa_block_can_reuse(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_block_can_reuse() argument
1586 ocfs2_xa_block_get_free_start(struct ocfs2_xa_loc * loc) ocfs2_xa_block_get_free_start() argument
1601 ocfs2_xa_block_check_space(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_block_check_space() argument
1629 ocfs2_xa_block_wipe_namevalue(struct ocfs2_xa_loc * loc) ocfs2_xa_block_wipe_namevalue() argument
1661 ocfs2_xa_block_add_entry(struct ocfs2_xa_loc * loc,u32 name_hash) ocfs2_xa_block_add_entry() argument
1669 ocfs2_xa_block_add_namevalue(struct ocfs2_xa_loc * loc,int size) ocfs2_xa_block_add_namevalue() argument
1676 ocfs2_xa_block_fill_value_buf(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_value_buf * vb) ocfs2_xa_block_fill_value_buf() argument
1708 ocfs2_xa_bucket_journal_access(handle_t * handle,struct ocfs2_xa_loc * loc,int type) ocfs2_xa_bucket_journal_access() argument
1716 ocfs2_xa_bucket_journal_dirty(handle_t * handle,struct ocfs2_xa_loc * loc) ocfs2_xa_bucket_journal_dirty() argument
1723 ocfs2_xa_bucket_offset_pointer(struct ocfs2_xa_loc * loc,int offset) ocfs2_xa_bucket_offset_pointer() argument
1736 ocfs2_xa_bucket_can_reuse(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_bucket_can_reuse() argument
1743 ocfs2_xa_bucket_get_free_start(struct ocfs2_xa_loc * loc) ocfs2_xa_bucket_get_free_start() argument
1763 ocfs2_xa_bucket_check_space(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_bucket_check_space() argument
1808 ocfs2_xa_bucket_wipe_namevalue(struct ocfs2_xa_loc * loc) ocfs2_xa_bucket_wipe_namevalue() argument
1814 ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc * loc,u32 name_hash) ocfs2_xa_bucket_add_entry() argument
1849 ocfs2_xa_bucket_add_namevalue(struct ocfs2_xa_loc * loc,int size) ocfs2_xa_bucket_add_namevalue() argument
1864 ocfs2_xa_bucket_fill_value_buf(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_value_buf * vb) ocfs2_xa_bucket_fill_value_buf() argument
1897 ocfs2_xa_value_clusters(struct ocfs2_xa_loc * loc) ocfs2_xa_value_clusters() argument
1908 ocfs2_xa_value_truncate(struct ocfs2_xa_loc * loc,u64 bytes,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_value_truncate() argument
1935 ocfs2_xa_remove_entry(struct ocfs2_xa_loc * loc) ocfs2_xa_remove_entry() argument
1986 ocfs2_xa_cleanup_value_truncate(struct ocfs2_xa_loc * loc,const char * what,unsigned int orig_clusters) ocfs2_xa_cleanup_value_truncate() argument
2018 ocfs2_xa_remove(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_remove() argument
2049 ocfs2_xa_install_value_root(struct ocfs2_xa_loc * loc) ocfs2_xa_install_value_root() argument
2064 ocfs2_xa_reuse_entry(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_reuse_entry() argument
2125 ocfs2_xa_prepare_entry(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi,u32 name_hash,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_prepare_entry() argument
2201 ocfs2_xa_store_value(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_store_value() argument
2224 ocfs2_xa_set(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_set() argument
2269 ocfs2_init_dinode_xa_loc(struct ocfs2_xa_loc * loc,struct inode * inode,struct buffer_head * bh,struct ocfs2_xattr_entry * entry) ocfs2_init_dinode_xa_loc() argument
2288 ocfs2_init_xattr_block_xa_loc(struct ocfs2_xa_loc * loc,struct inode * inode,struct buffer_head * bh,struct ocfs2_xattr_entry * entry) ocfs2_init_xattr_block_xa_loc() argument
2307 ocfs2_init_xattr_bucket_xa_loc(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_bucket * bucket,struct ocfs2_xattr_entry * entry) ocfs2_init_xattr_bucket_xa_loc() argument
2778 struct ocfs2_xa_loc loc; ocfs2_xattr_ibody_set() local
2962 struct ocfs2_xa_loc loc; ocfs2_xattr_block_set() local
5543 struct ocfs2_xa_loc loc; ocfs2_xattr_set_entry_bucket() local
[all...]
/linux/tools/memory-model/
H A Dlock.cat41 flag ~empty [M \ IW \ ALL-LOCKS] ; loc ; [ALL-LOCKS] as mixed-lock-accesses
44 let lk-rmw = ([LKR] ; po-loc ; [LKW]) \ (po ; po)
55 empty ([LKW] ; po-loc ; [LKR]) \ (po-loc ; [UL] ; po-loc) as lock-nest
61 empty ([LKW] ; po-loc ; [RU]) \ (po-loc ; [UL] ; po-loc) as nested-is-locked
64 flag ~empty [FW] ; loc ; [ALL-LOCKS] as lock-final
77 let critical = ([LKW] ; po-loc ; [UL]) \ (po-loc ; [LKW | UL] ; po-loc)
83 empty ([UNMATCHED-LKW] ; loc ; [UNMATCHED-LKW]) \ id as unmatched-locks
86 let rfi-lf = ([LKW] ; po-loc ; [LF]) \ ([LKW] ; po-loc ; [UL] ; po-loc)
96 let possible-rfe-noncrit-lf e = (LKW * {e}) & loc & ext
118 let possible-rf-ru e = (((UL * {e}) & po-loc) \
[all …]
/linux/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c98 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/arch/riscv/kernel/
H A Delf_kexec.c394 void *loc; /* tmp location to modify */ in arch_kexec_apply_relocations_add() local
404 loc = pi->purgatory_buf; in arch_kexec_apply_relocations_add()
405 loc += section->sh_offset; in arch_kexec_apply_relocations_add()
406 loc += relas[i].r_offset; in arch_kexec_apply_relocations_add()
427 *(u32 *)loc = CLEAN_IMM(BTYPE, *(u32 *)loc) | in arch_kexec_apply_relocations_add()
431 *(u32 *)loc = CLEAN_IMM(JTYPE, *(u32 *)loc) | in arch_kexec_apply_relocations_add()
443 *(u64 *)loc = CLEAN_IMM(UITYPE, *(u64 *)loc) | in arch_kexec_apply_relocations_add()
447 *(u32 *)loc = CLEAN_IMM(CBTYPE, *(u32 *)loc) | in arch_kexec_apply_relocations_add()
451 *(u32 *)loc = CLEAN_IMM(CJTYPE, *(u32 *)loc) | in arch_kexec_apply_relocations_add()
455 *(u16 *)loc += val; in arch_kexec_apply_relocations_add()
[all …]
/linux/drivers/char/tpm/
H A Dtpm_tis_i2c_cr50.c293 static int tpm_cr50_check_locality(struct tpm_chip *chip, int loc) in tpm_cr50_check_locality() argument
299 rc = tpm_cr50_i2c_read(chip, TPM_I2C_ACCESS(loc), &buf, sizeof(buf)); in tpm_cr50_check_locality()
304 return loc; in tpm_cr50_check_locality()
318 static int tpm_cr50_release_locality(struct tpm_chip *chip, int loc) in tpm_cr50_release_locality() argument
322 u8 addr = TPM_I2C_ACCESS(loc); in tpm_cr50_release_locality()
349 static int tpm_cr50_request_locality(struct tpm_chip *chip, int loc) in tpm_cr50_request_locality() argument
358 if (tpm_cr50_check_locality(chip, loc) == loc) in tpm_cr50_request_locality()
359 return loc; in tpm_cr50_request_locality()
361 rc = tpm_cr50_i2c_write(chip, TPM_I2C_ACCESS(loc), &buf, sizeof(buf)); in tpm_cr50_request_locality()
367 if (tpm_cr50_check_locality(chip, loc) == loc) in tpm_cr50_request_locality()
[all …]
H A Dtpm_i2c_infineon.c312 static bool check_locality(struct tpm_chip *chip, int loc) in check_locality() argument
317 rc = iic_tpm_read(TPM_ACCESS(loc), &buf, 1); in check_locality()
323 tpm_dev.locality = loc; in check_locality()
331 static void release_locality(struct tpm_chip *chip, int loc, int force) in release_locality() argument
334 if (iic_tpm_read(TPM_ACCESS(loc), &buf, 1) < 0) in release_locality()
340 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in release_locality()
344 static int request_locality(struct tpm_chip *chip, int loc) in request_locality() argument
349 if (check_locality(chip, loc)) in request_locality()
350 return loc; in request_locality()
352 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in request_locality()
[all …]
/linux/fs/exfat/
H A Dfatent.c38 static int __exfat_ent_get(struct super_block *sb, unsigned int loc, in __exfat_ent_get() argument
45 sec = FAT_ENT_OFFSET_SECTOR(sb, loc); in __exfat_ent_get()
46 off = FAT_ENT_OFFSET_BYTE_IN_SECTOR(sb, loc); in __exfat_ent_get()
62 int exfat_ent_set(struct super_block *sb, unsigned int loc, in exfat_ent_set() argument
70 sec = FAT_ENT_OFFSET_SECTOR(sb, loc); in exfat_ent_set()
71 off = FAT_ENT_OFFSET_BYTE_IN_SECTOR(sb, loc); in exfat_ent_set()
85 int exfat_ent_get(struct super_block *sb, unsigned int loc, in exfat_ent_get() argument
91 if (!is_valid_cluster(sbi, loc)) { in exfat_ent_get()
93 loc); in exfat_ent_get()
97 err = __exfat_ent_get(sb, loc, content); in exfat_ent_get()
[all …]
/linux/drivers/acpi/numa/
H A Dhmat.c363 struct memory_locality *loc; in hmat_add_locality() local
365 loc = kzalloc(sizeof(*loc), GFP_KERNEL); in hmat_add_locality()
366 if (!loc) { in hmat_add_locality()
371 loc->hmat_loc = hmat_loc; in hmat_add_locality()
372 list_add_tail(&loc->node, &localities); in hmat_add_locality()
376 localities_types[READ_LATENCY] = loc; in hmat_add_locality()
377 localities_types[WRITE_LATENCY] = loc; in hmat_add_locality()
380 localities_types[READ_LATENCY] = loc; in hmat_add_locality()
383 localities_types[WRITE_LATENCY] = loc; in hmat_add_locality()
386 localities_types[READ_BANDWIDTH] = loc; in hmat_add_locality()
[all …]
/linux/tools/perf/scripts/python/
H A Dnet_dropmonitor.py28 loc = int(line.split()[0], 16)
30 kallsyms.append((loc, name))
34 loc = int(sloc)
41 if loc < kallsyms[pivot][0]:
50 return (name, loc - symloc)
/linux/arch/powerpc/kernel/
H A Drtas-proc.c224 struct individual_sensor *s, int state, int error, const char *loc);
227 struct individual_sensor *s, const char *loc);
402 const char *loc; in ppc_rtas_sensors_show() local
406 loc = of_get_property(rtas_node, rstr, &llen); in ppc_rtas_sensors_show()
413 ppc_rtas_process_sensor(m, p, state, error, loc); in ppc_rtas_sensors_show()
415 if (loc) { in ppc_rtas_sensors_show()
416 offs += strlen(loc) + 1; in ppc_rtas_sensors_show()
417 loc += strlen(loc) + 1; in ppc_rtas_sensors_show()
419 loc = NULL; in ppc_rtas_sensors_show()
486 struct individual_sensor *s, int state, int error, const char *loc) in ppc_rtas_process_sensor() argument
[all …]
/linux/drivers/rtc/
H A Drtc-pcf8583.c22 unsigned int loc; member
149 if (mem->loc < 8) in pcf8583_read_mem()
152 addr[0] = mem->loc; in pcf8583_read_mem()
162 if (mem->loc < 8 || mem->nr > 8) in pcf8583_write_mem()
165 buf[0] = mem->loc; in pcf8583_write_mem()
177 .loc = CMOS_YEAR, in pcf8583_rtc_read_time()
227 .loc = CMOS_YEAR, in pcf8583_rtc_set_time()
232 .loc = CMOS_CHECKSUM, in pcf8583_rtc_set_time()
/linux/drivers/pci/
H A Dtph.c174 u32 loc; in get_st_table_size() local
177 loc = get_st_table_loc(pdev); in get_st_table_size()
180 loc = FIELD_PREP(PCI_TPH_CAP_LOC_MASK, loc); in get_st_table_size()
181 if (loc != PCI_TPH_LOC_CAP) in get_st_table_size()
324 u32 loc; in pcie_tph_set_st_entry() local
343 loc = get_st_table_loc(pdev); in pcie_tph_set_st_entry()
345 loc = FIELD_PREP(PCI_TPH_CAP_LOC_MASK, loc); in pcie_tph_set_st_entry()
347 switch (loc) { in pcie_tph_set_st_entry()
366 (loc == PCI_TPH_LOC_MSIX) ? "MSI-X" : "ST", index, tag); in pcie_tph_set_st_entry()
/linux/fs/jfs/
H A Djfs_xtree.h23 pxd_t loc; /* 8: length and address in unit of fsblksize */ member
37 #define XADaddress(xad, address64) PXDaddress(&(xad)->loc, address64)
38 #define XADlength(xad, length32) PXDlength(&(xad)->loc, length32)
43 #define addressXAD(xad) addressPXD(&(xad)->loc)
44 #define lengthXAD(xad) lengthPXD(&(xad)->loc)
H A Djfs_types.h100 pxd_t loc; /* 8: address and length in unit of fsblksize */ member
112 #define DXDlength(dxd, len) PXDlength(&(dxd)->loc, len)
113 #define DXDaddress(dxd, addr) PXDaddress(&(dxd)->loc, addr)
114 #define lengthDXD(dxd) lengthPXD(&(dxd)->loc)
115 #define addressDXD(dxd) addressPXD(&(dxd)->loc)

12345678