Searched refs:ccid (Results 1 – 12 of 12) sorted by relevance
/linux-4.4.14/net/dccp/ |
D | ccid.h | 59 int (*ccid_hc_rx_init)(struct ccid *ccid, struct sock *sk); 60 int (*ccid_hc_tx_init)(struct ccid *ccid, struct sock *sk); 99 struct ccid { struct 104 static inline void *ccid_priv(const struct ccid *ccid) in ccid_priv() argument 106 return (void *)ccid->ccid_priv; in ccid_priv() 114 struct ccid *ccid_new(const u8 id, struct sock *sk, bool rx); 118 struct ccid *ccid = dp->dccps_hc_rx_ccid; in ccid_get_current_rx_ccid() local 120 if (ccid == NULL || ccid->ccid_ops == NULL) in ccid_get_current_rx_ccid() 122 return ccid->ccid_ops->ccid_id; in ccid_get_current_rx_ccid() 127 struct ccid *ccid = dp->dccps_hc_tx_ccid; in ccid_get_current_tx_ccid() local [all …]
|
D | ccid.c | 91 slab = kmem_cache_create(slab_name_fmt, sizeof(struct ccid) + obj_size, 0, in ccid_kmem_cache_create() 143 struct ccid *ccid_new(const u8 id, struct sock *sk, bool rx) in ccid_new() 146 struct ccid *ccid = NULL; in ccid_new() local 151 ccid = kmem_cache_alloc(rx ? ccid_ops->ccid_hc_rx_slab : in ccid_new() 153 if (ccid == NULL) in ccid_new() 155 ccid->ccid_ops = ccid_ops; in ccid_new() 157 memset(ccid + 1, 0, ccid_ops->ccid_hc_rx_obj_size); in ccid_new() 158 if (ccid->ccid_ops->ccid_hc_rx_init != NULL && in ccid_new() 159 ccid->ccid_ops->ccid_hc_rx_init(ccid, sk) != 0) in ccid_new() 162 memset(ccid + 1, 0, ccid_ops->ccid_hc_tx_obj_size); in ccid_new() [all …]
|
D | feat.c | 41 static int dccp_hdlr_ccid(struct sock *sk, u64 ccid, bool rx) in dccp_hdlr_ccid() argument 44 struct ccid *new_ccid = ccid_new(ccid, sk, rx); in dccp_hdlr_ccid() 838 static const struct ccid_dependency *dccp_feat_ccid_deps(u8 ccid, bool is_local) in dccp_feat_ccid_deps() argument 924 switch (ccid) { in dccp_feat_ccid_deps() 1002 u8 is_local, ccid; in dccp_feat_server_ccid_dependencies() local 1008 ccid = entry->val.sp.vec[0]; in dccp_feat_server_ccid_dependencies() 1010 ccid = dccp_feat_default_value(DCCPF_CCID); in dccp_feat_server_ccid_dependencies() 1012 if (dccp_feat_propagate_ccid(fn, ccid, is_local)) in dccp_feat_server_ccid_dependencies()
|
D | Makefile | 3 dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \
|
D | output.c | 155 const struct ccid *tx_ccid = dp->dccps_hc_tx_ccid; in dccp_determine_ccmps()
|
/linux-4.4.14/include/linux/ |
D | dccp.h | 188 struct ccid; 292 struct ccid *dccps_hc_rx_ccid; 293 struct ccid *dccps_hc_tx_ccid;
|
/linux-4.4.14/net/dccp/ccids/ |
D | ccid3.c | 502 static int ccid3_hc_tx_init(struct ccid *ccid, struct sock *sk) in ccid3_hc_tx_init() argument 504 struct ccid3_hc_tx_sock *hc = ccid_priv(ccid); in ccid3_hc_tx_init() 795 static int ccid3_hc_rx_init(struct ccid *ccid, struct sock *sk) in ccid3_hc_rx_init() argument 797 struct ccid3_hc_rx_sock *hc = ccid_priv(ccid); in ccid3_hc_rx_init()
|
D | ccid2.c | 710 static int ccid2_hc_tx_init(struct ccid *ccid, struct sock *sk) in ccid2_hc_tx_init() argument 712 struct ccid2_hc_tx_sock *hc = ccid_priv(ccid); in ccid2_hc_tx_init()
|
/linux-4.4.14/drivers/nfc/ |
D | pn533.c | 457 struct pn533_acr122_ccid_hdr ccid; member 464 struct pn533_acr122_ccid_hdr ccid; member 472 frame->ccid.type = PN533_ACR122_PC_TO_RDR_ESCAPE; in pn533_acr122_tx_frame_init() 473 frame->ccid.datalen = sizeof(frame->apdu) + 1; /* sizeof(apdu_hdr) + in pn533_acr122_tx_frame_init() 475 frame->ccid.slot = 0; in pn533_acr122_tx_frame_init() 476 frame->ccid.seq = 0; in pn533_acr122_tx_frame_init() 477 frame->ccid.params[0] = 0; in pn533_acr122_tx_frame_init() 478 frame->ccid.params[1] = 0; in pn533_acr122_tx_frame_init() 479 frame->ccid.params[2] = 0; in pn533_acr122_tx_frame_init() 495 frame->ccid.datalen += frame->datalen; in pn533_acr122_tx_frame_finish() [all …]
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gpu_error.c | 380 err_printf(m, "CCID: 0x%08x\n", error->ccid); in i915_error_state_to_str() 964 if (ring->id != RCS || !error->ccid) in i915_gem_record_active_context() 971 if ((error->ccid & PAGE_MASK) == i915_gem_obj_ggtt_offset(obj)) { in i915_gem_record_active_context() 1219 error->ccid = I915_READ(CCID); in i915_capture_reg_state()
|
D | i915_drv.h | 508 u32 ccid; member
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_core.h | 321 __u32 ccid; member
|