/linux/arch/mips/include/asm/ |
A 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/fs/overlayfs/ |
A D | export.c | 303 dput(upper); in ovl_obtain_alias() 307 if (upper) in ovl_obtain_alias() 464 if (IS_ERR_OR_NULL(upper)) in ovl_lookup_real_inode() 465 return upper; in ovl_lookup_real_inode() 475 dput(upper); in ovl_lookup_real_inode() 680 struct dentry *upper; in ovl_upper_fh_to_d() local 686 if (IS_ERR_OR_NULL(upper)) in ovl_upper_fh_to_d() 687 return upper; in ovl_upper_fh_to_d() 690 dput(upper); in ovl_upper_fh_to_d() 739 err = PTR_ERR(upper); in ovl_lower_fh_to_d() [all …]
|
A D | dir.c | 369 struct dentry *upper; in ovl_clear_empty() local 467 struct dentry *upper; in ovl_create_over_whiteout() local 489 err = PTR_ERR(upper); in ovl_create_over_whiteout() 490 if (IS_ERR(upper)) in ovl_create_over_whiteout() 494 if (d_is_negative(upper) || !IS_WHITEOUT(d_inode(upper))) in ovl_create_over_whiteout() 552 dput(upper); in ovl_create_over_whiteout() 752 struct dentry *upper; in ovl_remove_and_whiteout() local 773 if (IS_ERR(upper)) in ovl_remove_and_whiteout() 791 dput(upper); in ovl_remove_and_whiteout() 820 if (IS_ERR(upper)) in ovl_remove_upper() [all …]
|
A D | copy_up.c | 388 struct dentry *upper) in ovl_set_origin() argument 510 struct dentry *upper; in ovl_link_up() local 526 err = PTR_ERR(upper); in ovl_link_up() 527 if (!IS_ERR(upper)) { in ovl_link_up() 529 dput(upper); in ovl_link_up() 688 err = PTR_ERR(upper); in ovl_copy_up_workdir() 689 if (IS_ERR(upper)) in ovl_copy_up_workdir() 693 dput(upper); in ovl_copy_up_workdir() 739 err = PTR_ERR(upper); in ovl_copy_up_tmpfile() 740 if (!IS_ERR(upper)) { in ovl_copy_up_tmpfile() [all …]
|
A D | namei.c | 487 struct dentry *upper; in ovl_index_upper() local 499 if (IS_ERR_OR_NULL(upper)) 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 571 err = PTR_ERR(upper); in ovl_verify_index() 586 dput(upper); in ovl_verify_index() 746 if (!upper) { in ovl_lookup_index() [all …]
|
/linux/drivers/power/supply/ |
A 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/kernel/trace/ |
A D | pid_list.c | 146 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_is_set() 185 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_set() 253 pid_list->upper[upper1] = NULL; in trace_pid_list_clear() 336 union upper_chunk *upper = NULL; in pid_list_refill_irq() local 377 if (upper) { in pid_list_refill_irq() 379 pid_list->upper_list = upper; in pid_list_refill_irq() 459 union upper_chunk *upper; in trace_pid_list_free() local 485 upper = pid_list->upper[i]; in trace_pid_list_free() 486 if (upper) { in trace_pid_list_free() 488 lower = upper->data[j]; in trace_pid_list_free() [all …]
|
/linux/net/tipc/ |
A 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()
|
A D | name_table.c | 64 u32 upper; member 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() 322 sr->max = upper; in tipc_service_create_range() 372 p->sr.type, p->sr.lower, p->sr.upper); in tipc_service_insert_publ() 427 u32 filter, lower, upper; in tipc_service_subscribe() local [all …]
|
A 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/Documentation/filesystems/ |
A D | overlayfs.rst | 90 merged with the 'upper' object. 187 underlying directory (upper or lower). 243 upper directory is stored in a "trusted.overlay.upper" extended attribute 321 cp -a /lower /upper 322 mount --bind /upper /merged 389 Mounting an overlay using an upper layer path, where the upper layer path 499 will not be merged with the upper directory. 514 "trusted.overlay.upper" with an encoded file handle of the upper 522 3. For a pure-upper object and for an existing non-indexed upper object, 523 encode an upper file handle from upper inode [all …]
|
/linux/arch/x86/include/asm/ |
A 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/arch/x86/kernel/ |
A 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/drivers/video/fbdev/ |
A D | arcfb.c | 257 yindex = upper >> 6; 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() 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 327 upper = floor8(top); in arcfb_lcd_update_horiz() 328 lower = min(upper + distance - 1, ceil64(upper)); in arcfb_lcd_update_horiz() 333 upper = lower + 1; in arcfb_lcd_update_horiz() [all …]
|
/linux/arch/arm/kernel/ |
A 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/drivers/thermal/ |
A 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/Documentation/target/ |
A 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" 567 buf = "config " + fabric_mod_name.upper() + "\n" [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
A 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/fs/btrfs/ |
A D | backref.c | 2557 upper->lowest = 1; 2649 if (!upper) { 2781 if (!upper) { 2789 upper->cowonly = 1; 2819 if (!upper->owner) 2828 lower = upper; 2829 upper = NULL; 3032 upper->lowest = 0; 3068 list_for_each_entry(edge, &upper->upper, list[LOWER]) 3107 list_for_each_entry(edge, &upper->upper, list[LOWER]) [all …]
|
A 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/arch/microblaze/kernel/ |
A D | ftrace.c | 169 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/arch/mips/mm/ |
A 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/arch/x86/boot/ |
A 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/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_main.c | 775 struct net_device *upper; in prestera_netdev_port_event() local 784 upper = cu_info->upper_dev; in prestera_netdev_port_event() 785 if (!netif_is_bridge_master(upper) && in prestera_netdev_port_event() 786 !netif_is_lag_master(upper)) { in prestera_netdev_port_event() 794 if (netdev_has_any_upper_dev(upper)) { in prestera_netdev_port_event() 799 if (netif_is_lag_master(upper) && in prestera_netdev_port_event() 816 upper = cu_info->upper_dev; in prestera_netdev_port_event() 817 if (netif_is_bridge_master(upper)) { in prestera_netdev_port_event() 822 prestera_bridge_port_leave(upper, port); in prestera_netdev_port_event() 823 } else if (netif_is_lag_master(upper)) { in prestera_netdev_port_event() [all …]
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
A 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()
|