Home
last modified time | relevance | path

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

12345678910>>...24

/OK3568_Linux_fs/kernel/drivers/s390/crypto/
H A Dzcrypt_queue.c45 int online = aq->config && zq->online ? 1 : 0; in online_show() local
47 return scnprintf(buf, PAGE_SIZE, "%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()
62 if (online && (!aq->config || !aq->card->config)) in online_store()
64 if (online && !zc->online) in online_store()
66 zq->online = online; in online_store()
71 online); in online_store()
73 if (!online) in online_store()
78 static DEVICE_ATTR_RW(online);
[all …]
H A Dzcrypt_card.c55 int online = ac->config && zc->online ? 1 : 0; in online_show() local
57 return scnprintf(buf, PAGE_SIZE, "%d\n", online); in online_show()
67 int online, id; in online_store() local
69 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1) in online_store()
72 if (online && !ac->config) in online_store()
75 zc->online = online; in online_store()
78 ZCRYPT_DBF(DBF_INFO, "card=%02x online=%d\n", id, online); in online_store()
82 zcrypt_queue_force_online(zq, online); in online_store()
87 static DEVICE_ATTR_RW(online);
164 zc->online = 1; in zcrypt_card_register()
H A Dzcrypt_cex4.c88 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show()
122 &ci, zq->online); in cca_mkvps_show()
199 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_api_ordinalnr_show()
220 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_fw_version_show()
243 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_serialnr_show()
277 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_card_op_modes_show()
324 if (zq->online) in ep11_mkvps_show()
369 if (zq->online) in ep11_queue_op_modes_show()
541 zc->online = 1; in zcrypt_cex4_card_probe()
630 zq->online = 1; in zcrypt_cex4_queue_probe()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/storage/
H A Dnetwork_status.cpp12 std::atomic<bool> NetworkStatus::online(true);
17 if (online) { in Get()
26 online = false; in Set()
27 } else if(!online) { in Set()
28 online = true; in Set()
44 if (!online) { in Reachable()
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Dcpu_hotplug.rst35 other CPUs later online.
40 those CPUs can not be brought online later.
70 Bitmap of all CPUs currently online. Its set in ``__cpu_up()``
78 of them may be online. When physical hotplug is processed by the relevant
110 -r--r--r-- 1 root root 4.0K Dec 21 16:33 online
114 The files *offline*, *online*, *possible*, *present* represent the CPU masks.
115 Each CPU folder contains an *online* file which controls the logical on (1) and
118 $ echo 0 > /sys/devices/system/cpu/cpu4/online
123 bring CPU4 back online: ::
125 $ echo 1 > /sys/devices/system/cpu/cpu4/online
[all …]
H A Dmemory-hotplug.rst23 Generated when memory has successfully brought online. The callback may
64 - start_pfn is start_pfn of online/offline memory.
65 - nr_pages is # of pages of online/offline memory.
71 set/clear. It means a new(memoryless) node gets new memory by online and a
95 - synchronize against online/offline requests (e.g. via sysfs). This way, memory
96 block devices can only be accessed (.online/.state attributes) by user
102 device_hotplug_lock when adding memory and user space tries to online that
/OK3568_Linux_fs/kernel/tools/testing/selftests/cpu-hotplug/
H A Dcpu-on-off-test.sh32 online_cpus=`cat $SYSFS/devices/system/cpu/online`
63 if [ -f $cpu/online ] && grep -q $state $cpu/online; then
81 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
86 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
91 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online
96 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
120 echo $FUNCNAME $cpu: unexpected online >&2
/OK3568_Linux_fs/kernel/drivers/power/supply/
H 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()
323 if (info->online && info->present && info->allowed) { in set_charging_fsm()
344 if (info->online && info->present && info->allowed) { in set_charging_fsm()
355 if (info->online && info->present && info->allowed) { in set_charging_fsm()
366 if (info->online && info->present && info->allowed) { in set_charging_fsm()
377 else if (vbatt > CHARGE_THRESHOLD && info->online) in set_charging_fsm()
389 (info->online) ? "online" : "N/A", in set_charging_fsm()
408 info->online = 1; in pm860x_charger_handler()
[all …]
H A Dtps65217_charger.c35 int online; member
84 if (charger->online) in tps65217_enable_charging()
99 charger->online = 1; in tps65217_enable_charging()
111 val->intval = charger->online; in tps65217_charger_get_property()
122 charger->prev_online = charger->online; in tps65217_charger_irq()
142 charger->online = 0; in tps65217_charger_irq()
145 if (charger->prev_online != charger->online) in tps65217_charger_irq()
H A Drn5t618_power.c345 bool online; in rn5t618_adp_get_property() local
352 online = !!(chgstate & CHG_STATE_ADP_INPUT); in rn5t618_adp_get_property()
356 val->intval = online; in rn5t618_adp_get_property()
359 if (!online) { in rn5t618_adp_get_property()
381 bool online; in rn5t618_usb_get_property() local
388 online = !!(chgstate & CHG_STATE_USB_INPUT); in rn5t618_usb_get_property()
392 val->intval = online; in rn5t618_usb_get_property()
395 if (!online) { in rn5t618_usb_get_property()
H A Dpower_supply_leds.c115 union power_supply_propval online; in power_supply_update_gen_leds() local
117 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online)) in power_supply_update_gen_leds()
120 dev_dbg(&psy->dev, "%s %d\n", __func__, online.intval); in power_supply_update_gen_leds()
122 if (online.intval) in power_supply_update_gen_leds()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dperf_buffer.c54 bool *online; in test_perf_buffer() local
61 &online, &on_len); in test_perf_buffer()
66 if (online[i]) in test_perf_buffer()
92 if (i >= on_len || !online[i]) { in test_perf_buffer()
115 if (i >= on_len || !online[i]) in test_perf_buffer()
142 free(online); in test_perf_buffer()
H A Draw_tp_test_run.c18 bool *online = NULL; in test_raw_tp_test_run() local
25 err = parse_cpu_mask_file("/sys/devices/system/cpu/online", &online, in test_raw_tp_test_run()
63 if (!online[i]) in test_raw_tp_test_run()
95 free(online); in test_raw_tp_test_run()
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H 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 exeucted successfully.
H 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
/OK3568_Linux_fs/kernel/kernel/irq/
H A Dmatrix.c19 bool online; member
82 BUG_ON(cm->online); in irq_matrix_online()
90 cm->online = true; in irq_matrix_online()
105 cm->online = false; in irq_matrix_offline()
140 if (!cm->online || cm->available <= maxavl) in matrix_find_best_cpu()
161 if (!cm->online || cm->managed_allocated > allocated) in matrix_find_best_cpu_managed()
222 if (cm->online) { in irq_matrix_reserve_managed()
272 if (cm->online) { in irq_matrix_remove_managed()
433 if (cm->online) in irq_matrix_free()
438 if (cm->online) in irq_matrix_free()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/strongswan/files/
H A DCVE-2022-40617.patch10 credential-manager: Do online revocation checks only after
51 certificate_t *subject, certificate_t *issuer, bool online,
68 - online, pathlen, trusted, auth))
69 + online, pathlen, anchor, auth))
103 - if (!check_certificate(this, current, issuer, online,
105 + /* don't do online verification here */
124 + else if (trusted && online)
129 + /* do online revocation checks after basic validation of the chain */
/OK3568_Linux_fs/buildroot/board/rockchip/electric/fs-overlay/usr/lib/systemd/system/
H A Dsystemd-networkd-wait-online.service12 Documentation=man:systemd-networkd-wait-online.service(8)
17 Before=network-online.target shutdown.target
21 ExecStart=-/usr/lib/systemd/systemd-networkd-wait-online --ignore
25 WantedBy=network-online.target
/OK3568_Linux_fs/kernel/Documentation/s390/
H A Ddriver-model.rst49 online:
50 An interface to set the device online and offline.
52 notify function under 1.2), piping 0 to online will forcibly delete
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.
175 de-activated via the 'online' attribute. The driver should shut
185 verified that the device is online.
194 * In online state, device detached (CIO_GONE) or last path gone
[all …]
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dpm-cps.c38 typedef unsigned (*cps_nc_entry_fn)(unsigned online, u32 *nc_ready_count);
84 static void coupled_barrier(atomic_t *a, unsigned online) in coupled_barrier() argument
98 while (atomic_read(a) < online) in coupled_barrier()
101 if (atomic_inc_return(a) == online * 2) { in coupled_barrier()
106 while (atomic_read(a) > online) in coupled_barrier()
114 unsigned online, left; in cps_pm_enter_state() local
132 online = cpumask_weight(coupled_mask); in cps_pm_enter_state()
138 online = 1; in cps_pm_enter_state()
167 coupled_barrier(&per_cpu(pm_barrier, core), online); in cps_pm_enter_state()
170 left = entry(online, nc_core_ready_count); in cps_pm_enter_state()
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dcputopology.rst137 offline: CPUs that are not online because they have been
142 online: CPUs that are online and being scheduled [cpu_online_mask]
145 brought online if they are present. [cpu_possible_mask]
156 being 32. Note also that CPUs 2 and 4-31 are not online but could be
157 brought online as they are both present and possible::
161 online: 0-1,3
168 online.)::
172 online: 0-1,3
/OK3568_Linux_fs/kernel/Documentation/admin-guide/mm/
H A Dmemory-hotplug.rst68 In this document, this phase is described as online/offline.
76 Unit of Memory online/offline operation
86 unit upon which memory online/offline operations are to be performed. The
158 - at read: contains online/offline state of memory.
161 "online_movable", "online", "offline" command
216 You may have to write it by yourself or online/offline memory by hand.
245 not called (in current implementation). You'll have to online memory by
254 To see (online/offline) state of a memory block, read 'state' file::
259 - If the memory block is online, you'll read "online".
265 How to online memory
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip_debug.c97 u32 pu = 0, online = 0; in rockchip_debug_dump_edpcsr() local
105 online = cpu_online(i); in rockchip_debug_dump_edpcsr()
107 "CPU%d online:%d\n", i, online); in rockchip_debug_dump_edpcsr()
108 if (online == 0) { in rockchip_debug_dump_edpcsr()
174 u32 pu = 0, online = 0; in rockchip_debug_dump_pmpcsr() local
180 online = cpu_online(i); in rockchip_debug_dump_pmpcsr()
182 "CPU%d online:%d\n", i, online); in rockchip_debug_dump_pmpcsr()
183 if (online == 0) { in rockchip_debug_dump_pmpcsr()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/camera/pipe/src/
H A Dpipe_binarydesc.c50 descr->online = false; in pipe_binarydesc_get_offline()
98 copy_descr->online = true; in ia_css_pipe_get_copy_binarydesc()
245 if (pipe->stream->config.online) { in ia_css_pipe_get_preview_binarydesc()
246 preview_descr->online = pipe->stream->config.online; in ia_css_pipe_get_preview_binarydesc()
365 if (pipe->stream->config.online) { in ia_css_pipe_get_video_binarydesc()
366 video_descr->online = pipe->stream->config.online; in ia_css_pipe_get_video_binarydesc()
592 if (pipe->stream->config.online && in ia_css_pipe_get_primary_binarydesc()
594 prim_descr->online = true; in ia_css_pipe_get_primary_binarydesc()
736 if (pipe->stream->config.online) { in ia_css_pipe_get_pre_de_binarydesc()
737 pre_de_descr->online = true; in ia_css_pipe_get_pre_de_binarydesc()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/fieldbus/
H 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

12345678910>>...24