Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 569) sorted by relevance

12345678910>>...23

/linux/Documentation/devicetree/bindings/
H A D.yamllint17 min-spaces-inside-empty: 0
18 max-spaces-inside-empty: 0
22 min-spaces-inside-empty: 0
23 max-spaces-inside-empty: 0
32 empty-lines:
35 empty-values:
/linux/drivers/power/supply/
H A Dapm_power.c120 union power_supply_propval empty; in do_calculate_time() local
175 if (_MPSY_PROP(empty_prop, &empty)) { in do_calculate_time()
177 if (_MPSY_PROP(empty_design_prop, &empty)) in do_calculate_time()
178 empty.intval = 0; in do_calculate_time()
190 return -((cur.intval - empty.intval) * 60L) / I.intval; in do_calculate_time()
217 union power_supply_propval empty, full, cur; in calculate_capacity() local
262 if (_MPSY_PROP(empty_prop, &empty)) { in calculate_capacity()
264 if (_MPSY_PROP(empty_design_prop, &empty)) in calculate_capacity()
265 empty.intval = 0; in calculate_capacity()
268 if (full.intval - empty.intval) in calculate_capacity()
[all …]
H A Dcpcap-battery.c543 *empty, *full; in cpcap_battery_update_status() local
576 empty = cpcap_battery_get_empty(ddata); in cpcap_battery_update_status()
577 if (empty->voltage && empty->voltage != -1) { in cpcap_battery_update_status()
578 empty->voltage = -1; in cpcap_battery_update_status()
580 empty->counter_uah - full->counter_uah; in cpcap_battery_update_status()
582 empty->voltage = -1; in cpcap_battery_update_status()
583 empty->counter_uah = in cpcap_battery_update_status()
587 empty = cpcap_battery_get_empty(ddata); in cpcap_battery_update_status()
588 memcpy(empty, latest, sizeof(*empty)); in cpcap_battery_update_status()
594 empty->counter_uah - full->counter_uah; in cpcap_battery_update_status()
[all …]
/linux/sound/sh/
H A Dsh_dac_audio.c45 int empty; member
69 chip->empty = 1; in dac_audio_reset()
108 chip->empty = 1; in snd_sh_dac_pcm_open()
149 chip->empty = 1; in snd_sh_dac_pcm_trigger()
170 if (chip->empty) { in snd_sh_dac_pcm_copy()
171 chip->empty = 0; in snd_sh_dac_pcm_copy()
188 if (chip->empty) { in snd_sh_dac_pcm_silence()
189 chip->empty = 0; in snd_sh_dac_pcm_silence()
269 if (!chip->empty) { in sh_dac_audio_timer()
284 chip->empty = 1; in sh_dac_audio_timer()
[all …]
/linux/fs/tests/
H A Dbinfmt_elf_kunit.c6 struct elf_phdr empty[] = { in total_mapping_size_test() local
40 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 0), 0); in total_mapping_size_test()
42 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 1), 0); in total_mapping_size_test()
44 KUNIT_EXPECT_EQ(test, total_mapping_size(&empty[1], 1), 0); in total_mapping_size_test()
46 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 2), 0); in total_mapping_size_test()
/linux/drivers/net/wireguard/
H A Dqueueing.c51 #define STUB(queue) ((struct sk_buff *)&queue->empty)
60 offsetof(struct sk_buff, next) != offsetof(struct prev_queue, empty.next) - in wg_prev_queue_init()
61 offsetof(struct prev_queue, empty) || in wg_prev_queue_init()
62 offsetof(struct sk_buff, prev) != offsetof(struct prev_queue, empty.prev) - in wg_prev_queue_init()
63 offsetof(struct prev_queue, empty)); in wg_prev_queue_init()
/linux/tools/memory-model/
H A Dlinux-kernel.bell69 flag ~empty Rcu-lock \ domain(rcu-rscs) as unmatched-rcu-lock
70 flag ~empty Rcu-unlock \ range(rcu-rscs) as unmatched-rcu-unlock
77 flag ~empty Srcu-lock \ domain(srcu-rscs) as unmatched-srcu-lock
78 flag ~empty Srcu-unlock \ range(srcu-rscs) as unmatched-srcu-unlock
79 flag ~empty (srcu-rscs^-1 ; srcu-rscs) \ id as multiple-srcu-matches
82 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep
85 flag ~empty different-values(srcu-rscs) as srcu-bad-value-match
98 flag ~empty (if "lkmmv2" then 0 else _)
H A Dlock.cat41 flag ~empty [M \ IW \ ALL-LOCKS] ; loc ; [ALL-LOCKS] as mixed-lock-accesses
48 flag ~empty LKW \ range(lk-rmw) as unpaired-LKW
49 flag ~empty LKR \ domain(lk-rmw) as unpaired-LKR
55 empty ([LKW] ; po-loc ; [LKR]) \ (po-loc ; [UL] ; po-loc) as lock-nest
61 empty ([LKW] ; po-loc ; [RU]) \ (po-loc ; [UL] ; po-loc) as nested-is-locked
64 flag ~empty [FW] ; loc ; [ALL-LOCKS] as lock-final
79 flag ~empty UL \ range(critical) as unmatched-unlock
83 empty ([UNMATCHED-LKW] ; loc ; [UNMATCHED-LKW]) \ id as unmatched-locks
/linux/arch/arm64/boot/dts/apple/
H A Dt600x-nvme.dtsi16 interrupt-names = "send-empty", "send-not-empty",
17 "recv-empty", "recv-not-empty";
H A Dt602x-nvme.dtsi16 interrupt-names = "send-empty", "send-not-empty",
17 "recv-empty", "recv-not-empty";
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_trigger.c229 static void attach_ksyms_all(struct bpf_program *empty, bool kretprobe) in attach_ksyms_all() argument
252 if (!bpf_program__attach_kprobe_multi_opts(empty, NULL, &opts)) { in attach_ksyms_all()
260 struct bpf_program *prog, *empty; in trigger_kprobe_multi_all_setup() local
263 empty = ctx.skel->progs.bench_kprobe_multi_empty; in trigger_kprobe_multi_all_setup()
265 bpf_program__set_autoload(empty, true); in trigger_kprobe_multi_all_setup()
269 attach_ksyms_all(empty, false); in trigger_kprobe_multi_all_setup()
275 struct bpf_program *prog, *empty; in trigger_kretprobe_multi_all_setup() local
278 empty = ctx.skel->progs.bench_kretprobe_multi_empty; in trigger_kretprobe_multi_all_setup()
280 bpf_program__set_autoload(empty, true); in trigger_kretprobe_multi_all_setup()
284 attach_ksyms_all(empty, true); in trigger_kretprobe_multi_all_setup()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport_debug.c56 int head, tail, empty; in adf_ring_show() local
62 empty = csr_ops->read_csr_e_stat(csr, bank->bank_number); in adf_ring_show()
70 head, tail, (empty & 1 << ring->ring_number) in adf_ring_show()
164 int head, tail, empty; in adf_bank_show() local
173 empty = csr_ops->read_csr_e_stat(csr, bank->bank_number); in adf_bank_show()
178 (empty & 1 << ring->ring_number) >> in adf_bank_show()
/linux/tools/objtool/
H A Dorc_gen.c63 bool empty = true; in orc_create() local
82 empty = false; in orc_create()
107 empty = false; in orc_create()
115 if (!empty) { in orc_create()
/linux/include/sound/
H A Dpcm_params.h222 i->empty = 0; in snd_interval_any()
227 i->empty = 1; in snd_interval_none()
238 return i->empty; in snd_interval_empty()
291 if (i1->empty) in snd_interval_eq()
292 return i2->empty; in snd_interval_eq()
293 if (i2->empty) in snd_interval_eq()
294 return i1->empty; in snd_interval_eq()
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm53015-meraki-mr26.dts92 /* empty */
98 /* empty */
104 /* empty */
180 /* it's empty */
/linux/drivers/misc/mei/
H A Ddma-ring.c220 u32 wr_idx, rd_idx, hbuf_depth, empty; in mei_dma_ring_empty_slots() local
234 empty = rd_idx - wr_idx; in mei_dma_ring_empty_slots()
236 empty = hbuf_depth - (wr_idx - rd_idx); in mei_dma_ring_empty_slots()
238 return empty; in mei_dma_ring_empty_slots()
/linux/scripts/
H A DKconfig.include8 empty := variable
9 space := $(empty) $(empty)
62 # $(m32-flag): -m32 if the compiler supports it, or an empty string otherwise.
63 # $(m64-flag): -m64 if the compiler supports it, or an empty string otherwise.
/linux/fs/quota/
H A Dquota_v2.c231 struct v2r0_disk_dqblk *d = dp, empty; in v2r0_disk2memdqb() local
243 memset(&empty, 0, sizeof(struct v2r0_disk_dqblk)); in v2r0_disk2memdqb()
244 empty.dqb_itime = cpu_to_le64(1); in v2r0_disk2memdqb()
245 if (!memcmp(&empty, dp, sizeof(struct v2r0_disk_dqblk))) in v2r0_disk2memdqb()
284 struct v2r1_disk_dqblk *d = dp, empty; in v2r1_disk2memdqb() local
296 memset(&empty, 0, sizeof(struct v2r1_disk_dqblk)); in v2r1_disk2memdqb()
297 empty.dqb_itime = cpu_to_le64(1); in v2r1_disk2memdqb()
298 if (!memcmp(&empty, dp, sizeof(struct v2r1_disk_dqblk))) in v2r1_disk2memdqb()
/linux/arch/x86/events/amd/
H A Dbrs.c297 goto empty; in amd_brs_drain()
303 goto empty; in amd_brs_drain()
307 goto empty; in amd_brs_drain()
353 empty: in amd_brs_drain()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_sdlb.c237 u32 first, u32 next, bool empty) in sparx5_sdlb_group_link() argument
242 if (empty) in sparx5_sdlb_group_link()
278 bool empty = false; in sparx5_sdlb_group_del() local
288 empty = true; in sparx5_sdlb_group_del()
302 return sparx5_sdlb_group_link(sparx5, group, idx, first, next, empty); in sparx5_sdlb_group_del()
/linux/drivers/gpu/drm/msm/adreno/
H A Da5xx_preempt.c64 bool empty; in get_next_ring() local
68 empty = (get_wptr(ring) == gpu->funcs->get_rptr(gpu, ring)); in get_next_ring()
69 if (!empty && ring == a5xx_gpu->cur_ring) in get_next_ring()
70 empty = ring->memptrs->fence == a5xx_gpu->last_seqno[i]; in get_next_ring()
73 if (!empty) in get_next_ring()
/linux/mm/
H A Ddmapool.c231 bool empty; in dma_pool_create_node() local
282 empty = list_empty(&dev->dma_pools); in dma_pool_create_node()
285 if (empty) { in dma_pool_create_node()
366 bool empty, busy = false; in dma_pool_destroy() local
374 empty = list_empty(&pool->dev->dma_pools); in dma_pool_destroy()
376 if (empty) in dma_pool_destroy()
/linux/net/llc/
H A Dsysctl_net_llc.c50 struct ctl_table empty[1] = {}; in llc_sysctl_init() local
52 llc_station_header = register_net_sysctl_sz(&init_net, "net/llc/station", empty, 0); in llc_sysctl_init()
/linux/Documentation/hwmon/
H A Dkbatt.rst29 battery is nearly empty and needs to be replaced.
32 empty or not. Therefore, a load is put on the coin cell battery and the
37 nearly empty (or broken, removed, ...) and shall be replaced by a new one.
53 the coin cell battery is nearly empty.
/linux/scripts/mod/
H A DMakefile5 always-y += empty.o
24 $(obj)/elfconfig.h: $(obj)/empty.o $(obj)/mk_elfconfig FORCE

12345678910>>...23