Home
last modified time | relevance | path

Searched refs:upper (Results 1 – 25 of 441) sorted by relevance

12345678910>>...18

/linux-6.6.21/arch/mips/include/asm/
Dmaar.h41 phys_addr_t upper, unsigned attrs) in write_maar_pair() argument
45 BUG_ON(((upper & 0xffff) != 0xffff) in write_maar_pair()
46 || ((upper & ~0xffffull) & ~(MIPS_MAAR_ADDR << 4))); in write_maar_pair()
57 write_c0_maar(((upper >> 4) & MIPS_MAAR_ADDR) | attrs); in write_maar_pair()
60 upper >>= MIPS_MAARX_ADDR_SHIFT; in write_maar_pair()
61 writex_c0_maar(((upper >> 4) & MIPS_MAARX_ADDR) | MIPS_MAARX_VH); in write_maar_pair()
101 phys_addr_t upper; member
122 write_maar_pair(i, cfg[i].lower, cfg[i].upper, cfg[i].attrs); in maar_config()
/linux-6.6.21/drivers/power/supply/
Dbq27xxx_battery_hdq.c45 int upper, lower; in bq27xxx_battery_hdq_read() local
53 upper = w1_bq27000_read(sl, reg + 1); in bq27xxx_battery_hdq_read()
55 temp = upper; in bq27xxx_battery_hdq_read()
56 if (upper < 0) in bq27xxx_battery_hdq_read()
57 return upper; in bq27xxx_battery_hdq_read()
63 upper = w1_bq27000_read(sl, reg + 1); in bq27xxx_battery_hdq_read()
64 } while (temp != upper && --timeout); in bq27xxx_battery_hdq_read()
69 return (upper << 8) | lower; in bq27xxx_battery_hdq_read()
/linux-6.6.21/fs/overlayfs/
Dexport.c296 struct dentry *upper = upper_alias ?: index; in ovl_obtain_alias() local
305 if (d_is_dir(upper ?: lower)) in ovl_obtain_alias()
312 oip.upperdentry = dget(upper); in ovl_obtain_alias()
321 dput(upper); in ovl_obtain_alias()
325 if (upper) in ovl_obtain_alias()
339 ovl_dentry_init_reval(dentry, upper, OVL_I_E(inode)); in ovl_obtain_alias()
476 struct dentry *upper = ovl_index_upper(ofs, index, true); in ovl_lookup_real_inode() local
479 if (IS_ERR_OR_NULL(upper)) in ovl_lookup_real_inode()
480 return upper; in ovl_lookup_real_inode()
489 this = ovl_lookup_real(sb, upper, &ofs->layers[0]); in ovl_lookup_real_inode()
[all …]
Ddir.c234 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr() argument
240 err = ovl_check_setxattr(ofs, upper, OVL_XATTR_OPAQUE, "y", 1, xerr); in ovl_set_opaque_xerr()
370 struct dentry *upper; in ovl_clear_empty() local
391 upper = upperpath.dentry; in ovl_clear_empty()
392 if (upper->d_parent->d_inode != udir) in ovl_clear_empty()
414 err = ovl_do_rename(ofs, wdir, opaquedir, udir, upper, RENAME_EXCHANGE); in ovl_clear_empty()
418 ovl_cleanup_whiteouts(ofs, upper, list); in ovl_clear_empty()
419 ovl_cleanup(ofs, wdir, upper); in ovl_clear_empty()
453 struct dentry *upper; in ovl_create_over_whiteout() local
473 upper = ovl_lookup_upper(ofs, dentry->d_name.name, upperdir, in ovl_create_over_whiteout()
[all …]
Dcopy_up.c430 struct dentry *upper) in ovl_set_origin() argument
449 err = ovl_check_setxattr(ofs, upper, OVL_XATTR_ORIGIN, fh->buf, in ovl_set_origin()
458 static int ovl_set_upper_fh(struct ovl_fs *ofs, struct dentry *upper, in ovl_set_upper_fh() argument
464 fh = ovl_encode_real_fh(ofs, upper, true); in ovl_set_upper_fh()
480 struct dentry *upper) in ovl_create_index() argument
514 err = ovl_set_upper_fh(ofs, upper, temp); in ovl_create_index()
553 struct dentry *upper; in ovl_link_up() local
568 upper = ovl_lookup_upper(ofs, c->dentry->d_name.name, upperdir, in ovl_link_up()
570 err = PTR_ERR(upper); in ovl_link_up()
571 if (!IS_ERR(upper)) { in ovl_link_up()
[all …]
Dnamei.c556 struct dentry *upper; in ovl_index_upper() local
565 upper = ovl_decode_real_fh(ofs, fh, ovl_upper_mnt(ofs), connected); in ovl_index_upper()
568 if (IS_ERR_OR_NULL(upper)) in ovl_index_upper()
569 return upper ?: ERR_PTR(-ESTALE); in ovl_index_upper()
571 if (!d_is_dir(upper)) { in ovl_index_upper()
573 index, upper); in ovl_index_upper()
574 dput(upper); in ovl_index_upper()
578 return upper; in ovl_index_upper()
592 struct dentry *upper = NULL; in ovl_verify_index() local
638 upper = ovl_index_upper(ofs, index, false); in ovl_verify_index()
[all …]
/linux-6.6.21/kernel/trace/
Dpid_list.c146 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_is_set()
185 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_set()
192 pid_list->upper[upper1] = upper_chunk; in trace_pid_list_set()
237 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_clear()
253 pid_list->upper[upper1] = NULL; in trace_pid_list_clear()
291 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_next()
336 union upper_chunk *upper = NULL; in pid_list_refill_irq() local
338 union upper_chunk **upper_next = &upper; in pid_list_refill_irq()
377 if (upper) { in pid_list_refill_irq()
379 pid_list->upper_list = upper; in pid_list_refill_irq()
[all …]
/linux-6.6.21/net/tipc/
Dsubscr.c54 tipc_evt_write(evt, found_upper, p->sr.upper); in tipc_sub_send_event()
59 tipc_evt_write(evt, found_upper, s->seq.upper); in tipc_sub_send_event()
77 u32 found_upper = found->upper; in tipc_sub_check_overlap()
81 if (found_upper > subscribed->upper) in tipc_sub_check_overlap()
82 found_upper = subscribed->upper; in tipc_sub_check_overlap()
136 u32 upper = tipc_sub_read(s, seq.upper); in tipc_sub_subscribe() local
142 lower > upper) { in tipc_sub_subscribe()
159 sub->s.seq.upper = upper; in tipc_sub_subscribe()
Dname_table.c64 u32 upper; member
91 #define service_range_upper(sr) ((sr)->upper)
100 ((sr)->lower <= (end) && (sr)->upper >= (start)) in RB_DECLARE_CALLBACKS_MAX()
287 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_service_find_range()
289 if (sr->lower == ua->sr.lower && sr->upper == ua->sr.upper) in tipc_service_find_range()
302 u32 upper = p->sr.upper; in tipc_service_create_range() local
308 if (lower == sr->lower && upper == sr->upper) in tipc_service_create_range()
310 if (sr->max < upper) in tipc_service_create_range()
311 sr->max = upper; in tipc_service_create_range()
321 sr->upper = upper; in tipc_service_create_range()
[all …]
Daddr.h65 u32 type, u32 lower, u32 upper) in tipc_uaddr() argument
72 ua->sr.upper = upper; in tipc_uaddr()
87 return ua->sr.upper >= ua->sr.lower; in tipc_uaddr_valid()
/linux-6.6.21/drivers/base/regmap/
Dregcache-maple.c43 unsigned long *entry, *upper, *lower; in regcache_maple_write() local
68 upper = mas_find(&mas, reg + 1); in regcache_maple_write()
69 if (upper) { in regcache_maple_write()
84 if (upper) in regcache_maple_write()
85 memcpy(&entry[reg - index + 1], upper, upper_sz); in regcache_maple_write()
101 kfree(upper); in regcache_maple_write()
112 unsigned long *entry, *lower, *upper; in regcache_maple_drop() local
118 upper = NULL; in regcache_maple_drop()
148 upper = kmemdup(&entry[max + 1], in regcache_maple_drop()
152 if (!upper) { in regcache_maple_drop()
[all …]
/linux-6.6.21/arch/x86/include/asm/
Ddiv64.h49 u32 upper; in div_u64_rem() local
51 upper = d.v32[1]; in div_u64_rem()
53 if (upper >= divisor) { in div_u64_rem()
54 d.v32[1] = upper / divisor; in div_u64_rem()
55 upper %= divisor; in div_u64_rem()
58 "rm" (divisor), "0" (d.v32[0]), "1" (upper)); in div_u64_rem()
/linux-6.6.21/arch/x86/kernel/
Dprobe_roms.c201 unsigned long start, length, upper; in probe_roms() local
217 upper = adapter_rom_resources[0].start; in probe_roms()
218 for (start = video_rom_resource.start; start < upper; start += 2048) { in probe_roms()
240 if (start < upper) in probe_roms()
241 start = upper; in probe_roms()
245 upper = system_rom_resource.start; in probe_roms()
253 upper = extension_rom_resource.start; in probe_roms()
258 for (i = 0; i < ARRAY_SIZE(adapter_rom_resources) && start < upper; start += 2048) { in probe_roms()
270 if (!length || start + length > upper || !romchecksum(rom, length)) in probe_roms()
/linux-6.6.21/drivers/video/fbdev/
Darcfb.c248 static void arcfb_lcd_update_page(struct arcfb_par *par, unsigned int upper, in arcfb_lcd_update_page() argument
258 yindex = upper >> 6; in arcfb_lcd_update_page()
261 ks108_set_yaddr(par, chipindex, upper/8); in arcfb_lcd_update_page()
265 (upper * linesize); in arcfb_lcd_update_page()
303 unsigned int distance, upper, lower; in arcfb_lcd_update_vert() local
306 upper = top; in arcfb_lcd_update_vert()
311 arcfb_lcd_update_page(par, upper, left, right, 8); in arcfb_lcd_update_vert()
312 upper = lower + 1; in arcfb_lcd_update_vert()
313 lower = upper + 7; in arcfb_lcd_update_vert()
325 unsigned int distance, upper, lower; in arcfb_lcd_update_horiz() local
[all …]
/linux-6.6.21/Documentation/filesystems/
Doverlayfs.rst27 upper filesystem that is providing the object. Similarly st_ino will
86 An overlay filesystem combines two filesystems - an 'upper' filesystem
88 object in the 'upper' filesystem is visible while the object in the
90 merged with the 'upper' object.
92 It would be more correct to refer to an upper and lower 'directory
95 requirement that the root of a filesystem be given for either upper or
101 writable. The lower filesystem can even be another overlayfs. The upper
113 upper and lower filesystems and refers to a non-directory in either,
114 then the lower object is hidden - the name refers only to the upper
117 Where both upper and lower objects are directories, a merged directory
[all …]
/linux-6.6.21/arch/arm/kernel/
Dmodule.c129 u32 upper, lower, sign, j1, j2; in apply_relocate() local
323 upper = __mem_to_opcode_thumb16(*(u16 *)loc); in apply_relocate()
339 sign = (upper >> 10) & 1; in apply_relocate()
344 ((upper & 0x03ff) << 12) | in apply_relocate()
372 upper = (u16)((upper & 0xf800) | (sign << 10) | in apply_relocate()
378 *(u16 *)loc = __opcode_to_mem_thumb16(upper); in apply_relocate()
386 upper = __mem_to_opcode_thumb16(*(u16 *)loc); in apply_relocate()
399 offset = ((upper & 0x000f) << 12) | in apply_relocate()
400 ((upper & 0x0400) << 1) | in apply_relocate()
412 upper = (u16)((upper & 0xfbf0) | in apply_relocate()
[all …]
/linux-6.6.21/arch/microblaze/kernel/
Dftrace.c169 unsigned int upper = (unsigned int)func; in ftrace_update_ftrace_func() local
174 upper = 0xb0000000 + (upper >> 16); /* imm func_upper */ in ftrace_update_ftrace_func()
178 __func__, (unsigned int)func, (unsigned int)ip, upper, lower); in ftrace_update_ftrace_func()
181 ret = ftrace_modify_code(ip, upper); in ftrace_update_ftrace_func()
/linux-6.6.21/fs/btrfs/
Dbackref.c3028 INIT_LIST_HEAD(&node->upper); in btrfs_backref_alloc_node()
3059 struct btrfs_backref_node *upper; in btrfs_backref_cleanup_node() local
3066 while (!list_empty(&node->upper)) { in btrfs_backref_cleanup_node()
3067 edge = list_entry(node->upper.next, struct btrfs_backref_edge, in btrfs_backref_cleanup_node()
3069 upper = edge->node[UPPER]; in btrfs_backref_cleanup_node()
3078 if (list_empty(&upper->lower)) { in btrfs_backref_cleanup_node()
3079 list_add_tail(&upper->lower, &cache->leaves); in btrfs_backref_cleanup_node()
3080 upper->lowest = 1; in btrfs_backref_cleanup_node()
3137 struct btrfs_backref_node *upper; in handle_direct_tree_backref() local
3170 upper = btrfs_backref_alloc_node(cache, ref_key->offset, in handle_direct_tree_backref()
[all …]
Dbackref.h351 struct list_head upper; member
457 struct btrfs_backref_node *upper, in btrfs_backref_link_edge() argument
460 ASSERT(upper && lower && upper->level == lower->level + 1); in btrfs_backref_link_edge()
462 edge->node[UPPER] = upper; in btrfs_backref_link_edge()
464 list_add_tail(&edge->list[LOWER], &lower->upper); in btrfs_backref_link_edge()
466 list_add_tail(&edge->list[UPPER], &upper->lower); in btrfs_backref_link_edge()
520 ASSERT(list_empty(&node->upper)); in btrfs_backref_drop_node()
/linux-6.6.21/arch/x86/boot/
Dstring.c207 u32 upper; in __div_u64_rem() local
209 upper = d.v32[1]; in __div_u64_rem()
211 if (upper >= divisor) { in __div_u64_rem()
212 d.v32[1] = upper / divisor; in __div_u64_rem()
213 upper %= divisor; in __div_u64_rem()
216 "rm" (divisor), "0" (d.v32[0]), "1" (upper)); in __div_u64_rem()
/linux-6.6.21/arch/mips/mm/
Dinit.c292 cfg->upper = ALIGN_DOWN(PFN_PHYS(start_pfn + nr_pages), maar_align) - 1; in maar_res_walk()
322 phys_addr_t lower, upper, attr; in maar_init() local
363 upper = read_c0_maar(); in maar_init()
365 upper |= (phys_addr_t)readx_c0_maar() << MIPS_MAARX_ADDR_SHIFT; in maar_init()
375 attr = lower & upper; in maar_init()
377 upper = ((upper & MIPS_MAAR_ADDR) << 4) | 0xffff; in maar_init()
385 pr_cont("%pa-%pa", &lower, &upper); in maar_init()
395 recorded.cfgs[recorded.used].upper = upper; in maar_init()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbridge.c139 struct net_device *upper = info->upper_dev, *rep; in mlx5_esw_bridge_port_changeupper() local
145 if (!netif_is_bridge_master(upper)) in mlx5_esw_bridge_port_changeupper()
156 mlx5_esw_bridge_vport_link(upper, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper()
158 mlx5_esw_bridge_vport_unlink(upper, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper()
162 mlx5_esw_bridge_vport_peer_link(upper, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper()
164 mlx5_esw_bridge_vport_peer_unlink(upper, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper()
175 struct net_device *upper = info->upper_dev; in mlx5_esw_bridge_changeupper_validate_netdev() local
179 if (!netif_is_bridge_master(upper) || !netif_is_lag_master(dev)) in mlx5_esw_bridge_changeupper_validate_netdev()
440 struct net_device *upper, *rep; in mlx5_esw_bridge_switchdev_event() local
448 upper = netdev_master_upper_dev_get_rcu(dev); in mlx5_esw_bridge_switchdev_event()
[all …]
/linux-6.6.21/drivers/char/hw_random/
Dcn10k-rng.c105 u64 upper, lower; in cn10k_read_trng() local
125 upper = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng()
127 while (!(upper & 0x00000000FFFFFFFFULL)) in cn10k_read_trng()
128 upper = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng()
132 *value = (upper & 0xFFFFFFFF00000000) | (lower & 0xFFFFFFFF); in cn10k_read_trng()
/linux-6.6.21/arch/powerpc/mm/ptdump/
Dbats.c15 static void bat_show_603(struct seq_file *m, int idx, u32 lower, u32 upper, bool is_d) in bat_show_603() argument
17 u32 bepi = upper & 0xfffe0000; in bat_show_603()
18 u32 bl = (upper >> 2) & 0x7ff; in bat_show_603()
19 u32 k = upper & 3; in bat_show_603()
/linux-6.6.21/tools/testing/selftests/powerpc/pmu/ebb/
Debb.c73 u64 count, upper, lower; in ebb_check_count() local
85 upper = ebb_state.stats.ebb_count * (sample_period + fudge); in ebb_check_count()
87 if (count > upper) { in ebb_check_count()
89 pmc, count, upper, count - upper); in ebb_check_count()
94 pmc, count, lower, upper, count - lower, upper - count); in ebb_check_count()

12345678910>>...18