Classes | Macros | Functions | Variables
channel_stack.h File Reference
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <functional>
#include <grpc/impl/codegen/gpr_types.h>
#include <grpc/impl/codegen/grpc_types.h>
#include <grpc/slice.h>
#include <grpc/status.h>
#include <grpc/support/log.h>
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/context.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gpr/time_precise.h"
#include "src/core/lib/gprpp/manual_constructor.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/call_combiner.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/polling_entity.h"
#include "src/core/lib/promise/arena_promise.h"
#include "src/core/lib/resource_quota/arena.h"
#include "src/core/lib/transport/transport.h"
Include dependency graph for channel_stack.h:

Go to the source code of this file.

Classes

struct  grpc_call_element
 
struct  grpc_call_element_args
 
struct  grpc_call_final_info
 
struct  grpc_call_stack
 
struct  grpc_call_stats
 
struct  grpc_channel_element
 
struct  grpc_channel_element_args
 
struct  grpc_channel_filter
 
struct  grpc_channel_stack
 

Macros

#define GRPC_CALL_LOG_OP(sev, elem, op)
 
#define GRPC_CALL_STACK_REF(call_stack, reason)   grpc_stream_ref(&(call_stack)->refcount, reason)
 
#define GRPC_CALL_STACK_UNREF(call_stack, reason)   grpc_stream_unref(&(call_stack)->refcount, reason)
 
#define GRPC_CHANNEL_STACK_REF(channel_stack, reason)   grpc_stream_ref(&(channel_stack)->refcount, reason)
 
#define GRPC_CHANNEL_STACK_UNREF(channel_stack, reason)   grpc_stream_unref(&(channel_stack)->refcount, reason)
 

Functions

void grpc_call_log_op (const char *file, int line, gpr_log_severity severity, grpc_call_element *elem, grpc_transport_stream_op_batch *op)
 
void grpc_call_next_op (grpc_call_element *elem, grpc_transport_stream_op_batch *op)
 
void grpc_call_stack_destroy (grpc_call_stack *stack, const grpc_call_final_info *final_info, grpc_closure *then_schedule_closure)
 
grpc_call_elementgrpc_call_stack_element (grpc_call_stack *stack, size_t i)
 
grpc_call_stackgrpc_call_stack_from_top_element (grpc_call_element *elem)
 
void grpc_call_stack_ignore_set_pollset_or_pollset_set (grpc_call_element *elem, grpc_polling_entity *pollent)
 
grpc_error_handle grpc_call_stack_init (grpc_channel_stack *channel_stack, int initial_refs, grpc_iomgr_cb_func destroy, void *destroy_arg, const grpc_call_element_args *elem_args)
 
void grpc_call_stack_set_pollset_or_pollset_set (grpc_call_stack *call_stack, grpc_polling_entity *pollent)
 
void grpc_channel_next_get_info (grpc_channel_element *elem, const grpc_channel_info *channel_info)
 
void grpc_channel_next_op (grpc_channel_element *elem, grpc_transport_op *op)
 
void grpc_channel_stack_destroy (grpc_channel_stack *stack)
 
grpc_channel_elementgrpc_channel_stack_element (grpc_channel_stack *stack, size_t i)
 
size_t grpc_channel_stack_filter_instance_number (grpc_channel_stack *channel_stack, grpc_channel_element *elem)
 
grpc_channel_stackgrpc_channel_stack_from_top_element (grpc_channel_element *elem)
 
grpc_error_handle grpc_channel_stack_init (int initial_refs, grpc_iomgr_cb_func destroy, void *destroy_arg, const grpc_channel_filter **filters, size_t filter_count, const grpc_channel_args *args, const char *name, grpc_channel_stack *stack)
 
grpc_channel_elementgrpc_channel_stack_last_element (grpc_channel_stack *stack)
 
void grpc_channel_stack_no_post_init (grpc_channel_stack *stk, grpc_channel_element *elem)
 
size_t grpc_channel_stack_size (const grpc_channel_filter **filters, size_t filter_count)
 

Variables

grpc_core::TraceFlag grpc_trace_channel
 

Macro Definition Documentation

◆ GRPC_CALL_LOG_OP

#define GRPC_CALL_LOG_OP (   sev,
  elem,
  op 
)
Value:
do { \
grpc_call_log_op(sev, elem, op); \
} \
} while (0)

Definition at line 374 of file channel_stack.h.

◆ GRPC_CALL_STACK_REF

#define GRPC_CALL_STACK_REF (   call_stack,
  reason 
)    grpc_stream_ref(&(call_stack)->refcount, reason)

Definition at line 293 of file channel_stack.h.

◆ GRPC_CALL_STACK_UNREF

#define GRPC_CALL_STACK_UNREF (   call_stack,
  reason 
)    grpc_stream_unref(&(call_stack)->refcount, reason)

Definition at line 295 of file channel_stack.h.

◆ GRPC_CHANNEL_STACK_REF

#define GRPC_CHANNEL_STACK_REF (   channel_stack,
  reason 
)    grpc_stream_ref(&(channel_stack)->refcount, reason)

Definition at line 297 of file channel_stack.h.

◆ GRPC_CHANNEL_STACK_UNREF

#define GRPC_CHANNEL_STACK_UNREF (   channel_stack,
  reason 
)    grpc_stream_unref(&(channel_stack)->refcount, reason)

Definition at line 299 of file channel_stack.h.

Function Documentation

◆ grpc_call_log_op()

void grpc_call_log_op ( const char *  file,
int  line,
gpr_log_severity  severity,
grpc_call_element elem,
grpc_transport_stream_op_batch op 
)

Definition at line 141 of file transport_op_string.cc.

◆ grpc_call_next_op()

void grpc_call_next_op ( grpc_call_element elem,
grpc_transport_stream_op_batch op 
)

Definition at line 251 of file channel_stack.cc.

◆ grpc_call_stack_destroy()

void grpc_call_stack_destroy ( grpc_call_stack stack,
const grpc_call_final_info final_info,
grpc_closure then_schedule_closure 
)

Definition at line 236 of file channel_stack.cc.

◆ grpc_call_stack_element()

grpc_call_element* grpc_call_stack_element ( grpc_call_stack stack,
size_t  i 
)

Definition at line 100 of file channel_stack.cc.

◆ grpc_call_stack_from_top_element()

grpc_call_stack* grpc_call_stack_from_top_element ( grpc_call_element elem)

Definition at line 276 of file channel_stack.cc.

◆ grpc_call_stack_ignore_set_pollset_or_pollset_set()

void grpc_call_stack_ignore_set_pollset_or_pollset_set ( grpc_call_element elem,
grpc_polling_entity pollent 
)

Definition at line 233 of file channel_stack.cc.

◆ grpc_call_stack_init()

grpc_error_handle grpc_call_stack_init ( grpc_channel_stack channel_stack,
int  initial_refs,
grpc_iomgr_cb_func  destroy,
void *  destroy_arg,
const grpc_call_element_args elem_args 
)

Definition at line 180 of file channel_stack.cc.

◆ grpc_call_stack_set_pollset_or_pollset_set()

void grpc_call_stack_set_pollset_or_pollset_set ( grpc_call_stack call_stack,
grpc_polling_entity pollent 
)

Definition at line 219 of file channel_stack.cc.

◆ grpc_channel_next_get_info()

void grpc_channel_next_get_info ( grpc_channel_element elem,
const grpc_channel_info channel_info 
)

Definition at line 258 of file channel_stack.cc.

◆ grpc_channel_next_op()

void grpc_channel_next_op ( grpc_channel_element elem,
grpc_transport_op op 
)

Definition at line 264 of file channel_stack.cc.

◆ grpc_channel_stack_destroy()

void grpc_channel_stack_destroy ( grpc_channel_stack stack)

Definition at line 166 of file channel_stack.cc.

◆ grpc_channel_stack_element()

grpc_channel_element* grpc_channel_stack_element ( grpc_channel_stack stack,
size_t  i 
)

Definition at line 78 of file channel_stack.cc.

◆ grpc_channel_stack_filter_instance_number()

size_t grpc_channel_stack_filter_instance_number ( grpc_channel_stack channel_stack,
grpc_channel_element elem 
)

Definition at line 88 of file channel_stack.cc.

◆ grpc_channel_stack_from_top_element()

grpc_channel_stack* grpc_channel_stack_from_top_element ( grpc_channel_element elem)

Definition at line 269 of file channel_stack.cc.

◆ grpc_channel_stack_init()

grpc_error_handle grpc_channel_stack_init ( int  initial_refs,
grpc_iomgr_cb_func  destroy,
void *  destroy_arg,
const grpc_channel_filter **  filters,
size_t  filter_count,
const grpc_channel_args args,
const char *  name,
grpc_channel_stack stack 
)

Definition at line 105 of file channel_stack.cc.

◆ grpc_channel_stack_last_element()

grpc_channel_element* grpc_channel_stack_last_element ( grpc_channel_stack stack)

Definition at line 83 of file channel_stack.cc.

◆ grpc_channel_stack_no_post_init()

void grpc_channel_stack_no_post_init ( grpc_channel_stack stk,
grpc_channel_element elem 
)

Definition at line 282 of file channel_stack.cc.

◆ grpc_channel_stack_size()

size_t grpc_channel_stack_size ( const grpc_channel_filter **  filters,
size_t  filter_count 
)

Definition at line 51 of file channel_stack.cc.

Variable Documentation

◆ grpc_trace_channel

grpc_core::TraceFlag grpc_trace_channel
elem
Timer elem
Definition: event_engine/iomgr_event_engine/timer_heap_test.cc:109
GRPC_TRACE_FLAG_ENABLED
#define GRPC_TRACE_FLAG_ENABLED(f)
Definition: debug/trace.h:114
grpc_trace_channel
grpc_core::TraceFlag grpc_trace_channel
op
static grpc_op * op
Definition: test/core/fling/client.cc:47


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:06