/linux-4.4.14/drivers/base/ |
H A D | container.c | 27 return cdev->offline ? cdev->offline(cdev) : 0; container_offline() 34 .offline = container_offline,
|
H A D | cpu.c | 131 .offline = cpu_subsys_offline, 236 /* arch-optional setting to enable display of offline cpus >= nr_cpu_ids */ 243 cpumask_var_t offline; print_cpus_offline() local 245 /* display offline cpus < nr_cpu_ids */ print_cpus_offline() 246 if (!alloc_cpumask_var(&offline, GFP_KERNEL)) print_cpus_offline() 248 cpumask_andnot(offline, cpu_possible_mask, cpu_online_mask); print_cpus_offline() 249 n = scnprintf(buf, len, "%*pbl", cpumask_pr_args(offline)); print_cpus_offline() 250 free_cpumask_var(offline); print_cpus_offline() 252 /* display offline cpus >= nr_cpu_ids */ print_cpus_offline() 267 static DEVICE_ATTR(offline, 0444, print_cpus_offline, NULL); 365 cpu->dev.offline = !cpu_online(num); register_cpu()
|
H A D | memory.c | 48 .offline = memory_subsys_offline, 142 * online, offline, going offline, etc. 159 len = sprintf(buf, "offline\n"); show_mem_state() 162 len = sprintf(buf, "going-offline\n"); show_mem_state() 273 /* The device lock serializes operations on memory_subsys_[online|offline] */ memory_subsys_online() 306 /* Can't offline block with non-present sections */ memory_subsys_offline() 330 else if (sysfs_streq(buf, "offline")) store_mem_state() 375 * s.t. if I offline all of these sections I can then 487 /* Soft offline a page */ 506 /* Forcibly offline a page, including killing processes. */ 599 memory->dev.offline = memory->state == MEM_OFFLINE; register_memory()
|
H A D | core.c | 433 val = !dev->offline; online_show() 1504 return device_supports_offline(dev) && !dev->offline ? -EBUSY : 0; device_check_offline() 1509 * @dev: Device to be put offline. 1511 * Execute the device bus type's .offline() callback, if present, to prepare 1531 if (dev->offline) { device_offline() 1534 ret = dev->bus->offline(dev); device_offline() 1537 dev->offline = true; device_offline() 1562 if (dev->offline) { device_online() 1566 dev->offline = false; device_online() 2049 * devices offline, even as the system is shutting down. device_shutdown()
|
/linux-4.4.14/tools/testing/selftests/cpu-hotplug/ |
H A D | cpu-on-off-test.sh | 28 echo "CPU online/offline summary:" 33 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 39 echo -e "\t Cpus in offline state: $offline_cpus" 93 echo $FUNCNAME $cpu: unexpected offline >&2 115 echo $FUNCNAME $cpu: unexpected offline >&2 126 echo $FUNCNAME $cpu: unexpected offline >&2 148 echo -e "\t default offline one cpu" 149 echo -e "\t run with -a option to offline all cpus" 166 # Safe test (default) - offline and online one cpu 171 echo -e "\t online to offline to online: cpu $online_max" 176 echo -e "\t offline to online to offline: cpu $offline_max" 183 echo -e "\t online all offline cpus" 184 echo -e "\t offline all online cpus" 185 echo -e "\t online all offline cpus" 245 # Test CPU hot-add error handling (offline => online) 261 # Test CPU hot-remove error handling (online => offline)
|
/linux-4.4.14/tools/testing/selftests/memory-hotplug/ |
H A D | mem-on-off-test.sh | 44 hotpluggable_memory offline 59 grep -q offline $SYSFS/devices/system/memory/memory$1/state 69 echo offline > $SYSFS/devices/system/memory/memory$1/state 79 echo $FUNCNAME $memory: unexpected offline >&2 101 echo $FUNCNAME $memory: unexpected offline >&2 112 echo $FUNCNAME $memory: unexpected offline >&2 126 echo "Usage $0 [ -e errno ] [ -p notifier-priority ] [ -r percent-of-memory-to-offline ]" 146 echo -e "\t online all hotplug memory in offline state" 147 echo -e "\t offline $ratio% hotplug memory in online state" 148 echo -e "\t online all hotplug memory in offline state" 154 echo offline-online $memory 163 echo online-offline $memory 172 echo offline-online $memory 214 # Test memory hot-add error handling (offline => online) 230 # Test memory hot-remove error handling (online => offline)
|
/linux-4.4.14/include/linux/ |
H A D | container.h | 19 int (*offline)(struct container_dev *cdev); member in struct:container_dev
|
H A D | smpboot.h | 24 * parked (cpu offline)
|
H A D | torture.h | 52 /* Definitions for online/offline exerciser. */
|
H A D | console.h | 116 #define CON_ANYTIME (16) /* Safe to call when cpu is offline */
|
H A D | device.h | 83 * @offline: Called to put the device offline for hot-removal. May fail. 121 int (*offline)(struct device *dev); member in struct:bus_type 754 * @offline: Set after successful invocation of bus type's .offline(). 838 bool offline:1; member in struct:device 1007 return dev->bus && dev->bus->offline && dev->bus->online; device_supports_offline()
|
H A D | srcu.h | 154 * is in the idle loop from an RCU point of view or offline.
|
H A D | cgroup.h | 313 * offline. The caller naturally needs to ensure that @css is accessible
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | topology.c | 58 * This is only called for debugging CPU offline/online feature. 74 pr_info("CPU %u is now offline\n", cpu); _debug_hotplug_cpu() 75 dev->offline = true; _debug_hotplug_cpu() 78 pr_debug("Can't offline CPU%d.\n", cpu); _debug_hotplug_cpu() 83 dev->offline = false; _debug_hotplug_cpu() 124 * one can attempt to offline BSP. arch_register_cpu()
|
H A D | apb_timer.c | 215 * cpu timers during the offline process due to the ordering of notification. 228 pr_debug("skipping APBT CPU %lu offline\n", cpu); apbt_cpuhp_notify() 230 pr_debug("APBT clockevent for cpu %lu offline\n", cpu); apbt_cpuhp_notify()
|
H A D | smpboot.c | 983 /* x86 CPUs take themselves offline, so delayed offline is OK. */ native_cpu_up() 1405 pr_info("CPU %u is now offline\n", cpu); common_cpu_die()
|
/linux-4.4.14/Documentation/mic/mpssd/ |
H A D | micctrl | 124 while [ "`cat $f/state`" != "offline" -a "`cat $f/state`" != "online" ] 127 echo -e "Waiting for $1 to go offline" 137 # Wait for the cards to go offline
|
H A D | mpss | 119 # Wait for the cards to go offline
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
H A D | offline_states.h | 4 /* Cpu offline states go here */
|
H A D | hotplug-cpu.c | 192 * the cpu-offline. Here we wait for long enough to allow the cpu in question 193 * to self-destroy so that the cpu-offline thread can send the CPU_DEAD
|
H A D | suspend.c | 182 pr_warn("%s: Could not restore CPUs to offline " store_hibernate()
|
H A D | cmm.c | 534 cmm_dbg("Memory going offline, searching 0x%lx (%ld pages).\n", cmm_mem_going_offline() 623 cmm_dbg("Memory offline operation complete.\n"); cmm_memory_cb()
|
H A D | dlpar.c | 469 printk(KERN_WARNING "Could not find cpu to offline "
|
H A D | lpar.c | 272 * There is a known problem when kdump'ing, if cpus are offline pSeries_lpar_hptab_clear()
|
/linux-4.4.14/kernel/irq/ |
H A D | cpuhotplug.c | 51 * irq_migrate_all_off_this_cpu - Migrate irqs away from offline cpu 53 * The current CPU has been marked offline. Migrate IRQs off this CPU.
|
/linux-4.4.14/arch/arm/mach-mvebu/ |
H A D | platsmp-a9.c | 49 * in the offline state after using CPU hotplug. mvebu_cortex_a9_boot_secondary() 78 * CPU hotplug is implemented by putting offline CPUs into the armada_38x_cpu_die() 87 * anything, because CPUs going offline can enter the deep idle state
|
H A D | platsmp.c | 86 * This is needed to wake up CPUs in the offline state after armada_xp_boot_secondary() 155 * CPU hotplug is implemented by putting offline CPUs into the armada_xp_cpu_die() 164 * anything, because CPUs going offline can enter the deep idle state
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
H A D | selftest.h | 40 /* offline tests */
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | ccwgroup.h | 9 * @state: online/offline state 36 * @set_offline: function called when device is set offline
|
H A D | ccwdev.h | 121 * @set_offline: called when setting device offline
|
/linux-4.4.14/drivers/bus/ |
H A D | mips_cdmm.c | 258 * @offline: Whether the CDMM bus is going offline (or very early 268 bool offline; member in struct:mips_cdmm_bus 365 /* Don't set up bus a second time unless marked offline */ mips_cdmm_setup() 366 if (bus->offline) { mips_cdmm_setup() 374 bus->offline = false; mips_cdmm_setup() 574 * event (such as the CPU going online/offline). 615 * While bus is offline, each use of it should reconfigure it just in mips_cdmm_bus_down() 620 bus->offline = true; mips_cdmm_bus_down() 645 /* Bus now set up, so we can drop the offline flag if still set */ mips_cdmm_bus_up() 646 bus->offline = false; mips_cdmm_bus_up() 659 * mips_cdmm_cpu_notify() - Take action when a CPU is going online or offline. 665 * onlined. When CPUs go offline or come back online, so does their CDMM bus, so
|
/linux-4.4.14/drivers/s390/block/ |
H A D | dasd_genhd.c | 127 * the offline open_count limit needs to be increased from dasd_scan_partitions() 130 * detection is running no offline should be allowed. That dasd_scan_partitions() 151 * device->bdev to lower the offline open_count limit again. dasd_destroy_partitions()
|
H A D | dasd_int.h | 304 * when it is set offline. 389 __u8 cuirpm; /* CUIR varied offline */ 524 #define DASD_FLAG_OFFLINE 3 /* device is in offline processing */ 534 #define DASD_FLAG_SAFE_OFFLINE 10 /* safe offline processing requested*/ 535 #define DASD_FLAG_SAFE_OFFLINE_RUNNING 11 /* safe offline running */
|
H A D | dasd.c | 1843 * IO in safe offline processing should not __dasd_device_check_expire() 1874 /* dasd is being set offline. */ __dasd_device_is_unusable() 3283 /* Already doing offline processing */ dasd_generic_remove() 3289 * This device is removed unconditionally. Set offline dasd_generic_remove() 3416 pr_warn("%s: The DASD cannot be set offline with open count %i\n", dasd_generic_set_offline() 3419 pr_warn("%s: The DASD cannot be set offline while it is in use\n", dasd_generic_set_offline() 3429 * safe offline already running dasd_generic_set_offline() 3430 * could only be called by normal offline so safe_offline flag dasd_generic_set_offline() 3431 * needs to be removed to run normal offline and kill all I/O dasd_generic_set_offline() 3434 /* Already doing normal offline processing */ dasd_generic_set_offline() 3442 /* Already doing offline processing */ dasd_generic_set_offline() 3449 * clear safe_offline so that a call to normal offline dasd_generic_set_offline() 3455 * If we want to set the device safe offline all IO operations dasd_generic_set_offline() 3456 * should be finished before continuing the offline process dasd_generic_set_offline()
|
H A D | dasd_devmap.c | 888 /* Changing diag discipline flag is only allowed in offline state. */ dasd_use_diag_store() 937 /* Changing diag discipline flag is only allowed in offline state. */ dasd_use_raw_store() 969 /* Already doing offline processing */ dasd_safe_offline_store()
|
/linux-4.4.14/drivers/s390/crypto/ |
H A D | zcrypt_error.h | 114 pr_err("Cryptographic device %x failed and was set offline\n", convert_error() 125 pr_err("Cryptographic device %x failed and was set offline\n", convert_error() 132 pr_err("Cryptographic device %x failed and was set offline\n", convert_error()
|
H A D | zcrypt_api.h | 108 int online; /* User online/offline */
|
H A D | zcrypt_msgtype6.c | 574 pr_err("Cryptographic device %x failed and was set offline\n", convert_type86_ica() 717 pr_err("Cryptographic device %x failed and was set offline\n", convert_response_ica() 749 pr_err("Cryptographic device %x failed and was set offline\n", convert_response_xcrb() 775 pr_err("Cryptographic device %x failed and was set offline\n", convert_response_ep11_xcrb() 802 pr_err("Cryptographic device %x failed and was set offline\n", convert_response_rng()
|
H A D | zcrypt_msgtype50.c | 338 pr_err("Cryptographic device %x failed and was set offline\n", convert_type80() 370 pr_err("Cryptographic device %x failed and was set offline\n", convert_response()
|
/linux-4.4.14/drivers/scsi/bfa/ |
H A D | bfa_defs_fcs.h | 53 u32 fabric_offlines; /* Internal fabric offline notification sent 123 * FCS port offline reason. 309 u32 fab_offline; /* offline events from fab SM */ 329 BFA_RPORT_OFFLINE = 1, /* rport is offline */ 360 u32 offlines; /* remote port offline count */ 439 BFA_ITNIM_OFFLINE = 0, /* offline */ 445 BFA_ITNIM_HCB_OFFLINE = 6, /* offline callback */ 454 u32 offlines; /* num rport offline */
|
H A D | bfa_defs_svc.h | 523 BFA_QOS_OFFLINE = 2, /* QoS is offline */ 567 BFA_BBCR_OFFLINE, /*!< BBCR is offline */ 713 u32 iocom_nexus_abort; /* IO failure due to target offline */ 903 BFA_FEC_OFFLINE = 2, /*!< FEC is offline */ 904 BFA_FEC_OFFLINE_NOT_16G = 3, /*!< FEC is offline (speed not 16Gig) */ 1072 BFA_TRUNK_OFFLINE = 2, /* Trunk is offline */ 1159 u32 sm_fwc_off; /* fw create: offline events */ 1162 u32 sm_on_off; /* online: offline events */ 1170 u32 sm_off_del; /* offline: delete events */ 1171 u32 sm_off_on; /* offline: online events */ 1172 u32 sm_off_hwf; /* offline: IOC down events */ 1173 u32 sm_off_unexp; /* offline: exception events */ 1184 u32 sm_iocd_off; /* IOC down: offline events */ 1423 BFA_RPORT_AEN_OFFLINE = 2, /* RPort offline event */
|
H A D | bfa_fcs_rport.c | 330 * Ignore BFA callback, on a PLOGI receive we call bfa offline. bfa_fcs_rport_sm_plogiacc_sending() 586 * are offline. 867 * At least go offline when a PLOGI is received. bfa_fcs_rport_sm_adisc_online() 912 * Already did offline actions. 953 * Already did offline actions 1000 * Rport has sent LOGO. Awaiting FC-4 offline completion callback. 1039 * LOGO needs to be sent to rport. Awaiting FC-4 offline completion 1075 * Rport is going offline. Awaiting FC-4 offline completion callback. 1095 * Rport is going offline. Just ack the logo bfa_fcs_rport_sm_fc4_offline() 1110 * rport is already going offline. bfa_fcs_rport_sm_fc4_offline() 1111 * SCN - ignore and wait till transitioning to offline state bfa_fcs_rport_sm_fc4_offline() 1125 * Rport is offline. FC-4s are offline. Awaiting BFA rport offline 1197 * Ignore, already offline. bfa_fcs_rport_sm_hcb_offline() 1207 * Rport is offline. FC-4s are offline. Awaiting BFA rport offline 1285 * Rport is being deleted. FC-4s are offline. 1286 * Awaiting BFA rport offline 1323 * Rport is being deleted. FC-4s are offline. LOGO is being sent. 1363 * Rport is offline. FC-4s are offline. BFA rport is offline. 3130 RPFSM_EVENT_RPORT_OFFLINE = 1, /* Rport offline */ 3350 * Called when Rport becomes offline
|
H A D | bfa_fcs.h | 39 BFA_LPS_SM_OFFLINE = 6, /* Link is offline */ 147 struct bfa_timer_s link_timer; /* timer for link offline */ 433 u32 old_pid; /* PID before rport goes offline */ 757 RPSM_EVENT_HCB_OFFLINE = 13, /* BFA rport offline callback */ 758 RPSM_EVENT_FC4_OFFLINE = 14, /* FC-4 offline complete */ 763 RPSM_EVENT_SCN_OFFLINE = 19, /* loop scn offline */ 773 BFA_FCS_ITNIM_SM_OFFLINE = 2, /* rport offline */ 779 BFA_FCS_ITNIM_SM_HCB_ONLINE = 8, /* BFA offline callback */
|
H A D | bfa_fcpim.c | 81 BFA_ITNIM_SM_OFFLINE = 3, /* itnim is offline */ 130 BFA_IOIM_SM_IOTOV = 18, /* ITN offline TOV */ 159 BFA_TSKIM_SM_CLEANUP = 8, /* TM cleanup on ITN offline */ 738 * Going offline. Waiting for active IO cleanup. 803 * Rport offline. Fimrware itnim is being deleted - awaiting f/w response. 1291 * Start IO TOV timer for failing back pending IO requests in offline state. 1449 * Return true if itnim is considered offline for holding off IO request. 1864 * 2nd cleanup request comes from ITN offline event. bfa_ioim_sm_cleanup() 2893 * Called by itnim to clean up IO while going offline. 2927 * IO offline TOV popped. Fail the pending IO. 3048 * If device is offline, do not send TM on wire. Just cleanup bfa_tskim_sm_uninit() 3108 * An active TM is being cleaned up since ITN is offline. Awaiting cleanup 3185 * No need to send TM on wire since ITN is offline. bfa_tskim_sm_qfull() 3500 * Cleanup TM command and associated IOs as part of ITNIM offline.
|
H A D | bfa_fcs_lport.c | 89 void (*offline) (struct bfa_fcs_lport_s *port); member in struct:__anon9248 198 __port_action[port->fabric->fab_type].offline(port); bfa_fcs_lport_sm_online() 218 __port_action[port->fabric->fab_type].offline(port); bfa_fcs_lport_sm_online() 679 __port_action[port->fabric->fab_type].offline(port); bfa_fcs_lport_offline_actions() 690 "Logical port taken offline: WWN = %s Role = %s\n", bfa_fcs_lport_offline_actions() 1026 * Called by fabric for base port when fabric goes offline. 1027 * Called by vport for virtual ports when virtual port becomes offline. 1192 * Called by port to notify transition to offline state. 1254 * whose pid should be zero, because it is offline. bfa_fcs_lport_n2n_online() 1269 * Called by fcs/port to notify transition to offline state. 1367 * Called by fcs/port to notify transition to offline state. 1471 * Start in offline state - awaiting MS to send start. 1562 * set state to offline bfa_fcs_lport_fdmi_sm_rhba() 1668 * set state to offline bfa_fcs_lport_fdmi_sm_rprt() 1769 * set state to offline bfa_fcs_lport_fdmi_sm_rpa() 2890 * Start in offline state - awaiting NS to send start. 3708 * Start in offline state - awaiting linkup 6003 BFA_FCS_VPORT_SM_OFFLINE = 6, /* fabric offline event */ 6096 * Fabric is offline or not NPIV capable, stay in bfa_fcs_vport_sm_created() 6097 * offline state. bfa_fcs_vport_sm_created() 6153 * In that case we will put the vport in offline state. bfa_fcs_vport_sm_offline() 6155 * be sent when we are already offline. Ignore it. bfa_fcs_vport_sm_offline() 6394 * offline, so no LOGO is needed to complete vport deletion.
|
H A D | bfa_fcs_fcpim.c | 249 /* invoke target offline */ bfa_fcs_itnim_sm_prli_retry() 646 * Called by rport to handle a remote device offline.
|
H A D | bfa_defs.h | 449 BFA_PORT_AEN_OFFLINE = 2, /* Physical Port offline event */ 487 BFA_LPORT_AEN_OFFLINE = 4, /* LPort offline event */ 509 BFA_ITNIM_AEN_OFFLINE = 2, /* Target offline */
|
H A D | bfad_im.c | 452 /* offline request is not yet done, use the same request to free */ bfa_fcb_itnim_free() 495 * BFA FCS itnim offline callback.
|
/linux-4.4.14/samples/bpf/ |
H A D | lathist_user.c | 50 /* ignore CPUs without data (maybe offline?) */ print_hist()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | smp.c | 161 DBG("CPU%d offline\n", cpu); pnv_smp_cpu_kill_self() 170 /* We don't want to take decrementer interrupts while we are offline, pnv_smp_cpu_kill_self() 188 * offline, except for those when changing micro-threading pnv_smp_cpu_kill_self() 232 DBG("CPU%d Unexpected exit while offline !\n", cpu); pnv_smp_cpu_kill_self()
|
H A D | subcore.c | 132 * Used to communicate to offline cpus that we want them to pop out of the 133 * offline loop and do a split or unsplit. 298 /* This should work even though the cpu is offline */ cpu_update_split_mode()
|
/linux-4.4.14/arch/arm/mach-shmobile/ |
H A D | platsmp-scu.c | 84 /* this function is running on another CPU than the offline target, shmobile_smp_scu_cpu_kill()
|
/linux-4.4.14/drivers/xen/ |
H A D | cpu_hotplug.c | 47 else if (strcmp(state, "offline") == 0) vcpu_online()
|
H A D | pcpu.c | 145 * Xen never offline cpu0 due to several restrictions pcpu_dev_is_visible() 147 * to user, one cannot attempt to offline BSP. pcpu_dev_is_visible()
|
/linux-4.4.14/kernel/ |
H A D | irq_work.c | 68 /* All work should have been flushed before going offline */ irq_work_queue_on() 123 /* All work should have been flushed before going offline */ irq_work_needs_cpu()
|
H A D | smp.c | 74 * ensure that the outgoing CPU doesn't go offline with work hotplug_cfd() 202 * offline CPU. Skip this check if set to 'false'. 205 * invoked by the generic IPI handler, as well as by a CPU about to go offline, 207 * offline. 225 /* There shouldn't be any pending callbacks on an offline CPU. */ flush_smp_call_function_queue() 229 WARN(1, "IPI on offline CPU %d\n", smp_processor_id()); flush_smp_call_function_queue() 236 pr_warn("IPI callback %pS sent to offline CPU\n", flush_smp_call_function_queue() 659 * Preemption is disabled to protect against CPUs going offline but not online.
|
H A D | torture.c | 66 * Variables for online-offline handling. Only present if CPU hotplug 120 "torture_onoff task: offline %d failed: errno %d\n", torture_onoff() 179 * Initiate online-offline handling. 197 * Clean up after online/offline testing. 212 * Print online/offline testing statistics. 228 * Were all the online/offline operations successful?
|
H A D | stop_machine.c | 83 /* queue @work to @stopper. if offline, @work is completed immediately */ cpu_stop_queue_work() 118 * -ENOENT if @fn(@arg) was not executed because @cpu was offline; 375 * @cpumask were offline; otherwise, 0 if all executions of @fn 404 * offline; otherwise, 0 if all executions of @fn returned 0, any non
|
H A D | smpboot.c | 262 /* We need to destroy also the parked threads of offline cpus */ for_each_possible_cpu() 421 * offline, with no post-death manipulation required from cpu_check_up_prepare()
|
H A D | cpu.c | 267 * offline, so its not like new tasks will ever get this cpu set in clear_tasks_mm_cpumask()
|
H A D | cpuset.c | 2217 * offline, update @cs accordingly. If @cs ends up with no CPU or memory, 2574 * We don't have to worry about the returned node being offline 2580 * offline node. But if it did, that would be ok, as this routine 2584 * is passed an offline node, it will fall back to the local node.
|
/linux-4.4.14/fs/proc/ |
H A D | stat.c | 54 /* !NO_HZ or cpu offline so we can rely on cpustat.idle */ get_idle_time() 70 /* !NO_HZ or cpu offline so we can rely on cpustat.iowait */ get_iowait_time()
|
/linux-4.4.14/drivers/oprofile/ |
H A D | nmi_timer_int.c | 140 /* can't attach events to offline cpus: */ for_each_online_cpu()
|
/linux-4.4.14/drivers/cpuidle/ |
H A D | cpuidle-exynos.c | 67 /* AFTR can only be entered when cores other than CPU0 are offline */ exynos_enter_lowpower()
|
H A D | driver.c | 161 * with some CPUs offline and then we online one of them, the CPU __cpuidle_driver_init()
|
H A D | coupled.c | 64 * it stores (or by the on/offlining cpu if that cpu is offline), 759 * Called when a cpu is brought on or offline using hotplug. Updates the
|
/linux-4.4.14/drivers/acpi/ |
H A D | container.c | 74 cdev->offline = acpi_container_offline; container_device_attach()
|
H A D | numa.c | 94 * node. When the mapped node from a given proximity ID is offline, it 100 * offline nodes. A node may be offline when a device proximity ID is
|
H A D | processor_driver.c | 152 /* Invalidate flag.throttling after the CPU is offline. */ acpi_cpu_soft_notify()
|
H A D | scan.c | 33 * If set, devices will be hot-removed even if they cannot be put offline 121 bool offline = true; acpi_scan_is_offline() local 130 if (device_supports_offline(pn->dev) && !pn->dev->offline) { acpi_scan_is_offline() 134 offline = false; acpi_scan_is_offline() 139 return offline; acpi_scan_is_offline()
|
H A D | acpi_processor.c | 463 * already offline and the ACPI device removal locking prevents it from acpi_processor_remove()
|
H A D | processor_throttling.c | 383 /* When one CPU is offline, the T-state throttling acpi_processor_reevaluate_tstate() 1095 * the cpu pointed by pr->id is offline. Unnecessary to change acpi_processor_set_throttling()
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | dwarf2.h | 43 * unwinding at runtime. So only the offline DWARF information is
|
/linux-4.4.14/block/ |
H A D | blk-mq-cpumap.c | 93 /* If cpus are offline, map them to first hctx */ blk_mq_make_queue_map()
|
/linux-4.4.14/fs/afs/ |
H A D | afs_fs.h | 48 VOFFLINE = 106, /* volume is currently offline (more info available [VVL-spec]) */
|
H A D | fsclient.c | 1574 /* extract the offline message length */ afs_deliver_fs_get_volume_status() 1584 _debug("offline msg length: %u", call->count); afs_deliver_fs_get_volume_status() 1590 /* extract the offline message */ afs_deliver_fs_get_volume_status() 1592 _debug("extract offline"); afs_deliver_fs_get_volume_status() 1605 _debug("offline '%s'", p); afs_deliver_fs_get_volume_status() 1610 /* extract the offline message padding */ afs_deliver_fs_get_volume_status()
|
/linux-4.4.14/include/uapi/asm-generic/ |
H A D | mman-common.h | 48 #define MADV_SOFT_OFFLINE 101 /* soft offline page for testing */
|
/linux-4.4.14/include/uapi/linux/ |
H A D | pg.h | 16 device is offline or malfunctioning, or there is already another
|
H A D | mtio.h | 34 #define MTOFFL 7 /* rewind and put the drive offline (eject?) */
|
/linux-4.4.14/include/linux/power/ |
H A D | bq2415x_charger.h | 41 BQ2415X_MODE_OFF, /* offline mode (charger disabled) */
|
/linux-4.4.14/arch/arm/mach-pxa/include/mach/ |
H A D | sharpsl_pm.h | 86 #define SHARPSL_DO_OFFLINE_CHRG (1 << 4) /* Trigger the offline charger */
|
/linux-4.4.14/arch/x86/power/ |
H A D | cpu.c | 251 pr_warn("CPU0 is offline.\n"); bsp_check() 288 * mode, i.e. CPU0 is offline and user mode hibernation bsp_pm_callback() 292 * device after boot time, this will offline CPU0 and user may bsp_pm_callback()
|
/linux-4.4.14/include/trace/events/ |
H A D | kmem.h | 152 * offline cpus, filter such calls out. 171 * offline cpus, filter such calls out. 288 * offline cpus, filter such calls out.
|
H A D | rcu.h | 53 * "cpuofl": CPU goes offline. 319 * state, which can be "dti" for dyntick-idle mode, "ofl" for CPU offline,
|
/linux-4.4.14/drivers/s390/scsi/ |
H A D | zfcp_ccw.c | 203 * into state offline. 225 * into state offline. 259 "The CHPID for the FCP device is offline\n"); zfcp_ccw_notify()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | smp-cps.c | 392 panic("Failed to offline CPU %u", cpu); 419 pr_err("CPU%u: didn't offline\n", cpu); cps_cpu_die() 424 * Now wait for the CPU to actually offline. Without doing this that cps_cpu_die()
|
H A D | cps-vec.S | 198 * deactivate this VPE if it should be offline. 473 /* This VPE should be offline, halt the TC */
|
H A D | smp-bmips.c | 362 pr_info("SMP: CPU%d is offline\n", cpu); bmips_cpu_disable()
|
/linux-4.4.14/drivers/s390/cio/ |
H A D | ccwgroup.c | 101 * This function attempts to put the ccwgroup device into the offline state. 189 /* Prevent concurrent online/offline processing and ungrouping. */ ccwgroup_ungroup_store() 484 /* Fail while device is being set online/offline. */ ccwgroup_pm_prepare() 616 * group device. It sets the ccw device offline and also deregisters the
|
H A D | device_fsm.c | 324 * -%EINVAL if the device is offline or has no driver. 369 * Finished with online/offline processing. 645 /* No, set state offline immediately. */ ccw_device_offline() 668 * Handle path verification event in offline state. 1044 * state offline.
|
H A D | chp.c | 63 /* On success return 0 if channel-path is varied offline, 1 if it is varied 109 * Varies the specified chpid online or offline 244 return status ? sprintf(buf, "online\n") : sprintf(buf, "offline\n"); chp_status_show()
|
H A D | device.c | 365 /* Inform the user if set offline failed. */ ccw_device_set_offline() 368 "being set offline\n", dev_name(&cdev->dev)); ccw_device_set_offline() 371 "being set offline\n", dev_name(&cdev->dev)); ccw_device_set_offline() 545 /* Prevent conflict between multiple on-/offline processing requests. */ online_store() 548 /* Prevent conflict between internal I/Os and on-/offline processing. */ online_store() 554 /* Prevent conflict between pending work and on-/offline processing.*/ online_store() 1360 * Unregister all ccw devices that are offline and on the blacklist. 1811 /* Fail while device is being set online/offline. */ ccw_device_pm_prepare()
|
/linux-4.4.14/arch/xtensa/kernel/ |
H A D | irq.c | 170 * The CPU has been marked offline. Migrate IRQs off this CPU. If
|
H A D | smp.c | 261 * Take this CPU offline. Once we clear this, we can't return, __cpu_disable()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
H A D | sdrc2xxx.c | 156 /* No disruptions, DDR will be offline & C-ABI not followed */ omap2xxx_sdrc_init_params()
|
/linux-4.4.14/arch/arm/mach-socfpga/ |
H A D | platsmp.c | 112 * anything, because CPUs going offline just do WFI. We could reset
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | smp.c | 92 pr_info("CPU %u is now offline\n", cpu); native_cpu_die() 133 * Take this CPU offline. Once we clear this, we can't return, __cpu_disable()
|
H A D | irq.c | 219 * The CPU has been marked offline. Migrate IRQs off this CPU. If
|
/linux-4.4.14/kernel/rcu/ |
H A D | tree.c | 618 return 0; /* No, this is a no-CBs (or offline) CPU. */ cpu_needs_another_gp() 1012 * this task being preempted, its old CPU being taken offline, resuming 1013 * on some other CPU, then determining that its old CPU is now offline. 1014 * It is OK to use RCU on an offline processor during initial boot, hence 1018 * offline to continue to use RCU for one jiffy after marking itself 1019 * offline in the cpu_online_mask. This leniency is necessary given the 1020 * non-atomic nature of the online and offline processing, for example, 1025 * CPU_UP_PREPARE phase and offline during the CPU_DEAD phase. 1087 * for this same CPU, or by virtue of having been offline. 1114 * Check for the CPU being offline, but only if the grace period rcu_implicit_dynticks_qs() 1116 * state: If we see it offline even once, it has been through a rcu_implicit_dynticks_qs() 1121 * have just gone offline can still execute RCU read-side critical rcu_implicit_dynticks_qs() 1843 * Apply per-leaf buffered online and offline operations to the rcu_gp_init() 1846 * will handle subsequent offline CPUs. rcu_gp_init() 1869 else /* Last offline CPU and can propagate. */ rcu_for_each_leaf_node() 1876 * still offline, propagate up the rcu_node tree and rcu_for_each_leaf_node() 1970 /* Handle dyntick-idle and offline CPUs. */ rcu_gp_fqs() 2161 * Note that it is legal for a dying CPU (which is marked as offline) to 2343 * called when the specified CPU is known to be offline (and when it is 2344 * also known that no other CPU is concurrently trying to help the offline 2431 * specified CPU must be offline, and the caller must hold the 2538 * Trace the fact that this CPU is going offline. 2556 * All CPUs for the specified rcu_node structure have gone offline, 2567 * all CPUs offline and no blocked tasks, so it is OK to invoke it 2646 "rcu_cleanup_dead_cpu: Callbacks on offline CPU %d: qlen=%lu, nxtlist=%p\n", rcu_cleanup_dead_cpu() 2848 /* Idle/offline CPUs, report (releases rnp->lock. */ rcu_for_each_leaf_node() 2988 /* If interrupts were disabled or CPU offline, don't invoke RCU core. */ __call_rcu_core() 3067 int offline; __call_rcu() local 3073 offline = !__call_rcu_nocb(rdp, head, lazy, flags); __call_rcu() 3074 WARN_ON_ONCE(offline); __call_rcu() 3186 * CPUs that are offline, idle, or executing in user mode, as well as CPUs 3405 * when CPUs go offline, so they reflect the union of all CPUs that have 3714 /* Each pass checks a CPU for identity, offline, and idle. */ rcu_for_each_leaf_node() 3745 /* Failed, raced with offline. */ rcu_for_each_leaf_node() 3763 /* Report quiescent states for those that went offline. */ rcu_for_each_leaf_node() 4048 * to ensure that no offline CPU has callbacks queued. _rcu_barrier() 4169 * offline event can be happening at a given time. Note also that we 4226 * Handle CPU online/offline notification events.
|
H A D | update.c | 95 * CPU is offline. 265 * offline from an RCU perspective, so check for those as well. 292 * offline from an RCU perspective, so check for those as well. 580 * Note that these guarantees include CPUs that are offline, idle, or
|
H A D | srcu.c | 373 * Note that these guarantees include CPUs that are offline, idle, or 477 * guarantees include CPUs that are offline, idle, or executing in user mode,
|
H A D | tree.h | 189 /* before propagating offline up the */ 365 unsigned long offline_fqs; /* Kicked due to being offline. */
|
/linux-4.4.14/drivers/s390/char/ |
H A D | tape_core.c | 367 * detected but offline into the online state. 368 * If we return an error (RC < 0) the device remains in the offline state. This 480 * Set device offline. 482 * Called by the common I/O layer if the drive should set offline on user 484 * Manual offline is only allowed while the drive is not in use. 511 DBF_EVENT(3, "(%08x): Set offline failed " tape_generic_offline() 518 DBF_LH(3, "(%08x): Drive set offline.\n", device->cdev_id); tape_generic_offline()
|
H A D | sclp_cmd.c | 358 * We do not allow to set memory blocks offline that contain sclp_mem_notifier()
|
/linux-4.4.14/arch/x86/xen/ |
H A D | time.c | 119 s64 runnable, offline, stolen; do_stolen_accounting() local 130 offline = state.time[RUNSTATE_offline] - snap->time[RUNSTATE_offline]; do_stolen_accounting() 136 stolen = runnable + offline + __this_cpu_read(xen_residual_stolen); do_stolen_accounting()
|
/linux-4.4.14/mm/ |
H A D | memory-failure.c | 13 * In addition there is a "soft offline" entry point that allows stop using 1601 pr_info("soft offline: %#lx hugepage already poisoned\n", pfn); soft_offline_huge_page() 1613 pr_info("soft offline: %#lx hugepage failed to isolate\n", pfn); soft_offline_huge_page() 1620 pr_info("soft offline: %#lx: migration failed %d, type %lx\n", soft_offline_huge_page() 1660 pr_info("soft offline: %#lx page already poisoned\n", pfn); __soft_offline_page() 1707 pr_info("soft offline: %#lx: migration failed %d, type %lx\n", __soft_offline_page() 1713 pr_info("soft offline: %#lx: isolation failed: %d, page count %d, type %lx\n", __soft_offline_page() 1720 * soft_offline_page - Soft offline a page. 1721 * @page: page to offline 1726 * Soft offline a page, by migration or invalidation, 1748 pr_info("soft offline: %#lx page already poisoned\n", pfn); soft_offline_page() 1755 pr_info("soft offline: %#lx: failed to split THP\n", soft_offline_page()
|
H A D | memory_hotplug.c | 1132 * When memory is hot-added, all the memory is in offline state. So hotadd_new_pgdat() 1585 * we can't offline the last normal memory until all can_offline_normal() 1623 /* check which state of node_states will be changed when offline memory */ node_states_check_changes_offline() 1645 * If the memory to be offline is in a zone of 0...zone_last, node_states_check_changes_offline() 1647 * become empty after offline , thus we can determind we will node_states_check_changes_offline() 1688 * If we try to offline the last present @nr_pages from the node, node_states_check_changes_offline() 1932 * offline this node. for_each_present_cpu() 1974 * and online/offline operations before this call. 1995 * can't offline node now. try_offline_node() 2004 * all memory/cpu of this node are removed, we can offline this try_offline_node() 2030 * and online/offline operations before this call, as required by 2043 * whether all memory blocks in question are offline and trigger a BUG() remove_memory()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | machine_kexec_64.c | 241 * may be using 'cede offline'. In this case RTAS doesn't see the secondary 242 * threads as offline -- and again, these CPUs will be stuck. 252 printk(KERN_INFO "kexec: Waking offline cpu %d.\n", for_each_present_cpu()
|
H A D | cacheinfo.c | 780 /* functions needed to remove cache entry for cpu offline or suspend/resume */ 841 * are offline */ cache_cpu_clear()
|
H A D | smp.c | 615 * i.e. during cpu online or offline.
|
/linux-4.4.14/arch/arm/mach-orion5x/ |
H A D | ts78xx-setup.c | 514 return sprintf(buf, "%s\n", (ts78xx_fpga.state) ? "online" : "offline"); ts78xx_fpga_show() 529 else if (strncmp(buf, "offline", sizeof("offline") - 1) == 0) ts78xx_fpga_store()
|
/linux-4.4.14/kernel/debug/kdb/ |
H A D | kdb_debugger.c | 121 /* zero out any offline cpu data */ for_each_present_cpu()
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | irq.c | 153 * The current CPU has been marked offline. Migrate IRQs off this CPU.
|
H A D | smp.c | 213 * Take this CPU offline. Once we clear this, we can't return, __cpu_disable() 323 * to be repeated to undo the effects of taking the CPU offline. arch_cpu_idle_dead()
|
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.c | 199 printf(_(" *is offline\n")); print_results() 396 printf("WARNING: at least one cpu is offline\n"); cmd_monitor()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ethtool.c | 99 "Register test (offline)", 100 "Link test (on/offline)" 673 hw_dbg(&adapter->hw, "offline testing starting\n"); ixgbevf_diag_test()
|
/linux-4.4.14/arch/powerpc/platforms/powermac/ |
H A D | smp.c | 935 pr_debug("CPU%d offline\n", cpu); pmac_cpu_die() 957 printk(KERN_INFO "CPU#%d offline\n", cpu); pmac_cpu_die() 966 * decrementer handler is safe for use on offline CPUs pmac_cpu_die()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_ethtool.c | 99 "Register test (offline)", "Eeprom test (offline)", 100 "Interrupt test (offline)", "Loopback test (offline)", 101 "Link test (on/offline)" 1546 e_info(hw, "offline testing starting\n"); e1000_diag_test()
|
/linux-4.4.14/drivers/scsi/snic/ |
H A D | snic_fwint.h | 87 SNIC_STAT_DEV_OFFLINE, /* req sent to offline device */ 162 * Bit 3: Async event notifications on on tgt online/offline events.
|
/linux-4.4.14/drivers/scsi/cxlflash/ |
H A D | sislite.h | 298 #define SISL_ASTATUS_FC0_LINK_DN 0x0200ULL /* b54, link online to offline */ 299 #define SISL_ASTATUS_FC0_LINK_UP 0x0100ULL /* b55, link offline to online */
|
H A D | main.c | 925 * set_port_offline() - transitions the specified host FC port to offline state 973 * wait_port_offline() - waits for the specified host FC port go offline 981 * TRUE (1) when the specified port is offline 982 * FALSE (0) when the specified port fails to go offline after timeout 1011 * sequence to configure the WWPN, the port is toggled offline and then back 1018 * -1 when the port fails to go offline or come back up online 1029 pr_debug("%s: wait on port %d to go offline timed out\n", afu_set_wwpn() 1060 * reset the port involves toggling it offline and then back online. This 1079 pr_err("%s: wait on port %d to go offline timed out\n", afu_link_reset() 1559 * offline/online transitions and a PLOGI init_global() 2019 disp_status = "offline"; cxlflash_show_port_status()
|
/linux-4.4.14/fs/ocfs2/ |
H A D | resize.c | 322 "Force to do offline resize."); ocfs2_group_extend() 503 " Force to do offline resize."); ocfs2_group_add()
|
H A D | journal.c | 95 * This replay_map is to track online/offline slots, so we could recover 96 * offline slots during recovery and mount 145 /* set rm_replay_slots for offline slot(s) */ ocfs2_compute_replay_slots() 1335 * recovery for it's own and offline slot(s). */ ocfs2_complete_mount_recovery() 1353 /* queue to recover orphan slots for all offline slots */ ocfs2_complete_mount_recovery() 1469 /* queue recovery for offline slots */ __ocfs2_recovery_thread() 1622 /* we need to run complete recovery for offline orphan slots */ ocfs2_replay_journal()
|
/linux-4.4.14/drivers/scsi/ |
H A D | raid_class.c | 128 { RAID_STATE_OFFLINE, "offline" },
|
H A D | scsi_error.c | 306 * see whether the host or the device is offline. 309 * 0 when dev was taken offline by error recovery. 1 OK to proceed. 1693 * scsi_eh_offline_sdevs - offline scsi devices that fail to recover 1774 * if the device is offline, then we clearly just pass the result back scsi_decide_disposition() 1779 "%s: device offline - report as SUCCESS\n", __func__)); scsi_decide_disposition() 2214 * If we fail, we end up taking the thing offline. scsi_error_handler() 2231 * individual devices offline and flush the queue of any scsi_error_handler()
|
H A D | sd.c | 1194 * If the device is offline, then disallow any access to it. sd_open() 1220 * the device being taken offline. If this is the case, sd_open() 1331 * may try and take the device offline, in which case all further sd_ioctl() 1409 * If the device is offline, don't send any commands - just pretend as sd_check_events() 1412 * that we would ever take a device offline in the first place. sd_check_events() 1697 * access is no longer possible and take the device offline. sd_eh_action() 2825 * If the device is offline, don't try and read capacity or any sd_revalidate_disk()
|
H A D | 3w-xxxx.h | 110 {0x37, 0x02, 0x04, 0x00}, // Unit offline Not ready
|
H A D | scsi_sysfs.c | 37 { SDEV_OFFLINE, "offline" }, 38 { SDEV_TRANSPORT_OFFLINE, "transport-offline" },
|
H A D | scsi_lib.c | 1300 * If the device is offline we refuse to process any scsi_prep_state_check() 1305 "rejecting I/O to offline device\n"); scsi_prep_state_check() 1793 "rejecting I/O to offline device\n"); 2996 * or to one of the offline states (which must be a legal transition)
|
H A D | 3w-9xxx.h | 172 {0x0128, "Unit is offline"},
|
H A D | dpt_i2o.c | 452 // TODO if the cmd->device if offline then I may need to issue a bus rescan adpt_queue_lck() 582 scsi_device_online(d->pScsi_dev)? "online":"offline"); adpt_show_info() 2666 // Drive offline drives that previously existed but could not be found adpt_i2o_reparse_lct() 2670 printk(KERN_WARNING"%s: Device (%d,%d,%llu) offline\n",pHba->name,pDev->scsi_channel,pDev->scsi_id,pDev->scsi_lun); adpt_i2o_reparse_lct()
|
/linux-4.4.14/drivers/remoteproc/ |
H A D | remoteproc_debugfs.c | 67 "offline",
|
/linux-4.4.14/net/core/ |
H A D | netprio_cgroup.c | 153 * onlining, there is no need to clear them on offline. cgrp_css_online()
|
/linux-4.4.14/arch/powerpc/platforms/52xx/ |
H A D | lite5200_sleep.S | 174 /* wait until we're offline */
|
/linux-4.4.14/arch/powerpc/sysdev/xics/ |
H A D | icp-native.c | 179 pr_err("XICS: hw interrupt 0x%x to offline cpu, disabling\n", icp_native_flush_interrupt()
|
H A D | xics-common.c | 246 /* This is expected during cpu offline. */ for_each_irq_desc()
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | irq.c | 261 * The CPU has been marked offline. Migrate IRQs off this CPU. If
|
H A D | smp.c | 273 * Take this CPU offline. Once we clear this, we can't return, __cpu_disable()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
H A D | ethtool.c | 113 "Register test (offline)", "Eeprom test (offline)", 114 "Interrupt test (offline)", "Loopback test (offline)", 115 "Link test (on/offline)" 1815 e_info("offline testing starting\n"); e1000_diag_test()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_init.c | 1137 * heart-beat outstanding state set, the driver will put the HBA offline. 1173 * to offline. 1297 * lpfc_offline_eratt - Bring lpfc offline on hardware error attention 1300 * This routine is called to bring the HBA offline when HBA hardware error 1326 * lpfc_sli4_offline_eratt - Bring lpfc offline on SLI4 hardware error attention 1329 * This routine is called to bring a SLI4 HBA offline when HBA hardware error 1360 /* If the pci channel is offline, ignore possible errors, lpfc_handle_deferred_eratt() 1389 * There was a firmware error. Take the hba offline and then lpfc_handle_deferred_eratt() 1459 /* If the pci channel is offline, ignore possible errors, lpfc_handle_eratt_s3() 1508 * There was a firmware error. Take the hba offline and then lpfc_handle_eratt_s3() 1527 "(%ld), taking this port offline " lpfc_handle_eratt_s3() 1546 * failure is a value other than FFER6. Do not call the offline lpfc_handle_eratt_s3() 1638 /* If the pci channel is offline, ignore possible errors, since lpfc_handle_eratt_s4() 1675 "taking port offline Data: x%x x%x\n", lpfc_handle_eratt_s4() 1728 "offline\n"); lpfc_handle_eratt_s4() 2676 * invoked before either putting a HBA offline or unloading the driver. 2718 * driver prepares the HBA interface for online or offline. 2890 * when the driver prepares the HBA interface for online or offline and then 2904 * lpfc_offline_prep - Prepare a HBA to be brought offline 2907 * This routine is invoked to prepare a HBA to be brought offline. It performs 2909 * queue to make it ready to be brought offline. 2958 * Whenever an SLI4 port goes offline, free the lpfc_offline_prep() 2984 * lpfc_offline - Bring a HBA offline 2987 * This routine actually brings a HBA offline. It stops all the timers 2989 * marks the HBA as in offline state for the upper layer protocol. 3009 "0460 Bring Adapter offline\n"); lpfc_offline() 3010 /* Bring down the SLI Layer and cleanup. The HBA is offline lpfc_offline() 4854 * offline, performs a board restart, and then brings the board back 9786 * and bring the device offline. Note that as the driver implements the 10026 * enable the interrupt, but it will just put the HBA to offline state 10073 /* Take device offline, it will perform cleanup */ lpfc_io_slot_reset_s3() 10535 * the device offline. Note that as the driver implements the minimum PM 10775 * the interrupt, but it will just put the HBA to offline state without 10847 * has to be moved to the io resume phase. Taking device offline lpfc_io_resume_s4()
|
H A D | lpfc_attr.c | 624 * -EPERM port offline or management commands are being blocked 727 "bringing Adapter offline\n"); lpfc_do_offline() 752 * offline then online. 1043 state = "offline"; lpfc_board_mode_show() 1051 * lpfc_board_mode_store - Puts the hba in online, offline, warm or error state 1054 * @buf: containing one of the strings "online", "offline", "warm" or "error". 1093 } else if (strncmp(buf, "offline", sizeof("offline") - 1) == 0) lpfc_board_mode_store() 2201 * -EIO error taking adapter offline or online 4919 * -EPERM adapter is offline
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-cpu.c | 289 CDEBUG(D_INFO, "CPU %d is invalid or it's offline\n", cpu); cfs_cpt_set_cpu() 970 /* if all HTs in a core are offline, it may break affinity */ cfs_cpu_notify()
|
/linux-4.4.14/drivers/usb/wusbcore/ |
H A D | wusbhc.h | 361 * FIXME: move offline 481 * FIXME: move offline
|
/linux-4.4.14/drivers/scsi/csiostor/ |
H A D | csio_rnode.c | 752 "in rn state[offline]\n", csio_rn_flowid(rn), evt, csio_rns_offline() 774 "in rn state[offline]\n", csio_rn_flowid(rn), evt, csio_rns_offline()
|
H A D | csio_lnode.c | 1032 "warn: FCOE link is already in offline " csio_handle_link_down() 1266 * csio_lns_offline - The request in offline state. 1270 * Process the given lnode event which is currently in "offline" state. 1311 "in ln state[offline].\n", evt, ln->nport_id); csio_lns_offline() 1323 "ln state[offline]\n", evt, ln->nport_id); csio_lns_offline()
|
H A D | csio_hw.h | 324 uint32_t n_pcich_offline;/* Number of pci channel offline */
|
/linux-4.4.14/drivers/hwmon/ |
H A D | coretemp.c | 743 * If a HT sibling of a core is taken offline, but another HT sibling put_core_offline() 760 * If all cores in this pkg are offline, remove the device.
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 219 "Register test (offline)", 220 "Eeprom test (offline)", 221 "Interrupt test (offline)", 222 "Loopback test (offline)", 223 "Link test (on/offline)" 1685 netif_info(pf, drv, netdev, "offline testing starting\n"); i40e_diag_test() 1691 "Please take active VFs and Netqueues offline and restart the adapter before running NIC diagnostics\n"); i40e_diag_test() 1702 /* If the device is online then take it offline */ i40e_diag_test()
|
/linux-4.4.14/security/ |
H A D | device_cgroup.c | 554 * online or offline during the tree walk (see on/offline propagate_exception()
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | setup.c | 356 * PSW restart is done on an offline CPU that has lowcore zero. setup_lowcore() 484 * [crashk_res.start - crashk_res.end] is set offline.
|
H A D | time.c | 848 * The port change event is used for online/offline changes. 1022 /* Both ports offline. Reset everything. */ etr_work_fn() 1261 /* Status word is not uptodate if both ports are offline. */ etr_mode_code_show()
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | smpboot.c | 640 printk ("Unable to retarget CPEI, offline cpu [%d] failed\n", cpu); migrate_platform_irqs() 687 printk ("CPU %d is now offline\n", cpu); __cpu_die()
|
H A D | acpi.c | 662 * we have including offline CPUs early_acpi_boot_init()
|
H A D | salinfo.c | 33 * Handle hotplug cpus going offline while they still have outstanding records.
|
/linux-4.4.14/drivers/tty/ipwireless/ |
H A D | network.c | 483 printk(KERN_DEBUG IPWIRELESS_PCCARD_NAME ": offline\n"); ipwireless_ppp_close()
|
H A D | tty.c | 635 * have gone offline. ipwireless_tty_notify_control_line_change()
|
/linux-4.4.14/drivers/s390/net/ |
H A D | qeth_core_mpc.c | 206 {IPA_RC_LAN_OFFLINE, "STRTLAN_LAN_DISABLED - LAN offline"},
|
H A D | qeth_core_sys.c | 491 /* defer IP assist if device is offline (until discipline->set_online)*/ qeth_dev_isolation_store()
|
/linux-4.4.14/drivers/misc/mic/host/ |
H A D | mic_boot.c | 413 * @force: force a MIC to reset even if it is already offline.
|
/linux-4.4.14/drivers/misc/mic/scif/ |
H A D | scif_nodeqp.h | 150 * @qp_state: QP state i.e. online or offline used for P2P
|
/linux-4.4.14/drivers/misc/sgi-xp/ |
H A D | xpc_uv.c | 847 xpc_heartbeat_uv->offline = 1; xpc_offline_heartbeat_uv() 854 xpc_heartbeat_uv->offline = 0; xpc_online_heartbeat_uv() 861 xpc_heartbeat_uv->offline = 0; xpc_heartbeat_init_uv() 883 !part_uv->cached_heartbeat.offline) { xpc_get_remote_heartbeat_uv()
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
H A D | ethtool.c | 69 "Link test (on/offline)"
|
/linux-4.4.14/drivers/firewire/ |
H A D | init_ohci1394_dma.c | 184 * OHCI1394 initialization itself and any device going on- or offline
|
/linux-4.4.14/lib/ |
H A D | kobject_uevent.c | 52 [KOBJ_OFFLINE] = "offline",
|
/linux-4.4.14/include/xen/interface/ |
H A D | xen-mca.h | 140 /* CPU offline Action */
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | kvm_book3s_64.h | 427 * any RCU stuff (since the secondary threads are offline from the
|
H A D | mpic.h | 457 /* Clean up for kexec (or cpu offline or ...) */
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | pdc_chassis.h | 233 #define PDC_CHASSIS_RET_DIAG (15ULL << 52) /* offline diagnostics & utilities */
|
/linux-4.4.14/drivers/xen/events/ |
H A D | events_fifo.c | 361 * If this CPU is offline, take the opportunity to for_each_possible_cpu()
|
/linux-4.4.14/tools/power/cpupower/utils/helpers/ |
H A D | sysfs.c | 45 * 0 -> if CPU is offline
|
/linux-4.4.14/drivers/ata/ |
H A D | libata-pmp.c | 389 /* link reports offline after LPM */ ata_for_each_link() 409 * Link reports offline after LPM. Class code report is 420 /* link reports offline after LPM */ ata_for_each_link()
|
H A D | libata-core.c | 3438 * offline. ata_wait_ready() 3737 /* no point in trying softreset on offline link */ ata_std_prereset() 3815 /* if link is offline nothing more to do */ sata_link_hardreset() 3868 * 0 if link offline, -EAGAIN if link online, -errno on errors. 5233 * ata_phys_link_offline - test whether the given link is offline 5236 * Test whether @link is offline. Note that this function 5237 * returns 0 if offline status of @link cannot be obtained, so 5244 * True if the port offline status is available and offline. 5283 * ata_link_offline - test whether the given link is offline 5286 * Test whether @link is offline. This is identical to 5290 * offline. 5296 * True if the port offline status is available and offline.
|
H A D | sata_fsl.c | 796 /* Poll for controller to go offline - should happen immediately */ sata_fsl_port_stop() 847 /* Poll for controller to go offline */ sata_fsl_hardreset() 855 * Try to offline controller atleast twice sata_fsl_hardreset()
|
H A D | ahci.h | 233 link offline */
|
H A D | libata-scsi.c | 865 // Unit offline Not ready ata_to_sense_error() 878 // FIXME: faking offline ata_to_sense_error() 1249 /* SCSI device already in CANCEL state, no need to offline it */ ata_scsi_slave_destroy() 3792 * ata_scsi_offline_dev - offline attached SCSI device 3793 * @dev: ATA device to offline attached SCSI device for 3796 * for taking the SCSI device attached to @dev offline. This 3851 * offline on return from ata_scsi_offline_dev() ata_scsi_remove_dev()
|
/linux-4.4.14/arch/x86/kernel/apic/ |
H A D | vector.c | 140 * Clear the offline cpus from @vector_cpumask for searching __assign_irq_vector() 209 * Exclude offline cpus from the cleanup mask and set the 680 * Clean out all offline cpus (including the outgoing one) from the irq_force_complete_move()
|
/linux-4.4.14/drivers/target/ |
H A D | target_core_alua.c | 45 struct se_lun *lun, int explicit, int offline); 699 pr_debug("ALUA: Got secondary offline status for local" target_alua_state_check() 1293 int offline) core_alua_set_tg_pt_secondary_state() 1311 if (offline) core_alua_set_tg_pt_secondary_state() 1323 tg_pt_gp->tg_pt_gp_id, (offline) ? "OFFLINE" : "ONLINE"); core_alua_set_tg_pt_secondary_state() 1290 core_alua_set_tg_pt_secondary_state( struct se_lun *lun, int explicit, int offline) core_alua_set_tg_pt_secondary_state() argument
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 131 "Register test (offline)", "Eeprom test (offline)", 132 "Interrupt test (offline)", "Loopback test (offline)", 133 "Link test (on/offline)" 1986 /* can't do offline tests on media switching devices */ igb_diag_test() 1997 dev_info(&adapter->pdev->dev, "offline testing starting\n"); igb_diag_test()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 148 "Register test (offline)", "Eeprom test (offline)", 149 "Interrupt test (offline)", "Loopback test (offline)", 150 "Link test (on/offline)" 2005 netdev_warn(netdev, "offline diagnostic is not supported when VFs are present\n"); ixgbe_diag_test() 2020 e_info(hw, "offline testing starting\n"); ixgbe_diag_test()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_ethtool.c | 1999 "register_test (offline) ", 2000 "memory_test (offline) ", 2001 "int_loopback_test (offline)", 2002 "ext_loopback_test (offline)", 2967 "Self-test command parameters: offline = %d, external_lb = %d\n", bnx2x_self_test() 2988 /* offline tests are not supported in MF mode */ bnx2x_self_test() 3003 "Can't perform self-test, nic_load (for offline) failed\n"); bnx2x_self_test()
|
/linux-4.4.14/drivers/thermal/ |
H A D | x86_pkg_temp_thermal.c | 496 * going offline. We don't need to worry about this assignment pkg_temp_thermal_device_remove()
|
/linux-4.4.14/drivers/staging/media/lirc/ |
H A D | lirc_parallel.c | 680 #if 0 /* continue even if device is offline */ lirc_parallel_init()
|
/linux-4.4.14/drivers/scsi/bnx2i/ |
H A D | bnx2i_init.c | 490 printk(KERN_INFO "CPU %x offline: Remove Rx thread\n", cpu); bnx2i_cpu_callback()
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | cpufreq_governor.c | 286 /* Set shared for all CPUs, online+offline */ alloc_common_dbs_info()
|
/linux-4.4.14/arch/x86/kernel/cpu/microcode/ |
H A D | core.c | 600 * When a CPU goes offline, don't free up or invalidate the copy of mc_cpu_callback()
|
/linux-4.4.14/include/sound/ |
H A D | vx_core.h | 476 #define VX_AUDIO_INFO_OFFLINE (1<<1) /* offline processing available */
|
/linux-4.4.14/tools/perf/ |
H A D | builtin-probe.c | 508 "target module name (for online) or path (for offline)", __cmd_probe()
|
/linux-4.4.14/drivers/target/loopback/ |
H A D | tcm_loop.c | 1004 status = "offline"; tcm_loop_tpg_transport_status_show() 1027 if (!strncmp(page, "offline", 7)) { tcm_loop_tpg_transport_status_store()
|
/linux-4.4.14/drivers/scsi/megaraid/ |
H A D | megaraid_mm.c | 170 * Check if adapter can accept ioctl. We may have marked it offline mraid_mm_ioctl() 717 * If the command had timedout, we mark the controller offline lld_ioctl()
|
/linux-4.4.14/drivers/powercap/ |
H A D | intel_rapl.c | 272 /* all CPUs on this package are offline */ 1375 * We have to consider the possiblity of CPU online/offline due to hotplug and
|
/linux-4.4.14/drivers/edac/ |
H A D | edac_mc.c | 538 /* if this control struct has movd to offline state, we are done */ edac_mc_workq_function() 838 /* marking MCI offline */ edac_mc_del_mc()
|
/linux-4.4.14/drivers/net/ethernet/intel/ |
H A D | e100.c | 2614 "Link test (on/offline)", 2615 "Eeprom test (on/offline)", 2616 "Self test (offline)", 2617 "Mac loopback (offline)", 2618 "Phy loopback (offline)",
|
/linux-4.4.14/kernel/time/ |
H A D | timer.c | 932 * when the current CPU goes offline. If this is a problem for 935 * offline. 1387 * Pretend that there is no timer pending if the cpu is offline. get_next_timer_interrupt()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_sdma.c | 329 * Not everything that takes SDMA offline is a link sdma_abort_task()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
H A D | qla_mid.c | 117 * Updates fcport state when device goes offline.
|
/linux-4.4.14/drivers/isdn/i4l/ |
H A D | isdn_v110.c | 30 * The following data are precoded matrices, online and offline matrix
|
/linux-4.4.14/drivers/net/fddi/skfp/h/ |
H A D | cmtdef.h | 342 #define MA_OFFLINE 5 /* switch MAC to offline */
|
/linux-4.4.14/drivers/perf/ |
H A D | arm_pmu.c | 696 * PMU hardware loses all context when a CPU goes offline.
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_ethtool.c | 179 "Loopback test (offline)"
|
/linux-4.4.14/drivers/block/paride/ |
H A D | pg.c | 11 device is offline or malfunctioning, or there is already another
|