Home
last modified time | relevance | path

Searched refs:cmsg (Results 1 – 5 of 5) sorted by relevance

/drivers/isdn/capi/
Dcapiutil.c231 #define TYP (cdef[cmsg->par[cmsg->p]].typ)
232 #define OFF (((u8 *)cmsg) + cdef[cmsg->par[cmsg->p]].off)
234 static void jumpcstruct(_cmsg *cmsg) in jumpcstruct() argument
237 for (cmsg->p++, layer = 1; layer;) { in jumpcstruct()
239 cmsg->p++; in jumpcstruct()
464 #define NAME (pnames[cmsg->par[cmsg->p]])
466 static _cdebbuf *protocol_message_2_pars(_cdebbuf *cdb, _cmsg *cmsg, int level) in protocol_message_2_pars() argument
468 if (!cmsg->par) in protocol_message_2_pars()
471 for (; TYP != _CEND; cmsg->p++) { in protocol_message_2_pars()
483 cdb = bufprint(cdb, "%-*s = 0x%x\n", slen, NAME, *(u8 *) (cmsg->m + cmsg->l)); in protocol_message_2_pars()
[all …]
/drivers/md/
Dmd-cluster.c504 static void process_add_new_disk(struct mddev *mddev, struct cluster_msg *cmsg) in process_add_new_disk() argument
514 sprintf(disk_uuid + len, "%pU", cmsg->uuid); in process_add_new_disk()
515 snprintf(raid_slot, 16, "RAID_DISK=%d", le32_to_cpu(cmsg->raid_slot)); in process_add_new_disk()
734 static int __sendmsg(struct md_cluster_info *cinfo, struct cluster_msg *cmsg) in __sendmsg() argument
739 cmsg->slot = cpu_to_le32(slot); in __sendmsg()
747 memcpy(cinfo->message_lockres->lksb.sb_lvbptr, (void *)cmsg, in __sendmsg()
785 static int sendmsg(struct md_cluster_info *cinfo, struct cluster_msg *cmsg, in sendmsg() argument
792 ret = __sendmsg(cinfo, cmsg); in sendmsg()
982 struct cluster_msg cmsg = {0}; in resync_bitmap() local
985 cmsg.type = cpu_to_le32(BITMAP_NEEDS_SYNC); in resync_bitmap()
[all …]
/drivers/net/ethernet/netronome/nfp/
DMakefile47 flower/cmsg.o \
59 bpf/cmsg.o \
/drivers/hsi/clients/
Dssi_protocol.c881 struct hsi_msg *cmsg; in ssip_tx_data_complete() local
892 cmsg = ssip_claim_cmd(ssi); in ssip_tx_data_complete()
893 ssip_set_cmd(cmsg, SSIP_SWBREAK_CMD); in ssip_tx_data_complete()
894 cmsg->complete = ssip_swbreak_complete; in ssip_tx_data_complete()
896 hsi_async_write(cl, cmsg); in ssip_tx_data_complete()
/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c979 struct cmsghdr *cmsg; in chtls_proccess_cmsg() local
982 for_each_cmsghdr(cmsg, msg) { in chtls_proccess_cmsg()
983 if (!CMSG_OK(msg, cmsg)) in chtls_proccess_cmsg()
985 if (cmsg->cmsg_level != SOL_TLS) in chtls_proccess_cmsg()
988 switch (cmsg->cmsg_type) { in chtls_proccess_cmsg()
990 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*record_type))) in chtls_proccess_cmsg()
996 *record_type = *(unsigned char *)CMSG_DATA(cmsg); in chtls_proccess_cmsg()