/linux/drivers/misc/sgi-xp/ |
H A D | xpc_channel.c | 6 * Copyright (c) 2004-2009 Silicon Graphics, Inc. All Rights Reserved. 12 * This is the part of XPC that manages the channels and 31 lockdep_assert_held(&ch->lock); in xpc_process_connect() 33 if (!(ch->flags & XPC_C_OPENREQUEST) || in xpc_process_connect() 34 !(ch->flags & XPC_C_ROPENREQUEST)) { in xpc_process_connect() 38 DBUG_ON(!(ch->flags & XPC_C_CONNECTING)); in xpc_process_connect() 40 if (!(ch->flags & XPC_C_SETUP)) { in xpc_process_connect() 41 spin_unlock_irqrestore(&ch->lock, *irq_flags); in xpc_process_connect() 43 spin_lock_irqsave(&ch->lock, *irq_flags); in xpc_process_connect() 48 ch->flags |= XPC_C_SETUP; in xpc_process_connect() [all …]
|
H A D | xpc_uv.c | 6 * Copyright (c) 2008-2009 Silicon Graphics, Inc. All Rights Reserved. 10 * Cross Partition Communication (XPC) uv-based functions. 29 #include "../sgi-gru/gru.h" 30 #include "../sgi-gru/grukservices.h" 59 mutex_init(&part_uv->cached_activate_gru_mq_desc_mutex); in xpc_setup_partitions_uv() 60 spin_lock_init(&part_uv->flags_lock); in xpc_setup_partitions_uv() 61 part_uv->remote_act_state = XPC_P_AS_INACTIVE; in xpc_setup_partitions_uv() 76 if (part_uv->cached_activate_gru_mq_desc != NULL) { in xpc_teardown_partitions_uv() 77 mutex_lock(&part_uv->cached_activate_gru_mq_desc_mutex); in xpc_teardown_partitions_uv() 78 spin_lock_irqsave(&part_uv->flags_lock, irq_flags); in xpc_teardown_partitions_uv() [all …]
|
H A D | xpc_main.c | 7 * Copyright (c) 2004-2009 Silicon Graphics, Inc. All Rights Reserved. 11 * Cross Partition Communication (XPC) support - standard version. 16 * partition This part detects the presence/absence of other 20 * channel This part manages the channels and sends/receives 68 .init_name = "", /* set to "part" at xpc_init() time */ 128 /* non-zero if any remote partition disengage was timed out */ 167 struct xpc_partition *part = from_timer(part, t, disengage_timer); in xpc_timeout_partition_disengage() local 169 DBUG_ON(time_is_after_jiffies(part->disengage_timeout)); in xpc_timeout_partition_disengage() 171 xpc_partition_disengaged_from_timer(part); in xpc_timeout_partition_disengage() 173 DBUG_ON(part->disengage_timeout != 0); in xpc_timeout_partition_disengage() [all …]
|
/linux/include/uapi/linux/ |
H A D | batadv_packet.h | 1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) */ 15 * batadv_tp_is_error() - Check throughput meter return code for error 23 * enum batadv_packettype - types for batman-adv encapsulated packets 40 /* 0x00 - 0x3f: local packets or special rules for handling */ 47 /* 0x40 - 0x7f: unicast */ 55 /* 0x80 - 0xff: reserved */ 59 * enum batadv_subtype - packet subtype for unicast4addr 76 * enum batadv_iv_flags - flags used in B.A.T.M.A.N. IV OGM packets 90 * enum batadv_icmp_packettype - ICMP message types 108 * enum batadv_mcast_flags - flags for multicast capabilities and settings [all …]
|
H A D | gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 3 * <linux/gpio.h> - userspace ABI for the GPIO character devices 21 * Must be a multiple of 8 to ensure 32/64-bit alignment of structs. 26 * struct gpiochip_info - Information about a certain GPIO chip 29 * number, may be empty (i.e. label[0] == '\0') 30 * @lines: number of GPIO lines on this chip 39 * Maximum number of requested lines. 41 * Must be no greater than 64, as bitmaps are restricted here to 64-bits 42 * for simplicity, and a multiple of 2 to ensure 32/64-bit alignment of 48 * The maximum number of configuration attributes associated with a line [all …]
|
/linux/scripts/ |
H A D | extract-module-sig.pl | 2 # SPDX-License-Identifier: GPL-2.0 4 # extract-mod-sig <part> <module-file> 7 # section to stdout. Part is the bit to be written and is one of: 9 # -0: The unsigned module, no signature data at all 10 # -a: All of the signature data, including magic number 11 # -d: Just the descriptor values as a sequence of numbers 12 # -n: Just the signer's name 13 # -k: Just the key ID 14 # -s: Just the crypto signature or PKCS#7 message 19 die "Format: $0 -[0adnks] module-file >out\n" [all …]
|
/linux/drivers/soc/qcom/ |
H A D | smem.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. 44 * two regions are cached and non-cached memory respectively. Each region 48 * Items in the non-cached region are allocated from the start of the partition 50 * is hence the region between the cached and non-cached offsets. The header of 59 * be held - currently lock number 3 of the sfpb or tcsr is used for this on all 79 /* Highest accepted item number, for both global and private heaps */ 88 /* Max number of processors/hosts in a system */ 92 * struct smem_proc_comm - proc_comm communication struct (legacy) 104 * struct smem_global_entry - entry to reference smem items on the heap [all …]
|
/linux/sound/soc/sof/ |
H A D | ipc4-fw-reg.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 15 * struct sof_ipc4_pipeline_registers - Pipeline start and end information in fw 19 * (right after creation/after reset) value "(u64)-1" is reported 23 * (right after creation or after reset) value "(u64)-1" is reported. 34 * struct sof_ipc4_peak_volume_regs - Volume information in fw 46 * struct sof_ipc4_llp_reading - Llp information in fw 47 * @llp_l: Lower part of 64-bit LLP 48 * @llp_u: Upper part of 64-bit LLP 49 * @wclk_l: Lower part of 64-bit Wallclock 50 * @wclk_u: Upper part of 64-bit Wallclock [all …]
|
/linux/Documentation/networking/ |
H A D | tls-offload.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 13 For details regarding the user-facing interface refer to the TLS 18 * Software crypto mode (``TLS_SW``) - CPU handles the cryptography. 24 * Packet-based NIC offload mode (``TLS_HW``) - the NIC handles crypto 27 in the remaining part of this document 28 (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``). 29 * Full TCP NIC offload mode (``TLS_HW_RECORD``) - mode of operation where 33 abilities or QoS and packet scheduling (``ethtool`` flag ``tls-hw-record``). 36 offload opt-in or opt-out on per-connection basis is not currently supported. 39 -- [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | renesas,ether.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: ethernet-controller.yaml# 13 - Sergei Shtylyov <sergei.shtylyov@gmail.com> 18 - items: 19 - enum: 20 - renesas,gether-r8a7740 # device is a part of R8A7740 SoC 21 - renesas,gether-r8a77980 # device is a part of R8A77980 SoC 22 - renesas,ether-r7s72100 # device is a part of R7S72100 SoC [all …]
|
/linux/include/media/ |
H A D | media-entity.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 26 * enum media_gobj_type - type of a graph object 42 #define MEDIA_BITS_PER_ID (32 - MEDIA_BITS_PER_TYPE) 43 #define MEDIA_ID_MASK GENMASK_ULL(MEDIA_BITS_PER_ID - 1, 0) 48 * struct media_gobj - Define a graph object. 51 * @id: Non-zero object ID identifier. The ID should be unique 55 * @list: List entry stored in one of the per-type mdev object lists 68 * struct media_entity_enum - An enumeration of media entities. 71 * media_entity->internal_idx. 72 * @idx_max: Number of bits in bmap [all …]
|
/linux/drivers/char/ipmi/ |
H A D | ssif_bmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #define DEVICE_NAME "ipmi-ssif-host" 44 * Request-to-Response Time is T6max(250ms) - T1max(20ms) - 3ms = 227ms 90 /* Flag to identify a Multi-part Read Transaction */ 95 /* Block Number of a Multi-part Read Transaction */ 101 /* Buffer for SSIF Transaction part*/ 109 return container_of(file->private_data, struct ssif_bmc_ctx, miscdev); in to_ssif_bmc() 140 spin_lock_irqsave(&ssif_bmc->lock, flags); in ssif_bmc_read() 141 while (!ssif_bmc->request_available) { in ssif_bmc_read() 142 spin_unlock_irqrestore(&ssif_bmc->lock, flags); in ssif_bmc_read() [all …]
|
/linux/lib/zlib_inflate/ |
H A D | inftrees.h | 4 /* inftrees.h -- header to use inftrees.c 5 * Copyright (C) 1995-2005 Mark Adler 10 part of the implementation of the compression library and is 19 distance, an end-of-block, or an invalid code. For a table 20 pointer, the low four bits of op is the number of index bits of 22 is the number of extra bits to get after the code. bits is 23 the number of bits in this code or part of the code to drop off 29 unsigned char bits; /* bits in this part of the code */ 34 00000000 - literal 35 0000tttt - table link, tttt != 0 is the number of table index bits [all …]
|
/linux/arch/x86/platform/uv/ |
H A D | bios_uv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2007-2017 Silicon Graphics, Inc. All rights reserved. 29 if (!tab || !tab->function) in __uv_bios_call() 86 union partition_info_u part; in uv_bios_get_sn_info() local 93 part.val = v0; in uv_bios_get_sn_info() 95 *uvtype = part.hub_version; in uv_bios_get_sn_info() 97 *partid = part.partition_id; in uv_bios_get_sn_info() 99 *coher = part.coherence_id; in uv_bios_get_sn_info() 101 *region = part.region_size; in uv_bios_get_sn_info() 115 * bios returns watchlist number or negative error number. in uv_bios_mq_watchlist_alloc() [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_stream_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 32 * This enum is part of the atomisp firmware ABI and must 38 IA_CSS_INPUT_MODE_FIFO, /** data from input-fifo */ 39 IA_CSS_INPUT_MODE_TPG, /** data from test-pattern generator */ 40 IA_CSS_INPUT_MODE_PRBS, /** data from pseudo-random bit stream */ 52 unsigned int nof_mipi_buffers; /** The number of MIPI buffers required for this 71 int linked_isys_stream_id; /** default value is -1, other value means 115 unsigned int pixels_per_clock; /** Number of pixels per clock, which can be 120 unsigned int init_num_cont_raw_buf; /** initial number of raw buffers to 122 unsigned int target_num_cont_raw_buf; /** total number of raw buffers to [all …]
|
/linux/Documentation/networking/devlink/ |
H A D | devlink-info.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 7 The ``devlink-info`` mechanism enables device drivers to report device 10 The original motivation for the ``devlink-info`` API was twofold: 12 - making it possible to automate device and firmware management in a fleet 13 of machines in a vendor-independent fashion (see also 14 :ref:`Documentation/networking/devlink/devlink-flash.rst <devlink_flash>`); 15 - name the per component FW versions (as opposed to the crowded ethtool 18 ``devlink-info`` supports reporting multiple types of objects. Reporting driver 19 versions is generally discouraged - here, and via any other Linux API. 21 .. list-table:: List of top level info objects [all …]
|
/linux/fs/reiserfs/ |
H A D | lbalance.c | 19 struct buffer_head *dest = dest_bi->bi_bh; in leaf_copy_dir_entries() 21 * either the number of target item, or if we must create a in leaf_copy_dir_entries() 22 * new item, the number of the item we will create it next to in leaf_copy_dir_entries() 33 RFALSE(!is_direntry_le_ih(ih), "vs-10000: item must be directory item"); in leaf_copy_dir_entries() 41 copy_records_len = (from ? deh_location(&deh[from - 1]) : in leaf_copy_dir_entries() 42 ih_item_len(ih)) - in leaf_copy_dir_entries() 43 deh_location(&deh[from + copy_count - 1]); in leaf_copy_dir_entries() 45 source->b_data + ih_location(ih) + in leaf_copy_dir_entries() 46 deh_location(&deh[from + copy_count - 1]); in leaf_copy_dir_entries() 55 LAST_TO_FIRST) ? ((B_NR_ITEMS(dest)) ? 0 : -1) : (B_NR_ITEMS(dest) in leaf_copy_dir_entries() [all …]
|
/linux/Documentation/process/ |
H A D | contribution-maturity-model.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 As a part of the 2021 Linux Kernel Maintainers’ Summit, there was a 15 part of the Linux Kernel community need to allow engineers to be 16 maintainers as part of their job, so they can grow into becoming 48 kernel, either as part of their job responsibilities or on their own 55 part of their job responsibilities. 56 * Software Engineers will be supported to attend Linux-related 57 conferences as a part of their job. 65 authored by engineers from other companies) as part of their job 67 * Contributing presentations or papers to Linux-related or academic [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | conntrack.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 38 * struct nfp_fl_ct_zone_entry - Zone entry containing conntrack flow information 39 * @zone: The zone number, used as lookup key in hashtable 45 * @pre_ct_count: Keep count of the number of pre_ct entries 48 * @post_ct_count: Keep count of the number of post_ct entries 51 * @tc_merge_count: Keep count of the number of merged tc entries 54 * @nft_flows_count: Keep count of the number of nft_flow entries 57 * @nft_merge_count: Keep count of the number of merged tc+nft entries 114 * struct nfp_fl_ct_flow_entry - Flow entry containing conntrack flow information 121 * @children: List of tc_merge flows this flow forms part of [all …]
|
/linux/block/partitions/ |
H A D | acorn.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 1996-2000 Russell King. 36 if (dr->disc_size == 0 && dr->disc_size_high == 0) in adfs_partition() 39 nr_sects = (le32_to_cpu(dr->disc_size_high) << 23) | in adfs_partition() 40 (le32_to_cpu(dr->disc_size) >> 9); in adfs_partition() 43 strlcat(state->pp_buf, " [", PAGE_SIZE); in adfs_partition() 44 strlcat(state->pp_buf, name, PAGE_SIZE); in adfs_partition() 45 strlcat(state->pp_buf, "]", PAGE_SIZE); in adfs_partition() 65 struct riscix_part part[8]; member 79 return -1; in riscix_partition() [all …]
|
/linux/tools/include/uapi/linux/ |
H A D | if_link.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 43 * struct rtnl_link_stats64 - The main device statistics structure. 45 * @rx_packets: Number of good packets received by the interface. 50 * @tx_packets: Number of packets successfully transmitted. 56 * @rx_bytes: Number of good received bytes, corresponding to @rx_packets. 61 * @tx_bytes: Number of good transmitted bytes, corresponding to @tx_packets. 66 * @rx_errors: Total number of bad packets received on this network device. 71 * @tx_errors: Total number of transmit problems. 76 * @rx_dropped: Number of packets received but not processed, 83 * @tx_dropped: Number of packets dropped on their way to transmission, [all …]
|
/linux/drivers/net/fddi/skfp/h/ |
H A D | osdef1st.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * Operating system-dependent definitions that have to be defined 17 // ----------------------- 36 // ----------------------- 40 // ----------------------- 56 // ----------------------- 60 // HWM and OS-specific buffer definitions 61 // ----------------------- 63 // default number of receive buffers. 66 // default number of transmit buffers. [all …]
|
/linux/block/ |
H A D | genhd.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/backing-dev.h> 30 #include "blk-throttle.h" 32 #include "blk-mq-sched.h" 33 #include "blk-rq-qos.h" 34 #include "blk-cgroup.h" 39 * Unique, monotonically increasing sequential number associated with block 50 * This sequential number allows userspace processes to solve this problem, and 61 bdev_set_nr_sectors(disk->part0, sectors); in set_capacity() 83 (disk->flags & GENHD_FL_HIDDEN)) in set_capacity_and_notify() [all …]
|
/linux/Documentation/core-api/ |
H A D | dma-api.rst | 8 of the API (and actual examples), see Documentation/core-api/dma-api-howto.rst. 10 This API is split into two pieces. Part I describes the basic API. 11 Part II describes extensions for supporting non-consistent memory 13 non-consistent platforms (this is usually only legacy platforms) you 14 should only use the API described in part I. 16 Part I - dma_API 17 ---------------- 19 To get the dma_API, you must #include <linux/dma-mapping.h>. This 27 Part Ia - Using large DMA-coherent buffers 28 ------------------------------------------ [all …]
|
/linux/arch/x86/platform/efi/ |
H A D | memmap.c | 1 // SPDX-License-Identifier: GPL-2.0 50 * efi_memmap_alloc - Allocate memory for the EFI memory map 51 * @num_entries: Number of entries in the allocated map. 63 WARN_ON(data->phys_map || data->size); in efi_memmap_alloc() 65 data->size = num_entries * efi.memmap.desc_size; in efi_memmap_alloc() 66 data->desc_version = efi.memmap.desc_version; in efi_memmap_alloc() 67 data->desc_size = efi.memmap.desc_size; in efi_memmap_alloc() 68 data->flags &= ~(EFI_MEMMAP_SLAB | EFI_MEMMAP_MEMBLOCK); in efi_memmap_alloc() 69 data->flags |= efi.memmap.flags & EFI_MEMMAP_LATE; in efi_memmap_alloc() 72 data->flags |= EFI_MEMMAP_SLAB; in efi_memmap_alloc() [all …]
|