Home
last modified time | relevance | path

Searched refs:ccid (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/net/dccp/
Dccid.h56 int (*ccid_hc_rx_init)(struct ccid *ccid, struct sock *sk);
57 int (*ccid_hc_tx_init)(struct ccid *ccid, struct sock *sk);
96 struct ccid { struct
101 static inline void *ccid_priv(const struct ccid *ccid) in ccid_priv() argument
103 return (void *)ccid->ccid_priv; in ccid_priv()
111 struct ccid *ccid_new(const u8 id, struct sock *sk, bool rx);
115 struct ccid *ccid = dp->dccps_hc_rx_ccid; in ccid_get_current_rx_ccid() local
117 if (ccid == NULL || ccid->ccid_ops == NULL) in ccid_get_current_rx_ccid()
119 return ccid->ccid_ops->ccid_id; in ccid_get_current_rx_ccid()
124 struct ccid *ccid = dp->dccps_hc_tx_ccid; in ccid_get_current_tx_ccid() local
[all …]
Dccid.c88 slab = kmem_cache_create(slab_name_fmt, sizeof(struct ccid) + obj_size, 0, in ccid_kmem_cache_create()
140 struct ccid *ccid_new(const u8 id, struct sock *sk, bool rx) in ccid_new()
143 struct ccid *ccid = NULL; in ccid_new() local
148 ccid = kmem_cache_alloc(rx ? ccid_ops->ccid_hc_rx_slab : in ccid_new()
150 if (ccid == NULL) in ccid_new()
152 ccid->ccid_ops = ccid_ops; in ccid_new()
154 memset(ccid + 1, 0, ccid_ops->ccid_hc_rx_obj_size); in ccid_new()
155 if (ccid->ccid_ops->ccid_hc_rx_init != NULL && in ccid_new()
156 ccid->ccid_ops->ccid_hc_rx_init(ccid, sk) != 0) in ccid_new()
159 memset(ccid + 1, 0, ccid_ops->ccid_hc_tx_obj_size); in ccid_new()
[all …]
Dfeat.c36 static int dccp_hdlr_ccid(struct sock *sk, u64 ccid, bool rx) in dccp_hdlr_ccid() argument
39 struct ccid *new_ccid = ccid_new(ccid, sk, rx); in dccp_hdlr_ccid()
842 static const struct ccid_dependency *dccp_feat_ccid_deps(u8 ccid, bool is_local) in dccp_feat_ccid_deps() argument
928 switch (ccid) { in dccp_feat_ccid_deps()
1006 u8 is_local, ccid; in dccp_feat_server_ccid_dependencies() local
1012 ccid = entry->val.sp.vec[0]; in dccp_feat_server_ccid_dependencies()
1014 ccid = dccp_feat_default_value(DCCPF_CCID); in dccp_feat_server_ccid_dependencies()
1016 if (dccp_feat_propagate_ccid(fn, ccid, is_local)) in dccp_feat_server_ccid_dependencies()
DMakefile4 dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \
Doutput.c152 const struct ccid *tx_ccid = dp->dccps_hc_tx_ccid; in dccp_determine_ccmps()
/kernel/linux/linux-5.10/drivers/nfc/pn533/
Dusb.c253 struct pn533_acr122_ccid_hdr ccid; member
260 struct pn533_acr122_ccid_hdr ccid; member
268 frame->ccid.type = PN533_ACR122_PC_TO_RDR_ESCAPE; in pn533_acr122_tx_frame_init()
270 frame->ccid.datalen = sizeof(frame->apdu) + 1; in pn533_acr122_tx_frame_init()
271 frame->ccid.slot = 0; in pn533_acr122_tx_frame_init()
272 frame->ccid.seq = 0; in pn533_acr122_tx_frame_init()
273 frame->ccid.params[0] = 0; in pn533_acr122_tx_frame_init()
274 frame->ccid.params[1] = 0; in pn533_acr122_tx_frame_init()
275 frame->ccid.params[2] = 0; in pn533_acr122_tx_frame_init()
291 frame->ccid.datalen += frame->datalen; in pn533_acr122_tx_frame_finish()
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddccp.h190 struct ccid;
294 struct ccid *dccps_hc_rx_ccid;
295 struct ccid *dccps_hc_tx_ccid;
/kernel/linux/linux-5.10/net/dccp/ccids/
Dccid3.c489 static int ccid3_hc_tx_init(struct ccid *ccid, struct sock *sk) in ccid3_hc_tx_init() argument
491 struct ccid3_hc_tx_sock *hc = ccid_priv(ccid); in ccid3_hc_tx_init()
785 static int ccid3_hc_rx_init(struct ccid *ccid, struct sock *sk) in ccid3_hc_rx_init() argument
787 struct ccid3_hc_rx_sock *hc = ccid_priv(ccid); in ccid3_hc_rx_init()
Dccid2.c713 static int ccid2_hc_tx_init(struct ccid *ccid, struct sock *sk) in ccid2_hc_tx_init() argument
715 struct ccid2_hc_tx_sock *hc = ccid_priv(ccid); in ccid2_hc_tx_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_lrc.c1355 ce->lrc.ccid = ce->tag; in __execlists_schedule_in()
1362 ce->lrc.ccid = tag << (GEN11_SW_CTX_ID_SHIFT - 32); in __execlists_schedule_in()
1367 ce->lrc.ccid |= engine->execlists.ccid; in __execlists_schedule_in()
1411 unsigned int ccid) in __execlists_schedule_out() argument
1429 ccid >>= GEN11_SW_CTX_ID_SHIFT - 32; in __execlists_schedule_out()
1430 ccid &= GEN12_MAX_CONTEXT_HW_ID; in __execlists_schedule_out()
1431 if (ccid < BITS_PER_LONG) { in __execlists_schedule_out()
1432 GEM_BUG_ON(ccid == 0); in __execlists_schedule_out()
1433 GEM_BUG_ON(test_bit(ccid - 1, &engine->context_tag)); in __execlists_schedule_out()
1434 set_bit(ccid - 1, &engine->context_tag); in __execlists_schedule_out()
[all …]
Dintel_context_types.h95 u32 ccid; member
Dintel_engine_types.h163 u32 ccid; member
Dintel_engine_cs.c1532 rq->context->lrc.ccid, in intel_engine_print_registers()
1546 rq->context->lrc.ccid, in intel_engine_print_registers()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_gpu_error.h69 u32 ccid; member
Di915_gpu_error.c522 err_printf(m, " CCID: 0x%08x\n", ee->ccid); in error_print_engine()
1144 ee->ccid = ENGINE_READ(engine, CCID); in engine_record_registers()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_submission.c220 u32 ctx_desc = rq->context->lrc.ccid; in guc_add_request()
/kernel/linux/linux-5.10/drivers/s390/net/
Dqeth_core.h270 __u32 ccid; member