Home
last modified time | relevance | path

Searched +full:non +full:- +full:zero (Results 1 – 25 of 1100) sorted by relevance

12345678910>>...44

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_sdiv.c1 // SPDX-License-Identifier: GPL-2.0
11 __description("SDIV32, non-zero imm divisor, check 1")
12 __success __success_unpriv __retval(-20)
16 w0 = -41; \ in sdiv32_non_zero_imm_1()
23 __description("SDIV32, non-zero imm divisor, check 2")
24 __success __success_unpriv __retval(-20)
29 w0 s/= -2; \ in sdiv32_non_zero_imm_2()
35 __description("SDIV32, non-zero imm divisor, check 3")
40 w0 = -41; \ in sdiv32_non_zero_imm_3()
41 w0 s/= -2; \ in sdiv32_non_zero_imm_3()
[all …]
/openbmc/linux/arch/s390/include/asm/
H A Dscsw.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 * struct cmd_scsw - command-mode subchannel status word
24 * @isic: initial-status interruption control
25 * @alcc: address-limit checking control
26 * @ssi: suppress-suspended interruption
27 * @zcc: zero condition code
63 * struct tm_scsw - transport-mode subchannel status word
68 * @x: IRB-format control
69 * @q: interrogate-complete
79 * @schxs: subchannel-extended status
[all …]
/openbmc/linux/drivers/scsi/
H A Dst_options.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 The compile-time configurable defaults for the Linux SCSI tape driver.
5 Copyright 1995-2003 Kai Makisara.
13 /* If TRY_DIRECT_IO is non-zero, the driver tries to transfer data directly
15 buffer is used. If TRY_DIRECT_IO is zero, driver buffer is always used. */
19 to the user program if ST_NOWAIT is non-zero. This helps if the SCSI
26 because of buffered reads. Should be set to zero to support also drives
31 /* If ST_RECOVERED_WRITE_FATAL is non-zero, recovered errors while writing
40 Must be non-zero. */
59 /* If ST_TWO_FM is non-zero, the driver writes two filemarks after a
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-s-hw-freq-seek.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_S_HW_FREQ_SEEK - Perform a hardware frequency seek
37 zero out the ``reserved`` array of a struct
41 The ``rangelow`` and ``rangehigh`` fields can be set to a non-zero value
58 If this ioctl is called from a non-blocking filehandle, then ``EAGAIN``
65 .. flat-table:: struct v4l2_hw_freq_seek
66 :header-rows: 0
67 :stub-columns: 0
70 * - __u32
71 - ``tuner``
[all …]
/openbmc/linux/Documentation/arch/arm64/
H A Dtagged-pointers.rst20 --------------------------------------
25 (Documentation/arch/arm64/tagged-address-abi.rst).
29 - pointer arguments to system calls, including pointers in structures
32 - the stack pointer (sp), e.g. when interpreting it to deliver a
35 - the frame pointer (x29) and frame records, e.g. when interpreting
38 Using non-zero address tags in any of these locations when the
44 passing non-zero address tags to the kernel via system calls is
45 forbidden, and using a non-zero address tag for sp is strongly
48 Programs maintaining a frame pointer and frame records that use non-zero
54 ---------------
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D1546 # Copyright (C) 2016-2017 Red Hat, Inc.
47 # This test requires zero clusters, added in v3 images
54 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT
59 # X = non-zero data sector in backing file
60 # - = sector unallocated in whole backing chain
63 # 1. Tail unaligned: 00 00 -- --
64 # 2. Head unaligned: -- -- 00 00
65 # 3. Both unaligned: -- 00 00 --
66 # 4. Both, 2 clusters: -- -- -- 00 | 00 -- -- --
68 $QEMU_IO -c "write -z 0 2k" "$TEST_IMG" | _filter_qemu_io
[all …]
/openbmc/linux/tools/memory-model/scripts/
H A Dcmplitmushist.sh2 # SPDX-License-Identifier: GPL-2.0+
11 trap 'rm -rf $T' 0
23 if grep -q ': Unknown macro ' $1 || grep -q ': Unknown macro ' $2
25 if grep -q ': Unknown macro ' $1
28 sed -e 's/^.*: Unknown macro //' |
29 sed -e 's/ (User error).*$//'`
32 if grep -q ': Unknown macro ' $2
35 sed -e 's/^.*: Unknown macro //' |
36 sed -e 's/ (User error).*$//'`
41 elif grep -q '^Command exited with non-zero status 124' $1 ||
[all …]
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-spi.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
35 #include <asm/octeon/cvmx-gmxx-defs.h>
37 /* CSR typedefs have been moved to cvmx-csr-*.h */
95 * Returns Zero on success, negative of failure.
111 * Returns Zero on success, negative of failure.
117 * Return non-zero if the SPI interface has a SPI4000 attached
142 * @port: Port to poll (0-9)
180 * Returns Zero on success, non-zero error code on failure (will cause
[all …]
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_config.c5 * Copyright (C) 2012-2014 LSI Corporation
6 * Copyright (C) 2013-2014 Avago Technologies
7 * (mailto: MPT-FusionLinux.pdl@avagotech.com)
22 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
41 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
74 * struct config_request - obtain dma memory via routine
87 * _config_display_some_debug - debug routine
105 switch (mpi_request->Header.PageType & MPI2_CONFIG_PAGETYPE_MASK) { in _config_display_some_debug()
125 switch (mpi_request->ExtPageType) { in _config_display_some_debug()
177 mpi_request->Header.PageNumber, mpi_request->Action, in _config_display_some_debug()
[all …]
/openbmc/linux/arch/arm64/lib/
H A Dstrncmp.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2013-2022, Arm Limited.
6 * https://github.com/ARM-software/optimized-routines/blob/189dfefe37d54c5b/string/aarch64/strncmp.S
14 * ARMv8-a, AArch64.
49 On big-endian early bytes are at MSB and on little-endian LSB.
70 /* NUL detection works on the principle that (X - 1) & (~X) & 0x80
71 (=> (X - 1) & ~(X | 0x7f)) is non-zero iff a byte is zero, and
81 eor diff, data1, data2 /* Non-zero if differences found. */
83 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
102 /* But we need to zero-extend (char is unsigned) the value and then
[all …]
/openbmc/linux/sound/core/
H A Dmemory.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 * copy_to_user_fromio - copy data from mmio-space to user-space
16 * @dst: the destination pointer on user-space
20 * Copies the data from mmio-space to user-space.
22 * Return: Zero if successful, or non-zero on failure.
29 return -EFAULT; in copy_to_user_fromio()
35 * copy_to_iter_fromio - copy data from mmio-space to iov_iter
40 * Copies the data from mmio-space to iov_iter.
42 * Return: Zero if successful, or non-zero on failure.
48 return copy_to_iter((const void __force *)src, count, dst) == count ? 0 : -EFAULT; in copy_to_iter_fromio()
[all …]
/openbmc/linux/fs/ecryptfs/
H A Dmessaging.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2004-2008 International Business Machines Corp.
33 * on the context. Sets the msg_ctx task to current. Returns zero on
34 * success; non-zero on error or upon failure to acquire a free
49 rc = -ENOMEM; in ecryptfs_acquire_free_msg_ctx()
54 if (mutex_trylock(&(*msg_ctx)->mux)) { in ecryptfs_acquire_free_msg_ctx()
55 (*msg_ctx)->task = current; in ecryptfs_acquire_free_msg_ctx()
60 rc = -ENOMEM; in ecryptfs_acquire_free_msg_ctx()
73 list_move(&msg_ctx->node, &ecryptfs_msg_ctx_alloc_list); in ecryptfs_msg_ctx_free_to_alloc()
74 msg_ctx->state = ECRYPTFS_MSG_CTX_STATE_PENDING; in ecryptfs_msg_ctx_free_to_alloc()
[all …]
/openbmc/linux/include/linux/
H A Dwait_bit.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Linux wait-bit related types and methods:
55 * wait_on_bit - wait for a bit to be cleared
66 * Returned value will be zero if the bit was cleared, or non-zero
82 * wait_on_bit_io - wait for a bit to be cleared
91 * Returned value will be zero if the bit was cleared, or non-zero
107 * wait_on_bit_timeout - wait for a bit to be cleared or a timeout elapses
117 * Returned value will be zero if the bit was cleared before the
118 * @timeout elapsed, or non-zero if the @timeout elapsed or process
134 * wait_on_bit_action - wait for a bit to be cleared
[all …]
/openbmc/qemu/bsd-user/
H A Dsignal-common.h6 * SPDX-License-Identifier: GPL-2.0-or-later
17 * If this function returns non-zero, then the caller should immediately
18 * return -TARGET_ERESTARTSYS to the main loop, which will take the pending
20 * If block_signals() returns zero, then the caller can continue with
24 * it will always return non-zero. (Think of it like a mutex that can't
28 * Return value: non-zero if there was a pending signal, zero if not.
30 int block_signals(void); /* Returns non zero if signal pending */
56 * The linux-user version of this uses the top 16 bits, but FreeBSD's SI_USER
/openbmc/qemu/target/xtensa/core-de233_fpu/
H A Dcore-matmap.h2 * xtensa/config/core-matmap.h -- Memory access and translation mapping
10 * information contained in the core-isa.h header file.
19 * XCHAL_ICACHE_SIZE (presence of I-cache)
20 * XCHAL_DCACHE_SIZE (presence of D-cache)
25 /* Copyright (c) 1999-2020 Tensilica Inc.
49 /*----------------------------------------------------------------------
51 ----------------------------------------------------------------------*/
55 /* Cache Attribute encodings -- lists of access modes for each cache attribute: */
117 #define XCHAL_CA_WRITETHRU 11 /* cache enabled (write-through) mode */
118 #define XCHAL_CA_WRITEBACK 7 /* cache enabled (write-back) mode */
[all …]
/openbmc/linux/Documentation/userspace-api/media/cec/
H A Dcec-ioc-receive.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
14 CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message
42 If the file descriptor is in non-blocking mode and there are no received
43 messages pending, then it will return -1 and set errno to the ``EAGAIN``
45 is non-zero and no message arrived within ``timeout`` milliseconds, then
46 it will return -1 and set errno to the ``ETIMEDOUT`` error code.
51 be 0, ``tx_status`` will be 0 and ``rx_status`` will be non-zero).
52 2. the transmit result of an earlier non-blocking transmit (the ``sequence``
53 field will be non-zero, ``tx_status`` will be non-zero and ``rx_status``
55 3. the reply to an earlier non-blocking transmit (the ``sequence`` field will
[all …]
/openbmc/linux/drivers/acpi/acpica/
H A Dtbfadt.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: tbfadt - FADT table utilities
6 * Copyright (C) 2000 - 2023, Intel Corp.
143 * PARAMETERS: generic_address - GAS struct to be initialized
144 * space_id - ACPI Space ID for this register
145 * byte_width - Width of this register
146 * address - Address of the register
147 * register_name - ASCII name of the ACPI register
178 "%s - 32-bit FADT register is too long (%u bytes, %u bits) " in acpi_tb_init_generic_address()
179 "to convert to GAS struct - 255 bits max, truncating", in acpi_tb_init_generic_address()
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Ddebug.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
20 __func__, __LINE__, current->pid); \
29 pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \
34 /* Messages from the eraseblock association sub-system */
36 /* Messages from the wear-leveling sub-system */
38 /* Messages from the input/output sub-system */
56 * ubi_dbg_is_bgt_disabled - if the background thread is disabled.
59 * Returns non-zero if the UBI background thread is disabled for testing
64 return ubi->dbg.disable_bgt; in ubi_dbg_is_bgt_disabled()
68 * ubi_dbg_is_bitflip - if it is time to emulate a bit-flip.
[all …]
/openbmc/u-boot/drivers/mtd/ubi/
H A Ddebug.h1 /* SPDX-License-Identifier: GPL-2.0+ */
24 __func__, __LINE__, current->pid); \
33 pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \
38 /* Messages from the eraseblock association sub-system */
40 /* Messages from the wear-leveling sub-system */
42 /* Messages from the input/output sub-system */
60 * ubi_dbg_is_bgt_disabled - if the background thread is disabled.
63 * Returns non-zero if the UBI background thread is disabled for testing
68 return ubi->dbg.disable_bgt; in ubi_dbg_is_bgt_disabled()
72 * ubi_dbg_is_bitflip - if it is time to emulate a bit-flip.
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dvalid.tcl11 # with a non-zero return code.
22 # your variable is non blank.
35 append error_message "Programmer error - You must provide either an"
44 set caller [get_stack_proc_name -2]
52 if { [lsearch -exact $valid_values "${var_value}"] != -1 } { return }
71 if { [lsearch -exact $invalid_values "${var_value}"] == -1 } { return }
73 if { [lsearch -exact $valid_values "${var_value}"] != -1 } { return }
91 # program with a non-zero return code.
103 # set proc_names [list "zero" "one" "two" "three" "four"]
108 …##(CDT) 2018/03/27 12:26:49.904870 - **ERROR** The following list has one or more invalid values (…
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dpm-cps.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <asm/asm-offsets.h>
17 #include <asm/mips-cps.h>
20 #include <asm/pm-cps.h>
21 #include <asm/smp-cps.h>
25 * cps_nc_entry_fn - type of a generated non-coherent state entry function
27 * @nc_ready_count: pointer to a non-coherent mapping of the core ready_count
29 * The code entering & exiting non-coherent states is generated at runtime
32 * core-specific code particularly for cache routines. If coupled_coherence
33 * is non-zero and this is the entry function for the CPS_PM_NC_WAIT state,
[all …]
/openbmc/linux/Documentation/translations/it_IT/process/
H A Ddeprecated.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. include:: ../disclaimer-ita.rst
18 le tempistiche, non è sempre possibile fare questo tipo di conversione tutta
26 ------------
28 `non produce più alcun avviso durante la compilazione
33 interfaccia come 'vecchia', questa non è una soluzione completa. L'interfaccia
38 ----------------
50 <https://lore.kernel.org/lkml/CA+55aFy6jNLsywVYdGp83AMrXBo_P-pkjkphPGrO=82SPKCpLQ@mail.gmail.com/>`…
52 <https://lore.kernel.org/lkml/CAHk-=whDHsbK3HTOpTF=ue_o04onRwTEaK_ZoJp_fjbqq4+=Jw@mail.gmail.com/>`_
65 ----------------------------------------------------
[all …]
/openbmc/u-boot/test/py/tests/test_fs/
H A Dtest_ext.py1 # SPDX-License-Identifier: GPL-2.0+
5 # U-Boot File System:Exntented Test
20 Test Case 1 - write a file with absolute path
23 with u_boot_console.log.section('Test Case 1 - write with abs path'):
24 # Test Case 1a - Check if command successfully returned
32 # Test Case 1b - Check md5 of file content
42 Test Case 2 - write to a file with relative path
45 with u_boot_console.log.section('Test Case 2 - write with rel path'):
46 # Test Case 2a - Check if command successfully returned
54 # Test Case 2b - Check md5 of file content
[all …]
/openbmc/linux/Documentation/devicetree/bindings/cache/
H A Dl2c2x0.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
16 models (Note 1). Some of the properties that are just prefixed "cache-*" are
22 cache controllers as found in e.g. Cortex-A15/A7/A57/A53. These
28 - $ref: /schemas/cache-controller.yaml#
33 - enum:
34 - arm,pl310-cache
35 - arm,l220-cache
[all …]
/openbmc/linux/drivers/net/ipa/
H A Dipa_table.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2023 Linaro Ltd.
15 #include <linux/dma-mapping.h>
30 * The IPA has tables defined in its local (IPA-resident) memory that define
32 * endian 64-bit "slot" that holds the address of a rule definition. (The
41 * an object (such as a route or filter table) in IPA-resident memory must
42 * 128-byte aligned. An object in system memory (such as a route or filter
43 * rule) must be at an 8-byte aligned address. We currently only place
46 * A rule consists of a contiguous block of 32-bit values terminated with
[all …]

12345678910>>...44