Home
last modified time | relevance | path

Searched refs:cda (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.12.1/net/netfilter/
Dnf_conntrack_netlink.c922 static int ctnetlink_parse_tuple_filter(const struct nlattr * const cda[],
929 const struct nlattr * const cda[]) in ctnetlink_filter_parse_mark() argument
932 if (cda[CTA_MARK]) { in ctnetlink_filter_parse_mark()
933 mark->val = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_filter_parse_mark()
935 if (cda[CTA_MARK_MASK]) in ctnetlink_filter_parse_mark()
936 mark->mask = ntohl(nla_get_be32(cda[CTA_MARK_MASK])); in ctnetlink_filter_parse_mark()
939 } else if (cda[CTA_MARK_MASK]) { in ctnetlink_filter_parse_mark()
947 const struct nlattr * const cda[]) in ctnetlink_filter_parse_status() argument
949 if (cda[CTA_STATUS]) { in ctnetlink_filter_parse_status()
950 status->val = ntohl(nla_get_be32(cda[CTA_STATUS])); in ctnetlink_filter_parse_status()
[all …]
Dnfnetlink_cttimeout.c100 const struct nlattr * const cda[]) in cttimeout_new_timeout() argument
110 if (!cda[CTA_TIMEOUT_NAME] || in cttimeout_new_timeout()
111 !cda[CTA_TIMEOUT_L3PROTO] || in cttimeout_new_timeout()
112 !cda[CTA_TIMEOUT_L4PROTO] || in cttimeout_new_timeout()
113 !cda[CTA_TIMEOUT_DATA]) in cttimeout_new_timeout()
116 name = nla_data(cda[CTA_TIMEOUT_NAME]); in cttimeout_new_timeout()
117 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); in cttimeout_new_timeout()
118 l4num = nla_get_u8(cda[CTA_TIMEOUT_L4PROTO]); in cttimeout_new_timeout()
143 cda[CTA_TIMEOUT_DATA]); in cttimeout_new_timeout()
165 info->net, cda[CTA_TIMEOUT_DATA]); in cttimeout_new_timeout()
[all …]
Dnfnetlink.c257 struct nlattr *cda[NFNL_MAX_ATTR_COUNT + 1]; in nfnetlink_rcv_msg() local
275 err = nla_parse_deprecated(cda, ss->cb[cb_id].attr_count, in nfnetlink_rcv_msg()
290 err = nc->call(skb, &info, (const struct nlattr **)cda); in nfnetlink_rcv_msg()
302 err = nc->call(skb, &info, (const struct nlattr **)cda); in nfnetlink_rcv_msg()
499 struct nlattr *cda[NFNL_MAX_ATTR_COUNT + 1]; in nfnetlink_rcv_batch() local
517 err = nla_parse_deprecated(cda, in nfnetlink_rcv_batch()
524 err = nc->call(skb, &info, (const struct nlattr **)cda); in nfnetlink_rcv_batch()
616 struct nlattr *cda[NFNL_BATCH_MAX + 1]; in nfnetlink_rcv_skb_batch() local
630 err = nla_parse_deprecated(cda, NFNL_BATCH_MAX, attr, attrlen, in nfnetlink_rcv_skb_batch()
636 if (cda[NFNL_BATCH_GENID]) in nfnetlink_rcv_skb_batch()
[all …]
Dnf_conntrack_proto_dccp.c685 static int nlattr_to_dccp(struct nlattr *cda[], struct nf_conn *ct) in nlattr_to_dccp() argument
687 struct nlattr *attr = cda[CTA_PROTOINFO_DCCP]; in nlattr_to_dccp()
/linux-6.12.1/drivers/s390/char/
Dtape.h303 tape_ccw_cc(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_cc() argument
308 ccw->cda = 0; in tape_ccw_cc()
309 if (cda) in tape_ccw_cc()
310 ccw->cda = virt_to_dma32(cda); in tape_ccw_cc()
315 tape_ccw_end(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_end() argument
320 ccw->cda = 0; in tape_ccw_end()
321 if (cda) in tape_ccw_end()
322 ccw->cda = virt_to_dma32(cda); in tape_ccw_end()
332 ccw->cda = virt_to_dma32(&ccw->cmd_code); in tape_ccw_cmd()
343 ccw->cda = virt_to_dma32(&ccw->cmd_code); in tape_ccw_repeat()
Draw3270.c166 rq->ccw.cda = virt_to_dma32(rq->buffer); in raw3270_request_alloc()
193 rq->ccw.cda = virt_to_dma32(rq->buffer); in raw3270_request_reset()
228 rq->ccw.cda = virt_to_dma32(data); in raw3270_request_set_data()
238 rq->ccw.cda = virt_to_dma32(ib->data); in raw3270_request_set_idal()
584 rp->init_readmod.ccw.cda = virt_to_dma32(rp->init_data); in raw3270_read_modified()
604 rp->init_readpart.ccw.cda = virt_to_dma32(&rp->init_data); in raw3270_writesf_readpart()
642 rp->init_reset.ccw.cda = virt_to_dma32(rp->init_data); in __raw3270_reset_device()
Dvmur.c199 while (ptr->cda) { in free_chan_prog()
200 kfree(dma32_to_virt(ptr->cda)); in free_chan_prog()
242 cpa[i].cda = virt_to_dma32(kbuf); in alloc_chan_prog()
Dcon3215.c162 ccw->cda = virt_to_dma32(raw->inbuf); in raw3215_mk_read_req()
221 ccw->cda = virt_to_dma32(raw->buffer + ix); in raw3215_mk_write_req()
239 ccw->cda = 0; in raw3215_mk_write_req()
/linux-6.12.1/drivers/s390/cio/
Dvfio_ccw_cp.c230 pccw1->cda = u32_to_dma32(ccw0.cda); in convert_ccw0_to_ccw1()
315 return is_cpa_within_range(ccw->cda, head, len); in is_tic_within_range()
360 kfree(dma32_to_virt(ccw->cda)); in ccwchain_cda_free()
411 if (is_cpa_within_range(tic->cda, ccw_head, chain->ch_len)) in tic_target_chain_exists()
421 static int ccwchain_handle_ccw(dma32_t cda, struct channel_program *cp) in ccwchain_handle_ccw() argument
429 gcda = dma32_to_u32(cda); in ccwchain_handle_ccw()
481 ret = ccwchain_handle_ccw(tic->cda, cp); in ccwchain_loop_tic()
497 if (is_cpa_within_range(ccw->cda, ccw_head, iter->ch_len)) { in ccwchain_fetch_tic()
499 offset = dma32_to_u32(ccw->cda) - ccw_head; in ccwchain_fetch_tic()
500 ccw->cda = virt_to_dma32((void *)iter->ch_ccw + offset); in ccwchain_fetch_tic()
[all …]
Ddevice_pgid.c64 cp->cda = 0; in nop_build_cp()
144 cp->cda = virt_to_dma32(pgid); in spid_build_cp()
445 cp->cda = virt_to_dma32(&cdev->private->dma_area->pgid[i]); in snid_build_cp()
635 cp[0].cda = virt_to_dma32(buf1); in stlck_build_cp()
639 cp[1].cda = virt_to_dma32(buf2); in stlck_build_cp()
Ddevice_id.c213 cp->cda = virt_to_dma32(&cdev->private->dma_area->senseid); in ccw_device_sense_id_start()
/linux-6.12.1/drivers/s390/block/
Ddasd_fba.c82 ccw->cda = virt_to_dma32(data); in define_extent()
102 ccw->cda = virt_to_dma32(data); in locate_record()
261 ccw->cda = virt_to_dma32(dasd_fba_zero_page); in ccw_write_zero()
527 ccw->cda = virt_to_dma32(idaws); in dasd_fba_build_cp_regular()
531 ccw->cda = virt_to_dma32(dst); in dasd_fba_build_cp_regular()
569 char *dst, *cda; in dasd_fba_free_cp() local
589 cda = dma64_to_virt(*((dma64_t *)dma32_to_virt(ccw->cda))); in dasd_fba_free_cp()
591 cda = dma32_to_virt(ccw->cda); in dasd_fba_free_cp()
592 if (dst != cda) { in dasd_fba_free_cp()
594 memcpy(dst, cda, bv.bv_len); in dasd_fba_free_cp()
[all …]
Ddasd_eckd.c287 ccw->cda = virt_to_dma32(data); in define_extent()
397 ccw->cda = virt_to_dma32(data); in locate_record_ext()
543 ccw->cda = virt_to_dma32(pfxdata); in prefix_LRE()
547 ccw->cda = virt_to_dma32(pfxdata); in prefix_LRE()
614 ccw->cda = virt_to_dma32(data); in locate_record()
829 ccw->cda = virt_to_dma32(rcd_buffer); in dasd_eckd_fill_rcd_cqr()
857 rcd_buffer = dma32_to_virt(ccw->cda); in read_conf_cb()
1538 ccw->cda = virt_to_dma32(prssdp); in dasd_eckd_read_features()
1547 ccw->cda = virt_to_dma32(features); in dasd_eckd_read_features()
1607 ccw->cda = virt_to_dma32(prssdp); in dasd_eckd_read_vol_info()
[all …]
Ddasd_3990_erp.c219 ccw->cda = virt_to_dma32(DCTL_data); in dasd_3990_erp_DCTL()
1690 ccw->cda = virt_to_dma32(DE_data); in dasd_3990_erp_action_1B_32()
1698 ccw->cda = virt_to_dma32(LO_data); in dasd_3990_erp_action_1B_32()
1703 ccw->cda = cpa; in dasd_3990_erp_action_1B_32()
1828 ccw->cda = cpa; in dasd_3990_update_1B()
2394 ccw->cda = virt_to_dma32(cqr->cpaddr); in dasd_3990_erp_add_erp()
Ddasd_alias.c438 ccw->cda = virt_to_dma32(prssdp); in read_unit_address_configuration()
446 ccw->cda = virt_to_dma32(lcu->uac); in read_unit_address_configuration()
742 ccw->cda = virt_to_dma32(cqr->data); in reset_summary_unit_check()
/linux-6.12.1/arch/s390/include/asm/
Didals.h104 ccw->cda = virt_to_dma32(vaddr); in set_normalized_cda()
114 kfree(dma32_to_virt(ccw->cda)); in clear_normalized_cda()
117 ccw->cda = 0; in clear_normalized_cda()
202 ccw->cda = virt_to_dma32(ib->data); in idal_buffer_set_cda()
211 ccw->cda = virt_to_dma32(vaddr); in idal_buffer_set_cda()
Dcio.h36 dma32_t cda; member
51 __u32 cda : 24; member
/linux-6.12.1/drivers/net/ethernet/natsemi/
Dsonic.h304 void *cda; /* CAM descriptor area */ member
382 sonic_buf_put(lp->cda, lp->dma_bitmode, in sonic_cda_put()
390 return sonic_buf_get(lp->cda, lp->dma_bitmode, in sonic_cda_get()
397 sonic_buf_put(lp->cda, lp->dma_bitmode, SONIC_CDA_CAM_ENABLE, val); in sonic_set_cam_enable()
403 return sonic_buf_get(lp->cda, lp->dma_bitmode, SONIC_CDA_CAM_ENABLE); in sonic_get_cam_enable()
/linux-6.12.1/drivers/s390/virtio/
Dvirtio_ccw.c395 &ccw->cda); in virtio_ccw_drop_indicator()
407 &ccw->cda); in virtio_ccw_drop_indicator()
466 ccw->cda = config_block_dma(vcdev); in virtio_ccw_read_vq_conf()
503 ccw->cda = info->info_block_addr; in virtio_ccw_del_vq()
612 ccw->cda = info->info_block_addr; in virtio_ccw_setup_vq()
651 &ccw->cda); in virtio_ccw_register_adapter_ind()
738 ccw->cda = indicatorp_dma; in virtio_ccw_find_vqs()
789 ccw->cda = 0; in virtio_ccw_reset()
807 &ccw->cda); in virtio_ccw_get_features()
869 &ccw->cda); in virtio_ccw_finalize_features()
[all …]
/linux-6.12.1/drivers/net/wan/
Dhd64570.c302 u32 cda = sca_inw(dmac + CDAL, card); in sca_rx_intr() local
304 if (cda >= desc_off && (cda < desc_off + sizeof(pkt_desc))) in sca_rx_intr()
355 u32 cda = sca_inw(dmac + CDAL, card); in sca_tx_intr() local
357 if (cda >= desc_off && (cda < desc_off + sizeof(pkt_desc))) in sca_tx_intr()
Dhd64572.c242 u32 cda = sca_inl(dmac + CDAL, card); in sca_rx_done() local
244 if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc))) in sca_rx_done()
/linux-6.12.1/drivers/s390/net/
Dctcm_mpc.c1697 ch->ccw[8].cda = 0x00; in mpc_action_side_xid()
1711 ch->ccw[9].cda = virt_to_dma32(ch->xid_th); in mpc_action_side_xid()
1718 ch->ccw[10].cda = virt_to_dma32(ch->xid); in mpc_action_side_xid()
1723 ch->ccw[11].cda = virt_to_dma32(ch->rcvd_xid_th); in mpc_action_side_xid()
1728 ch->ccw[12].cda = virt_to_dma32(ch->rcvd_xid); in mpc_action_side_xid()
1731 ch->ccw[13].cda = virt_to_dma32(ch->rcvd_xid_id); in mpc_action_side_xid()
1737 ch->ccw[9].cda = virt_to_dma32(ch->rcvd_xid_th); in mpc_action_side_xid()
1742 ch->ccw[10].cda = virt_to_dma32(ch->rcvd_xid); in mpc_action_side_xid()
1749 ch->ccw[11].cda = virt_to_dma32(ch->xid_th); in mpc_action_side_xid()
1756 ch->ccw[12].cda = virt_to_dma32(ch->xid); in mpc_action_side_xid()
[all …]
/linux-6.12.1/arch/s390/boot/
Dipl_data.c10 { .cmd_code = cmd, .cda = addr, .count = cnt, .flags = flg, }
/linux-6.12.1/include/linux/netfilter/
Dnfnetlink.h27 const struct nlattr * const cda[]);
/linux-6.12.1/net/netfilter/ipset/
Dip_set_core.c1513 struct nlattr *cda[IPSET_ATTR_CMD_MAX + 1]; in ip_set_dump_start() local
1520 ret = nla_parse(cda, IPSET_ATTR_CMD_MAX, attr, in ip_set_dump_start()
1526 cb->args[IPSET_CB_PROTO] = nla_get_u8(cda[IPSET_ATTR_PROTOCOL]); in ip_set_dump_start()
1527 if (cda[IPSET_ATTR_SETNAME]) { in ip_set_dump_start()
1531 set = find_set_and_id(inst, nla_data(cda[IPSET_ATTR_SETNAME]), in ip_set_dump_start()
1543 if (cda[IPSET_ATTR_FLAGS]) { in ip_set_dump_start()
1544 u32 f = ip_set_get_h32(cda[IPSET_ATTR_FLAGS]); in ip_set_dump_start()
1764 struct nlattr *cda[IPSET_ATTR_CMD_MAX + 1]; in call_ad() local
1780 ret = nla_parse(cda, IPSET_ATTR_CMD_MAX, cmdattr, in call_ad()
1788 errline = nla_data(cda[IPSET_ATTR_LINENO]); in call_ad()

12