| /Linux-v5.15/arch/mips/include/asm/ |
| D | maar.h | 41 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-v5.15/drivers/power/supply/ |
| D | bq27xxx_battery_hdq.c | 45 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-v5.15/fs/overlayfs/ |
| D | export.c | 286 struct dentry *upper = upper_alias ?: index; in ovl_obtain_alias() local 297 if (d_is_dir(upper ?: lower)) in ovl_obtain_alias() 300 oip.upperdentry = dget(upper); in ovl_obtain_alias() 303 dput(upper); in ovl_obtain_alias() 307 if (upper) in ovl_obtain_alias() 329 ovl_dentry_update_reval(dentry, upper, in ovl_obtain_alias() 461 struct dentry *upper = ovl_index_upper(ofs, index); in ovl_lookup_real_inode() local 464 if (IS_ERR_OR_NULL(upper)) in ovl_lookup_real_inode() 465 return upper; in ovl_lookup_real_inode() 474 this = ovl_lookup_real(sb, upper, &ofs->layers[0]); in ovl_lookup_real_inode() [all …]
|
| D | dir.c | 233 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr() argument 239 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() 400 err = ovl_copy_xattr(dentry->d_sb, upper, opaquedir); in ovl_clear_empty() 414 err = ovl_do_rename(wdir, opaquedir, udir, upper, RENAME_EXCHANGE); in ovl_clear_empty() 418 ovl_cleanup_whiteouts(upper, list); in ovl_clear_empty() 419 ovl_cleanup(wdir, upper); in ovl_clear_empty() 468 struct dentry *upper; in ovl_create_over_whiteout() local [all …]
|
| D | copy_up.c | 375 struct dentry *upper) in ovl_set_origin() argument 394 err = ovl_check_setxattr(ofs, upper, OVL_XATTR_ORIGIN, fh->buf, in ovl_set_origin() 403 static int ovl_set_upper_fh(struct ovl_fs *ofs, struct dentry *upper, in ovl_set_upper_fh() argument 409 fh = ovl_encode_real_fh(ofs, upper, true); in ovl_set_upper_fh() 425 struct dentry *upper) in ovl_create_index() argument 459 err = ovl_set_upper_fh(ofs, upper, temp); in ovl_create_index() 497 struct dentry *upper; in ovl_link_up() local 511 upper = lookup_one_len(c->dentry->d_name.name, upperdir, in ovl_link_up() 513 err = PTR_ERR(upper); in ovl_link_up() 514 if (!IS_ERR(upper)) { in ovl_link_up() [all …]
|
| D | namei.c | 487 struct dentry *upper; in ovl_index_upper() local 496 upper = ovl_decode_real_fh(ofs, fh, ovl_upper_mnt(ofs), true); in ovl_index_upper() 499 if (IS_ERR_OR_NULL(upper)) in ovl_index_upper() 500 return upper ?: ERR_PTR(-ESTALE); in ovl_index_upper() 502 if (!d_is_dir(upper)) { in ovl_index_upper() 504 index, upper); in ovl_index_upper() 505 dput(upper); in ovl_index_upper() 509 return upper; in ovl_index_upper() 523 struct dentry *upper = NULL; in ovl_verify_index() local 569 upper = ovl_index_upper(ofs, index); in ovl_verify_index() [all …]
|
| /Linux-v5.15/net/tipc/ |
| D | subscr.c | 54 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()
|
| D | name_table.c | 64 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 …]
|
| D | addr.h | 65 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-v5.15/arch/x86/include/asm/ |
| D | div64.h | 49 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-v5.15/arch/x86/kernel/ |
| D | probe_roms.c | 201 unsigned long start, length, upper; in probe_roms() local 206 upper = adapter_rom_resources[0].start; in probe_roms() 207 for (start = video_rom_resource.start; start < upper; start += 2048) { in probe_roms() 229 if (start < upper) in probe_roms() 230 start = upper; in probe_roms() 234 upper = system_rom_resource.start; in probe_roms() 242 upper = extension_rom_resource.start; in probe_roms() 247 for (i = 0; i < ARRAY_SIZE(adapter_rom_resources) && start < upper; start += 2048) { in probe_roms() 259 if (!length || start + length > upper || !romchecksum(rom, length)) in probe_roms()
|
| /Linux-v5.15/drivers/thermal/ |
| D | gov_step_wise.c | 55 next_target = (cur_state + 1) >= instance->upper ? in get_target_state() 56 instance->upper : in get_target_state() 69 next_target = cur_state < instance->upper ? in get_target_state() 70 (cur_state + 1) : instance->upper; in get_target_state() 77 next_target = instance->upper; in get_target_state() 86 if (next_target > instance->upper) in get_target_state() 87 next_target = instance->upper; in get_target_state()
|
| /Linux-v5.15/Documentation/filesystems/ |
| D | overlayfs.rst | 27 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-v5.15/drivers/video/fbdev/ |
| D | arcfb.c | 247 static void arcfb_lcd_update_page(struct arcfb_par *par, unsigned int upper, in arcfb_lcd_update_page() argument 257 yindex = upper >> 6; in arcfb_lcd_update_page() 260 ks108_set_yaddr(par, chipindex, upper/8); in arcfb_lcd_update_page() 264 (upper * linesize); in arcfb_lcd_update_page() 302 unsigned int distance, upper, lower; in arcfb_lcd_update_vert() local 305 upper = top; in arcfb_lcd_update_vert() 310 arcfb_lcd_update_page(par, upper, left, right, 8); in arcfb_lcd_update_vert() 311 upper = lower + 1; in arcfb_lcd_update_vert() 312 lower = upper + 7; in arcfb_lcd_update_vert() 324 unsigned int distance, upper, lower; in arcfb_lcd_update_horiz() local [all …]
|
| /Linux-v5.15/arch/arm/kernel/ |
| D | module.c | 88 u32 upper, lower, sign, j1, j2; in apply_relocate() local 234 upper = __mem_to_opcode_thumb16(*(u16 *)loc); in apply_relocate() 250 sign = (upper >> 10) & 1; in apply_relocate() 255 ((upper & 0x03ff) << 12) | in apply_relocate() 284 upper = (u16)((upper & 0xf800) | (sign << 10) | in apply_relocate() 290 *(u16 *)loc = __opcode_to_mem_thumb16(upper); in apply_relocate() 298 upper = __mem_to_opcode_thumb16(*(u16 *)loc); in apply_relocate() 311 offset = ((upper & 0x000f) << 12) | in apply_relocate() 312 ((upper & 0x0400) << 1) | in apply_relocate() 324 upper = (u16)((upper & 0xfbf0) | in apply_relocate() [all …]
|
| /Linux-v5.15/Documentation/target/ |
| D | tcm_mod_builder.py | 50 buf = "#define " + fabric_mod_name.upper() + "_VERSION \"v0.1\"\n" 51 buf += "#define " + fabric_mod_name.upper() + "_NAMELEN 32\n" 66 buf += " char lport_name[" + fabric_mod_name.upper() + "_NAMELEN];\n" 94 buf = "#define " + fabric_mod_name.upper() + "_VERSION \"v0.1\"\n" 95 buf += "#define " + fabric_mod_name.upper() + "_NAMELEN 32\n" 109 buf += " char tport_name[" + fabric_mod_name.upper() + "_NAMELEN];\n" 137 buf = "#define " + fabric_mod_name.upper() + "_VERSION \"v0.1\"\n" 138 buf += "#define " + fabric_mod_name.upper() + "_NAMELEN 32\n" 150 buf += " char tport_name[" + fabric_mod_name.upper() + "_NAMELEN];\n" 275 …fabric_mod_port + "->" + fabric_mod_port + "_name[0], " + fabric_mod_name.upper() + "_NAMELEN, wwp… [all …]
|
| /Linux-v5.15/drivers/net/ethernet/intel/ice/ |
| D | ice_lag.c | 64 const char *name, *peer, *upper, *role, *bonded, *master; in ice_display_lag_info() local 69 upper = lag->upper_netdev ? netdev_name(lag->upper_netdev) : "unset"; in ice_display_lag_info() 91 bonded, peer, upper, role, master); in ice_display_lag_info() 143 struct net_device *netdev_tmp, *upper = info->upper_dev; in ice_lag_link() local 152 for_each_netdev_in_bond_rcu(upper, netdev_tmp) in ice_lag_link() 156 if (lag->upper_netdev != upper) { in ice_lag_link() 157 dev_hold(upper); in ice_lag_link() 158 lag->upper_netdev = upper; in ice_lag_link() 180 struct net_device *netdev_tmp, *upper = info->upper_dev; in ice_lag_unlink() local 191 for_each_netdev_in_bond_rcu(upper, netdev_tmp) { in ice_lag_unlink()
|
| /Linux-v5.15/fs/btrfs/ |
| D | backref.c | 2505 INIT_LIST_HEAD(&node->upper); 2536 struct btrfs_backref_node *upper; local 2543 while (!list_empty(&node->upper)) { 2544 edge = list_entry(node->upper.next, struct btrfs_backref_edge, 2546 upper = edge->node[UPPER]; 2555 if (list_empty(&upper->lower)) { 2556 list_add_tail(&upper->lower, &cache->leaves); 2557 upper->lowest = 1; 2614 struct btrfs_backref_node *upper; local 2647 upper = btrfs_backref_alloc_node(cache, ref_key->offset, [all …]
|
| D | backref.h | 178 struct list_head upper; member 284 struct btrfs_backref_node *upper, in btrfs_backref_link_edge() argument 287 ASSERT(upper && lower && upper->level == lower->level + 1); in btrfs_backref_link_edge() 289 edge->node[UPPER] = upper; in btrfs_backref_link_edge() 291 list_add_tail(&edge->list[LOWER], &lower->upper); in btrfs_backref_link_edge() 293 list_add_tail(&edge->list[UPPER], &upper->lower); in btrfs_backref_link_edge() 347 ASSERT(list_empty(&node->upper)); in btrfs_backref_drop_node()
|
| /Linux-v5.15/arch/microblaze/kernel/ |
| D | ftrace.c | 174 unsigned int upper = (unsigned int)func; in ftrace_update_ftrace_func() local 179 upper = 0xb0000000 + (upper >> 16); /* imm func_upper */ in ftrace_update_ftrace_func() 183 __func__, (unsigned int)func, (unsigned int)ip, upper, lower); in ftrace_update_ftrace_func() 186 ret = ftrace_modify_code(ip, upper); in ftrace_update_ftrace_func()
|
| /Linux-v5.15/arch/x86/boot/ |
| D | string.c | 207 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-v5.15/arch/mips/mm/ |
| D | init.c | 287 cfg->upper = ALIGN_DOWN(PFN_PHYS(start_pfn + nr_pages), maar_align) - 1; in maar_res_walk() 317 phys_addr_t lower, upper, attr; in maar_init() local 358 upper = read_c0_maar(); in maar_init() 360 upper |= (phys_addr_t)readx_c0_maar() << MIPS_MAARX_ADDR_SHIFT; in maar_init() 370 attr = lower & upper; in maar_init() 372 upper = ((upper & MIPS_MAAR_ADDR) << 4) | 0xffff; in maar_init() 380 pr_cont("%pa-%pa", &lower, &upper); in maar_init() 390 recorded.cfgs[recorded.used].upper = upper; in maar_init()
|
| /Linux-v5.15/arch/powerpc/mm/ptdump/ |
| D | bats.c | 15 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-v5.15/drivers/net/ethernet/marvell/prestera/ |
| D | prestera_main.c | 709 struct net_device *upper; in prestera_netdev_port_event() local 712 upper = info->upper_dev; in prestera_netdev_port_event() 716 if (!netif_is_bridge_master(upper) && in prestera_netdev_port_event() 717 !netif_is_lag_master(upper)) { in prestera_netdev_port_event() 725 if (netdev_has_any_upper_dev(upper)) { in prestera_netdev_port_event() 730 if (netif_is_lag_master(upper) && in prestera_netdev_port_event() 731 !prestera_lag_master_check(upper, info->upper_info, extack)) in prestera_netdev_port_event() 733 if (netif_is_lag_master(upper) && vlan_uses_dev(dev)) { in prestera_netdev_port_event() 738 if (netif_is_lag_port(dev) && is_vlan_dev(upper) && in prestera_netdev_port_event() 739 !netif_is_lag_master(vlan_dev_real_dev(upper))) { in prestera_netdev_port_event() [all …]
|
| /Linux-v5.15/tools/testing/selftests/powerpc/pmu/ebb/ |
| D | ebb.c | 73 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()
|