Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 83) sorted by relevance

1234

/include/net/irda/
Dirda_device.h241 const struct irda_skb_cb *cb = (const struct irda_skb_cb *) skb->cb; in irda_get_mtt() local
242 return (cb->magic == LAP_MAGIC) ? cb->mtt : 10000; in irda_get_mtt()
254 const struct irda_skb_cb *cb = (const struct irda_skb_cb *) skb->cb; in irda_get_next_speed() local
255 return (cb->magic == LAP_MAGIC) ? cb->next_speed : -1; in irda_get_next_speed()
267 const struct irda_skb_cb *cb = (const struct irda_skb_cb *) skb->cb; in irda_get_xbofs() local
268 return (cb->magic == LAP_MAGIC) ? cb->xbofs : 10; in irda_get_xbofs()
280 const struct irda_skb_cb *cb = (const struct irda_skb_cb *) skb->cb; in irda_get_next_xbofs() local
281 return (cb->magic == LAP_MAGIC) ? cb->next_xbofs : -1; in irda_get_next_xbofs()
/include/linux/mfd/
Dlm3533.h90 extern int lm3533_ctrlbank_enable(struct lm3533_ctrlbank *cb);
91 extern int lm3533_ctrlbank_disable(struct lm3533_ctrlbank *cb);
93 extern int lm3533_ctrlbank_set_brightness(struct lm3533_ctrlbank *cb, u8 val);
94 extern int lm3533_ctrlbank_get_brightness(struct lm3533_ctrlbank *cb, u8 *val);
95 extern int lm3533_ctrlbank_set_max_current(struct lm3533_ctrlbank *cb,
97 extern int lm3533_ctrlbank_set_pwm(struct lm3533_ctrlbank *cb, u8 val);
98 extern int lm3533_ctrlbank_get_pwm(struct lm3533_ctrlbank *cb, u8 *val);
/include/net/nfc/
Ddigital.h159 u16 timeout, nfc_digital_cmd_complete_t cb,
165 u16 timeout, nfc_digital_cmd_complete_t cb,
168 nfc_digital_cmd_complete_t cb, void *arg);
171 u16 timeout, nfc_digital_cmd_complete_t cb,
174 nfc_digital_cmd_complete_t cb, void *arg);
/include/net/
Dllc_conn.h90 skb->cb[sizeof(skb->cb) - 1] = type; in llc_set_backlog_type()
95 return skb->cb[sizeof(skb->cb) - 1]; in llc_backlog_type()
Dstrparser.h60 return (struct strp_rx_msg *)((void *)skb->cb + in strp_rx_msg()
81 struct strp_callbacks cb; member
139 struct strp_callbacks *cb);
Dgenetlink.h124 int (*start)(struct netlink_callback *cb);
126 struct netlink_callback *cb);
127 int (*done)(struct netlink_callback *cb);
234 static inline void genl_dump_check_consistent(struct netlink_callback *cb, in genl_dump_check_consistent() argument
238 nl_dump_check_consistent(cb, genlmsg_nlhdr(user_hdr, family)); in genl_dump_check_consistent()
Dswitchdev.h148 switchdev_obj_dump_cb_t *cb);
184 switchdev_obj_dump_cb_t *cb);
202 int switchdev_port_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb,
243 switchdev_obj_dump_cb_t *cb) in switchdev_port_obj_dump() argument
302 struct netlink_callback *cb, in switchdev_port_fdb_dump() argument
Dgarp.h39 FIELD_SIZEOF(struct sk_buff, cb)); in garp_cb()
40 return (struct garp_skb_cb *)skb->cb; in garp_cb()
Dnetlink.h235 int (*cb)(struct sk_buff *, struct nlmsghdr *));
478 struct netlink_callback *cb, in nlmsg_put_answer() argument
482 return nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nlmsg_put_answer()
628 nl_dump_check_consistent(struct netlink_callback *cb, in nl_dump_check_consistent() argument
631 if (cb->prev_seq && cb->seq != cb->prev_seq) in nl_dump_check_consistent()
633 cb->prev_seq = cb->seq; in nl_dump_check_consistent()
Dmrp.h41 FIELD_SIZEOF(struct sk_buff, cb)); in mrp_cb()
42 return (struct mrp_skb_cb *)skb->cb; in mrp_cb()
/include/linux/soc/qcom/
Dwcnss_ctrl.h6 struct qcom_smd_channel *qcom_wcnss_open_channel(void *wcnss, const char *name, qcom_smd_cb_t cb);
Dsmd.h57 qcom_smd_cb_t cb);
84 qcom_smd_cb_t cb) in qcom_smd_open_channel() argument
/include/linux/
Dntb_transport.h78 int ntb_transport_rx_enqueue(struct ntb_transport_qp *qp, void *cb, void *data,
80 int ntb_transport_tx_enqueue(struct ntb_transport_qp *qp, void *cb, void *data,
Dllc.h22 #define llc_ui_skb_cb(__skb) ((struct sockaddr_llc *)&((__skb)->cb[0]))
Damd-iommu.h134 amd_iommu_invalid_ppr_cb cb);
184 amd_iommu_invalidate_ctx cb);
Derrqueue.h11 #define SKB_EXT_ERR(skb) ((struct sock_exterr_skb *) ((skb)->cb))
Dinet_diag.h16 struct netlink_callback *cb,
42 struct netlink_callback *cb,
Dsync_file.h45 struct fence_cb cb; member
Drpmsg.h111 rpmsg_rx_cb_t cb; member
141 rpmsg_rx_cb_t cb, void *priv,
Dfence-array.h31 struct fence_cb cb; member
Dfence.h91 typedef void (*fence_func_t)(struct fence *fence, struct fence_cb *cb);
273 int fence_add_callback(struct fence *fence, struct fence_cb *cb,
275 bool fence_remove_callback(struct fence *fence, struct fence_cb *cb);
/include/scsi/
Dfc_frame.h65 #define fr_cb(fp) ((struct fcoe_rcv_info *)&((fp)->skb.cb[0]))
99 BUILD_BUG_ON(sizeof(struct fcoe_rcv_info) > sizeof(skb->cb)); in fcoe_dev_from_skb()
100 return (struct fcoe_rcv_info *) skb->cb; in fcoe_dev_from_skb()
/include/media/
Dtuner-types.h49 unsigned char cb; member
/include/net/bluetooth/
Dhci_core.h1201 struct hci_cb *cb; in hci_connect_cfm() local
1204 list_for_each_entry(cb, &hci_cb_list, list) { in hci_connect_cfm()
1205 if (cb->connect_cfm) in hci_connect_cfm()
1206 cb->connect_cfm(conn, status); in hci_connect_cfm()
1216 struct hci_cb *cb; in hci_disconn_cfm() local
1219 list_for_each_entry(cb, &hci_cb_list, list) { in hci_disconn_cfm()
1220 if (cb->disconn_cfm) in hci_disconn_cfm()
1221 cb->disconn_cfm(conn, reason); in hci_disconn_cfm()
1231 struct hci_cb *cb; in hci_auth_cfm() local
1240 list_for_each_entry(cb, &hci_cb_list, list) { in hci_auth_cfm()
[all …]
/include/net/sctp/
Dulpevent.h65 return container_of((void *)ev, struct sk_buff, cb); in sctp_event2skb()
71 return (struct sctp_ulpevent *)skb->cb; in sctp_skb2event()

1234