Searched refs:online (Results 1 - 25 of 155) sorted by relevance

1234567

/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_hotplug.tc19 # Find online cpu
21 if [ -f $i/online ] && [ "$(cat $i/online)" = "1" ]; then
28 echo "We cannot test cpu hotplug with a single cpu online"
35 : "Set $(basename $cpu) offline/online with function tracer enabled"
38 (echo 0 > $cpu/online)
40 (echo 1 > $cpu/online)
/linux-master/drivers/s390/crypto/
H A Dzcrypt_queue.c45 int online = aq->config && !aq->chkstop && zq->online ? 1 : 0; local
47 return sysfs_emit(buf, "%d\n", online);
57 int online; local
59 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1)
62 if (online && (!aq->config || !aq->card->config ||
65 if (online && !zc->online)
103 zcrypt_queue_force_online(struct zcrypt_queue *zq, int online) argument
[all...]
H A Dzcrypt_card.c55 int online = ac->config && !ac->chkstop && zc->online ? 1 : 0; local
57 return sysfs_emit(buf, "%d\n", online);
67 int online, id, i = 0, maxzqs = 0; local
70 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1)
73 if (online && (!ac->config || ac->chkstop))
76 zc->online = online;
[all...]
H A Dzcrypt_api.h101 int online; /* User online/offline */ member in struct:zcrypt_card
120 int online; /* User online/offline */ member in struct:zcrypt_queue
154 bool zcrypt_queue_force_online(struct zcrypt_queue *zq, int online);
/linux-master/tools/testing/selftests/cpufreq/
H A Dcpu.sh35 echo 0 > $CPUROOT/$1/online
42 echo 1 > $CPUROOT/$1/online
/linux-master/tools/virtio/ringtest/
H A Drun-on-all.sh4 CPUS_ONLINE=$(lscpu --online -p=cpu|grep -v -e '#')
/linux-master/tools/testing/selftests/cpu-hotplug/
H A Dcpu-on-off-test.sh32 echo "CPU online/offline summary:"
33 online_cpus=`cat $SYSFS/devices/system/cpu/online`
45 echo -e "\t Cpus in online state: $online_cpus"
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 >
[all...]
/linux-master/include/linux/
H A Dsmpboot.h27 * unparked (cpu online)
38 void (*cleanup)(unsigned int cpu, bool online);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Draw_tp_test_run.c15 bool *online = NULL; local
22 err = parse_cpu_mask_file("/sys/devices/system/cpu/online", &online,
58 if (!online[i])
85 free(online);
H A Dperf_buffer.c54 bool *online; local
60 err = parse_cpu_mask_file("/sys/devices/system/cpu/online",
61 &online, &on_len);
66 if (online[i])
95 if (i >= on_len || !online[i]) {
118 if (i >= on_len || !online[i])
146 free(online);
/linux-master/drivers/base/
H A Dcontainer.c30 .online = trivial_online,
/linux-master/drivers/staging/fieldbus/
H A Dfieldbus_dev.h67 bool online; member in struct:fieldbus_dev
96 * - notify the subsystem that the fieldbus online status changed
99 void fieldbus_dev_online_changed(struct fieldbus_dev *fb, bool online);
111 bool online) {}
110 fieldbus_dev_online_changed(struct fieldbus_dev *fb, bool online) argument
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Djitter.sh33 if test -f $i/online
57 # Set affinity to randomly selected online CPU
58 if cpus=`grep 1 /sys/devices/system/cpu/*/online 2>&1 |
/linux-master/drivers/power/supply/
H A Dtps65217_charger.c34 int online; member in struct:tps65217_charger
83 if (charger->online)
98 charger->online = 1;
110 val->intval = charger->online;
121 charger->prev_online = charger->online;
141 charger->online = 0;
144 if (charger->prev_online != charger->online)
H A D88pm860x_charger.c107 unsigned online:1; /* usb charger */ member in struct:pm860x_charger_info
274 if (vbatt > CHARGE_THRESHOLD && info->online)
317 (info->online) ? "online" : "N/A",
323 if (info->online && info->present && info->allowed) {
344 if (info->online && info->present && info->allowed) {
355 if (info->online && info->present && info->allowed) {
366 if (info->online && info->present && info->allowed) {
377 else if (vbatt > CHARGE_THRESHOLD && info->online)
389 (info->online)
[all...]
H A Dpower_supply_leds.c114 union power_supply_propval online; local
116 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online))
119 dev_dbg(&psy->dev, "%s %d\n", __func__, online.intval);
121 if (online.intval)
129 psy->online_trig_name = kasprintf(GFP_KERNEL, "%s-online",
H A Dmax14656_charger_detector.c86 int online; member in struct:max14656_chip
152 chip->online = 1;
154 chip->online = 0;
216 val->intval = chip->online;
262 chip->online = 0;
H A Dpm8916_lbc.c64 bool online; member in struct:pm8916_lbc_charger
131 val->intval = chg->online;
189 chg->online = !!(tmp & PM8916_LBC_USB_USBIN_VALID);
190 extcon_set_state_sync(chg->edev, EXTCON_USB, chg->online);
347 chg->online = !!(tmp & PM8916_LBC_USB_USBIN_VALID);
348 extcon_set_state_sync(chg->edev, EXTCON_USB, chg->online);
/linux-master/drivers/staging/media/atomisp/pci/runtime/binary/interface/
H A Dia_css_binary.h83 bool online; member in struct:ia_css_binary_descr
135 bool online; member in struct:ia_css_binary
160 bool online,
/linux-master/drivers/staging/media/atomisp/pci/css_2401_system/
H A Dibuf_ctrl_global.h48 bool online; member in struct:ibuf_ctrl_cfg_s
/linux-master/kernel/time/
H A Dtimer_migration.h69 * @online: Indicates whether the CPU is online; In deactivate path
72 * pending. Then another online CPU needs to be notified to
91 bool online; member in struct:tmigr_cpu
/linux-master/drivers/staging/media/atomisp/pci/
H A Disp2401_input_system_global.h109 bool online; member in struct:isp2401_input_system_cfg_s
157 u8 online; member in struct:virtual_input_system_stream_s
/linux-master/kernel/irq/
H A Dmatrix.c17 bool online; member in struct:cpumap
81 * irq_matrix_online - Bring the local CPU matrix online
88 BUG_ON(cm->online);
96 cm->online = true;
111 cm->online = false;
146 if (!cm->online || cm->available <= maxavl)
167 if (!cm->online || cm->managed_allocated > allocated)
228 if (cm->online) {
278 if (cm->online) {
439 if (cm->online)
[all...]
/linux-master/drivers/ata/
H A Dahci_da850.c119 bool online; local
130 ret = ahci_do_hardreset(link, class, deadline, &online);
131 if (online)
/linux-master/arch/s390/include/asm/
H A Dphysmem_info.h55 struct physmem_range online[MEM_INLINED_ENTRIES]; member in struct:physmem_info
73 *start = (unsigned long)physmem_info.online[n].start;
74 *end = (unsigned long)physmem_info.online[n].end;
90 * for_each_physmem_usable_range - early online memory range iterator
95 * Walks over detected online memory ranges below usable limit.
100 /* Walks over all detected online memory ranges disregarding usable limit. */

Completed in 405 milliseconds

1234567