Home
last modified time | relevance | path

Searched refs:online (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/linux/drivers/s390/crypto/
A Dzcrypt_queue.c45 int online = aq->config && !aq->chkstop && zq->online ? 1 : 0; in online_show() local
47 return sysfs_emit(buf, "%d\n", online); in online_show()
57 int online; in online_store() local
59 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1) in online_store()
65 if (online && !zc->online) in online_store()
67 zq->online = online; in online_store()
75 if (!online) in online_store()
80 static DEVICE_ATTR_RW(online);
105 if (!!zq->online != !!online) { in zcrypt_queue_force_online()
106 zq->online = online; in zcrypt_queue_force_online()
[all …]
A Dzcrypt_card.c55 int online = ac->config && !ac->chkstop && zc->online ? 1 : 0; in online_show() local
57 return sysfs_emit(buf, "%d\n", online); in online_show()
67 int online, id, i = 0, maxzqs = 0; in online_store() local
70 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1) in online_store()
73 if (online && (!ac->config || ac->chkstop)) in online_store()
76 zc->online = online; in online_store()
81 ap_send_online_uevent(&ac->ap_dev, online); in online_store()
95 if (zcrypt_queue_force_online(zq, online)) in online_store()
104 ap_send_online_uevent(&zq->queue->ap_dev, online); in online_store()
113 static DEVICE_ATTR_RW(online);
[all …]
/linux/tools/testing/selftests/cpu-hotplug/
A Dcpu-on-off-test.sh33 online_cpus=`cat $SYSFS/devices/system/cpu/online`
64 if [ -f $cpu/online ] && grep -q $state $cpu/online; then
82 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
87 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
92 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online
97 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
121 echo $FUNCNAME $cpu: unexpected online >&2
/linux/Documentation/translations/zh_CN/core-api/
A Dcpu_hotplug.rst379 online 对应ONLINE阶段中的状态
557 138: mm/vmscan:online
558 139: mm/vmstat:online
559 140: lib/percpu_cnt:online
560 141: acpi/cpu-drv:online
561 142: base/cacheinfo:online
562 143: virtio/net:online
563 144: x86/mce:online
564 145: printk:online
566 169: online
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dperf_buffer.c54 bool *online; in serial_test_perf_buffer() local
61 &online, &on_len); in serial_test_perf_buffer()
66 if (online[i]) in serial_test_perf_buffer()
95 if (i >= on_len || !online[i]) { in serial_test_perf_buffer()
118 if (i >= on_len || !online[i]) in serial_test_perf_buffer()
146 free(online); in serial_test_perf_buffer()
A Draw_tp_test_run.c15 bool *online = NULL; in test_raw_tp_test_run() local
22 err = parse_cpu_mask_file("/sys/devices/system/cpu/online", &online, in test_raw_tp_test_run()
58 if (!online[i]) in test_raw_tp_test_run()
85 free(online); in test_raw_tp_test_run()
/linux/Documentation/admin-guide/
A Dcputopology.rst61 offline: CPUs that are not online because they have been
66 online: CPUs that are online and being scheduled [cpu_online_mask]
69 brought online if they are present. [cpu_possible_mask]
80 being 32. Note also that CPUs 2 and 4-31 are not online but could be
81 brought online as they are both present and possible::
85 online: 0-1,3
92 online.)::
96 online: 0-1,3
/linux/drivers/power/supply/
A D88pm860x_charger.c107 unsigned online:1; /* usb charger */ member
274 if (vbatt > CHARGE_THRESHOLD && info->online) in stop_charge()
317 (info->online) ? "online" : "N/A", in set_charging_fsm()
389 (info->online) ? "online" : "N/A", in set_charging_fsm()
408 info->online = 1; in pm860x_charger_handler()
411 info->online = 0; in pm860x_charger_handler()
529 if (info->present && info->online) in pm860x_vbattery_handler()
552 if (!info->online) { in pm860x_vchg_handler()
606 val->intval = info->online; in pm860x_usb_get_prop()
630 info->online = 1; in pm860x_init_charger()
[all …]
A Dtps65217_charger.c34 int online; member
83 if (charger->online) in tps65217_enable_charging()
98 charger->online = 1; in tps65217_enable_charging()
110 val->intval = charger->online; in tps65217_charger_get_property()
121 charger->prev_online = charger->online; in tps65217_charger_irq()
141 charger->online = 0; in tps65217_charger_irq()
144 if (charger->prev_online != charger->online) in tps65217_charger_irq()
A Dmax14656_charger_detector.c86 int online; member
152 chip->online = 1; in max14656_irq_worker()
154 chip->online = 0; in max14656_irq_worker()
216 val->intval = chip->online; in max14656_get_property()
262 chip->online = 0; in max14656_probe()
A Dpower_supply_leds.c171 union power_supply_propval online; in power_supply_update_gen_leds() local
173 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online)) in power_supply_update_gen_leds()
176 dev_dbg(&psy->dev, "%s %d\n", __func__, online.intval); in power_supply_update_gen_leds()
178 if (online.intval) in power_supply_update_gen_leds()
/linux/Documentation/core-api/
A Dcpu_hotplug.rst36 other CPUs later online.
119 bring CPU4 back online::
634 138: mm/vmscan:online
635 139: mm/vmstat:online
636 140: lib/percpu_cnt:online
637 141: acpi/cpu-drv:online
639 143: virtio/net:online
640 144: x86/mce:online
641 145: printk:online
643 169: online
[all …]
A Dmemory-hotplug.rst23 Generated when memory has successfully brought online. The callback may
63 - start_pfn is start_pfn of online/offline memory.
64 - nr_pages is # of pages of online/offline memory.
68 set/clear. It means a new(memoryless) node gets new memory by online and a
92 - synchronize against online/offline requests (e.g. via sysfs). This way, memory
93 block devices can only be accessed (.online/.state attributes) by user
99 device_hotplug_lock when adding memory and user space tries to online that
/linux/Documentation/ABI/testing/
A Dsysfs-devices-online1 What: /sys/devices/.../online
5 The /sys/devices/.../online attribute is only present for
6 devices whose bus types provide .online() and .offline()
13 this file, the device bus type's .online() callback is executed
20 type's .online() is executed successfully.
A Dsysfs-devices-system-xen_cpu12 What: /sys/devices/system/xen_cpu/xen_cpu#/online
16 Interface to online/offline Xen physical cpus
19 to online/offline physical cpus, except cpu0 due to several
/linux/tools/testing/selftests/ftrace/test.d/ftrace/
A Dfunc_hotplug.tc21 if [ -f $i/online ] && [ "$(cat $i/online)" = "1" ]; then
38 (echo 0 > $cpu/online)
40 (echo 1 > $cpu/online)
/linux/kernel/irq/
A Dmatrix.c17 bool online; member
88 BUG_ON(cm->online); in irq_matrix_online()
96 cm->online = true; in irq_matrix_online()
111 cm->online = false; in irq_matrix_offline()
146 if (!cm->online || cm->available <= maxavl) in matrix_find_best_cpu()
167 if (!cm->online || cm->managed_allocated > allocated) in matrix_find_best_cpu_managed()
228 if (cm->online) { in irq_matrix_reserve_managed()
278 if (cm->online) { in irq_matrix_remove_managed()
439 if (cm->online) in irq_matrix_free()
444 if (cm->online) in irq_matrix_free()
/linux/arch/mips/kernel/
A Dpm-cps.c39 typedef unsigned (*cps_nc_entry_fn)(unsigned online, u32 *nc_ready_count);
78 static void coupled_barrier(atomic_t *a, unsigned online) in coupled_barrier() argument
92 while (atomic_read(a) < online) in coupled_barrier()
95 if (atomic_inc_return(a) == online * 2) { in coupled_barrier()
100 while (atomic_read(a) > online) in coupled_barrier()
108 unsigned online, left; in cps_pm_enter_state() local
126 online = cpumask_weight(coupled_mask); in cps_pm_enter_state()
132 online = 1; in cps_pm_enter_state()
161 coupled_barrier(&per_cpu(pm_barrier, core), online); in cps_pm_enter_state()
164 left = entry(online, nc_core_ready_count); in cps_pm_enter_state()
[all …]
/linux/Documentation/arch/s390/
A Ddriver-model.rst49 online:
50 An interface to set the device online and offline.
77 via the 'online' interface.
93 int online;
161 activated via the 'online' attribute. The driver should finally
171 verified that the device is not already online.
185 verified that the device is online.
194 * In online state, device detached (CIO_GONE) or last path gone
279 - Can be 'online' or 'offline'.
280 Piping 'on' or 'off' sets the chpid logically online/offline.
[all …]
/linux/drivers/staging/fieldbus/
A Dfieldbus_dev.h67 bool online; member
99 void fieldbus_dev_online_changed(struct fieldbus_dev *fb, bool online);
111 bool online) {} in fieldbus_dev_online_changed() argument
/linux/drivers/staging/media/atomisp/pci/camera/pipe/src/
A Dpipe_binarydesc.c52 descr->online = false; in pipe_binarydesc_get_offline()
99 copy_descr->online = true; in ia_css_pipe_get_copy_binarydesc()
235 if (pipe->stream->config.online) { in ia_css_pipe_get_preview_binarydesc()
236 preview_descr->online = pipe->stream->config.online; in ia_css_pipe_get_preview_binarydesc()
355 if (pipe->stream->config.online) { in ia_css_pipe_get_video_binarydesc()
356 video_descr->online = pipe->stream->config.online; in ia_css_pipe_get_video_binarydesc()
578 if (pipe->stream->config.online && in ia_css_pipe_get_primary_binarydesc()
580 prim_descr->online = true; in ia_css_pipe_get_primary_binarydesc()
713 if (pipe->stream->config.online) { in ia_css_pipe_get_pre_de_binarydesc()
714 pre_de_descr->online = true; in ia_css_pipe_get_pre_de_binarydesc()
[all …]
/linux/tools/testing/selftests/memory-hotplug/
A Dmem-on-off-test.sh58 hotpluggable_memory online
63 grep -q online $SYSFS/devices/system/memory/memory$1/state
73 echo online > $SYSFS/devices/system/memory/memory$1/state
103 echo $FUNCNAME $memory: unexpected online >&2
/linux/drivers/staging/media/atomisp/pci/runtime/binary/interface/
A Dia_css_binary.h83 bool online; member
135 bool online; member
160 bool online,
/linux/tools/testing/selftests/sched_ext/
A Dhotplug.c25 static void toggle_online_status(bool online) in toggle_online_status() argument
27 long val = online ? 1 : 0; in toggle_online_status()
33 online ? "online" : "offline", strerror(errno)); in toggle_online_status()
/linux/Documentation/translations/zh_CN/admin-guide/
A Dcputopology.rst66 online: 在线的CPU,可供调度使用。[cpu_online_mask]
82 online: 0-1,3
91 online: 0-1,3

Completed in 56 milliseconds

12345678910>>...12