/openbmc/linux/include/linux/ |
H A D | completion.h | 8 * Atomic wait-for-completion handler data structures. 9 * See kernel/sched/completion.c for details. 15 * struct completion - structure used to maintain state for a "completion" 17 * This is the opaque structure used to maintain the state for a "completion". 19 * the "completion" event. 26 struct completion { struct 32 static inline void complete_acquire(struct completion *x) {} in complete_acquire() argument 33 static inline void complete_release(struct completion *x) {} in complete_release() 45 * DECLARE_COMPLETION - declare and initialize a completion structure 46 * @work: identifier for the completion structure [all …]
|
/openbmc/linux/kernel/sched/ |
H A D | completion.c | 4 * Generic wait-for-completion handler; 13 * Waiting for completion is a typically sync point, but not an exclusion point. 16 static void complete_with_flags(struct completion *x, int wake_flags) in complete_with_flags() 28 void complete_on_current_cpu(struct completion *x) in complete_on_current_cpu() 34 * complete: - signals a single thread waiting on this completion 35 * @x: holds the state of this particular completion 37 * This will wake up a single thread waiting on this completion. Threads will be 45 void complete(struct completion *x) in complete() 52 * complete_all: - signals all threads waiting on this completion 53 * @x: holds the state of this particular completion [all …]
|
/openbmc/linux/Documentation/scheduler/ |
H A D | completion.rst | 2 Completions - "wait for completion" barrier APIs 27 is reduced to a simple flag in 'struct completion', appropriately called "done". 30 kernel/sched/completion.c. 38 - the initialization of the 'struct completion' synchronization object 45 to have marked a completion as 'done' before another thread checks whether 48 To use completions you need to #include <linux/completion.h> and 49 create a static or dynamic variable of type 'struct completion', 52 struct completion { 58 the ->done completion flag for indicating whether it's completed or not. 67 Good, intuitive naming (as always) helps code readability. Naming a completion [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/scheduler/ |
H A D | completion.rst | 3 :Original: Documentation/scheduler/completion.rst 33 事件被简化为 ``struct completion`` 中的一个简单标志,被恰如其名地称为‘done’。 35 由于完成与调度有关,代码可以在kernel/sched/completion.c中找到。 43 - 'struct completion' 同步对象的初始化 51 要使用完成API,你需要#include <linux/completion.h>并创建一个静态或动态的 52 ``struct completion`` 类型的变量,它只有两个字段:: 54 struct completion { 134 void wait_for_completion(struct completion *done) 140 struct completion setup_done; 180 int wait_for_completion_interruptible(struct completion *done) [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/powerpc/power8/ |
H A D | pipeline.json | 23 "BriefDescription": "Completion stall", 29 "BriefDescription": "Completion stall due to a Branch Unit", 35 "BriefDescription": "Completion stall by Dcache miss", 41 …"BriefDescription": "Completion stall by Dcache miss which resolved on chip ( excluding local L2/L… 47 "BriefDescription": "Completion stall by Dcache miss which resolved in L2/L3", 53 …"BriefDescription": "Completion stall due to cache miss that resolves in the L2 or L3 with a confl… 54 …"PublicDescription": "Completion stall due to cache miss resolving in core's L2/L3 with a conflict" 59 "BriefDescription": "Completion stall due to cache miss resolving missed the L3", 65 "BriefDescription": "Completion stall due to cache miss that resolves in local memory", 66 "PublicDescription": "Completion stall due to cache miss resolving in core's Local Memory" [all …]
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A D | URB.rst | 36 - Each URB has a completion handler, which is called after the action 38 context-pointer for passing information to the completion handler. 42 data to an endpoint while your driver handles completion of another. 60 // (IN) all urbs need completion routines 61 void *context; // context for completion routine 62 usb_complete_t complete; // pointer to completion routine 64 // (OUT) status after each completion 110 returned to you in a completion callback. It will automatically be 122 length, the completion handler, and its context. Take a look at the some 156 never look at that value except in your completion callback. [all …]
|
/openbmc/linux/Documentation/arch/sparc/oradax/ |
H A D | oracle-dax.rst | 41 pointer to a "completion area", which is a 128 byte memory block that 43 interrupt is generated upon completion; the completion area must be 46 processor until the completion status has been updated by the 52 completion of a request and resumption of execution of the requesting 85 call, and gets results (if any) via read(). The completion areas are 96 requests. The completion area buffer is also allocated, and this is 97 large enough to contain the completion areas for many concurrent 116 requests. Since no interrupt is generated upon the completion of a 142 completion area to use, and may be set via lseek() or using the 157 The mmap() function provides access to the completion area allocated [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
H A D | memory.json | 3 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 10 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 15 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 22 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 27 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 34 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 39 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 46 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 51 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 58 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs42l43.h | 10 #include <linux/completion.h> 53 struct completion pll_ready; 59 struct completion hp_startup; 60 struct completion hp_shutdown; 61 struct completion spkr_shutdown; 62 struct completion spkl_shutdown; 63 struct completion spkr_startup; 64 struct completion spkl_startup; 84 struct completion type_detect; 85 struct completion load_detect;
|
/openbmc/linux/drivers/scsi/isci/ |
H A D | scu_completion_codes.h | 60 * This file contains the constants and macros for the SCU hardware completion 72 * This macro constructs an SCU completion type 80 * These macros contain the SCU completion types SCU_COMPLETION_TYPE 92 * an SCU completion code. 107 * This macro returns the SCU completion type. 115 * This macro returns the SCU completion status. 123 * This macro returns the transport layer completion status. 131 * This macro takes a completion code and performs the shift and mask 132 * operations to turn it into a completion code that can be compared to a 153 * This macro returns the SDMA completion status. [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
H A D | memory.json | 19 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 26 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 31 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 38 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 43 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 50 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 55 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 62 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 67 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 74 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … [all …]
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_desc_dqo.h | 32 /* If set, will generate a descriptor completion for this descriptor. */ 37 /* The TX completion associated with this packet will contain this tag. 146 /* TX completion descriptor */ 149 * completion. 165 /* For packet completions, this is the completion tag set on the 174 #define GVE_COMPL_TYPE_DQO_PKT 0x2 /* Packet completion */ 175 #define GVE_COMPL_TYPE_DQO_DESC 0x4 /* Descriptor completion */ 176 #define GVE_COMPL_TYPE_DQO_MISS 0x1 /* Miss path completion */ 177 #define GVE_COMPL_TYPE_DQO_REINJECTION 0x3 /* Re-injection completion */ 179 /* The most significant bit in the completion tag can change the completion [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | bash-completion.bbclass | 7 DEPENDS:append:class-target = " bash-completion" 9 PACKAGES += "${PN}-bash-completion" 11 FILES:${PN}-bash-completion = "${datadir}/bash-completion ${sysconfdir}/bash_completion.d" 13 RDEPENDS:${PN}-bash-completion = "bash-completion"
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/meteorlake/ |
H A D | memory.json | 124 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 131 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 137 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 144 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 150 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 157 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 163 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 170 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 176 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 183 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … [all …]
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_task_queue.c | 27 /* Signal completion for synchronous calls */ in ipc_task_queue_handler() 28 if (args->completion) in ipc_task_queue_handler() 29 complete(args->completion); in ipc_task_queue_handler() 42 args->completion = NULL; in ipc_task_queue_handler() 64 if (args->completion) in ipc_task_queue_cleanup() 65 complete(args->completion); in ipc_task_queue_cleanup() 85 struct completion completion; in ipc_task_queue_add_task() local 90 init_completion(&completion); in ipc_task_queue_add_task() 111 ipc_task->args[pos].completion = wait ? &completion : NULL; in ipc_task_queue_add_task() 130 wait_for_completion(&completion); in ipc_task_queue_add_task()
|
H A D | iosm_ipc_protocol_ops.h | 14 * enum ipc_mem_td_cs - Completion status of a TD 33 * enum ipc_mem_msg_cs - Completion status of IPC Message 35 * @IPC_MEM_MSG_CS_SUCCESS: IPC Message completion success. 130 * @completion: For waking up requestor 131 * @status: Completion status 134 struct completion completion; member 142 * @IPC_MEM_MSG_ABORT_PIPE: AP ->CP: wait for completion of the 164 * @completion_status: Message Completion Status 184 * @completion_status: Message Completion Status 204 * @completion_status: Message Completion Status [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-context-info-gen3.h | 48 * @IWL_PRPH_SCRATCH_MTR_MODE: format used for completion - 0: for 49 * completion descriptor, 1 for responses (legacy) 219 * @cr_head_idx_arr_base_addr: the completion ring head index array 223 * @cr_tail_idx_arr_base_addr: the completion ring tail index array 227 * @cr_idx_arr_size: number of entries in the completion ring index array 230 * @mcr_base_addr: the message completion ring start address 232 * @mcr_size: number of entries which the message completion ring can hold 236 * completion ring 240 * completing a completion descriptor in the message completion ring 245 * @mcr_opt_header_size: the size of the optional header in the completion [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/alderlake/ |
H A D | memory.json | 116 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 123 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 129 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 136 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 142 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 149 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 155 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 162 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 168 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … 175 …Counts randomly selected loads when the latency from first dispatch to completion is greater than … [all …]
|
/openbmc/linux/fs/nilfs2/ |
H A D | sysfs.h | 21 * @sg_superblock_kobj_unregister: completion state 23 * @sg_segctor_kobj_unregister: completion state 25 * @sg_mounted_snapshots_kobj_unregister: completion state 27 * @sg_checkpoints_kobj_unregister: completion state 29 * @sg_segments_kobj_unregister: completion state 34 struct completion sg_superblock_kobj_unregister; 38 struct completion sg_segctor_kobj_unregister; 42 struct completion sg_mounted_snapshots_kobj_unregister; 46 struct completion sg_checkpoints_kobj_unregister; 50 struct completion sg_segments_kobj_unregister;
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | pmi.c | 16 #include <linux/completion.h> 34 struct completion *completion; member 53 if (type & PMI_ACK && !data->completion) { in pmi_irq_handler() 59 if (data->completion && !(type & PMI_ACK)) { in pmi_irq_handler() 79 complete(data->completion); in pmi_irq_handler() 209 DECLARE_COMPLETION_ONSTACK(completion); in pmi_send_message() 219 data->completion = &completion; in pmi_send_message() 228 pr_debug("pmi_send_message: wait for completion\n"); in pmi_send_message() 230 wait_for_completion_interruptible_timeout(data->completion, in pmi_send_message() 233 data->completion = NULL; in pmi_send_message()
|
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/ |
H A D | gstreamer1.0_1.24.10.bb | 39 PACKAGECONFIG[bash-completion] = "-Dbash-completion=enabled,-Dbash-completion=disabled,bash-complet… 62 PACKAGES += "${PN}-bash-completion" 67 FILES:${PN}-bash-completion += "${datadir}/bash-completion/completions/ ${datadir}/bash-completion/…
|
/openbmc/linux/include/linux/pds/ |
H A D | pds_adminq.h | 10 PDS_AQ_FLAG_FASTPOLL = BIT(1), /* completion poll at 1ms */ 161 * struct pds_core_client_reg_comp - Client registration completion 164 * @comp_index: Index in the descriptor ring for which this is the completion 185 * This uses the generic completion. 201 * This uses the generic completion. 330 * struct pds_core_lif_identify_comp - LIF identify command completion 362 * struct pds_core_lif_init_comp - LIF init command completion 429 * struct pds_core_lif_setattr_comp - LIF set attr command completion 432 * @comp_index: Index in the descriptor ring for which this is the completion 461 * struct pds_core_lif_getattr_comp - LIF get attr command completion [all …]
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | timeriomem-rng.c | 20 #include <linux/completion.h> 39 struct completion completion; member 55 * bail out. Otherwise, wait for the completion. If the new data has in timeriomem_rng_read() 56 * already been generated, the completion should already be available. in timeriomem_rng_read() 61 wait_for_completion(&priv->completion); in timeriomem_rng_read() 85 reinit_completion(&priv->completion); in timeriomem_rng_read() 98 complete(&priv->completion); in timeriomem_rng_trigger() 154 init_completion(&priv->completion); in timeriomem_rng_probe() 163 complete(&priv->completion); in timeriomem_rng_probe()
|
/openbmc/sdbusplus/src/async/ |
H A D | context.cpp | 19 /* The sd_bus_wait/process completion event. 22 * task `co_await`ing Senders over and over. This class is the completion 35 // Arm the completion event. 45 /* The completion template based on receiver type. 48 * a template, so we need a sub-class of completion to hold the receiver. 95 // Create the completion for the wait. in tag_invoke() 104 // Handle the next sdbus event. Completion likely happened on a in loop() 123 "sdbusplus::async::context destructed without completion."); in ~context() 195 // Spawn the watch for completion / exceptions. in spawn_watcher() 219 // We've already been running and there might a completion pending. in caller_run() [all …]
|
/openbmc/linux/drivers/infiniband/hw/efa/ |
H A D | efa_io_defs.h | 31 /* Successful completion */ 87 * 4 : comp_req - Indicates whether completion should 104 * within Tx message and reported in remote Rx completion. 207 /* Common IO completion descriptor */ 232 /* Tx completion descriptor */ 234 /* Common completion info */ 241 /* Rx Completion Descriptor */ 243 /* Common completion info */ 258 /* Rx Completion Descriptor RDMA write info */ 264 /* Extended Rx Completion Descriptor */ [all …]
|