Home
last modified time | relevance | path

Searched refs:has_data (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c70 int has_data = 0; in pvrdma_req_notify_cq() local
82 has_data = pvrdma_idx_ring_has_data(&cq->ring_state->rx, in pvrdma_req_notify_cq()
84 if (unlikely(has_data == PVRDMA_INVALID_IDX)) in pvrdma_req_notify_cq()
90 return has_data; in pvrdma_req_notify_cq()
278 int has_data; in _pvrdma_flush_cqe() local
284 has_data = pvrdma_idx_ring_has_data(&cq->ring_state->rx, in _pvrdma_flush_cqe()
286 if (unlikely(has_data > 0)) { in _pvrdma_flush_cqe()
323 int has_data; in pvrdma_poll_one() local
329 has_data = pvrdma_idx_ring_has_data(&cq->ring_state->rx, in pvrdma_poll_one()
331 if (has_data == 0) { in pvrdma_poll_one()
[all …]
/Linux-v5.10/net/sctp/
Doutput.c64 packet->has_data = 0; in sctp_packet_reset()
324 packet->has_data = 1; in __sctp_packet_append_chunk()
605 if (packet->has_data && sctp_state(asoc, ESTABLISHED) && in sctp_packet_transmit()
790 (!packet->has_data && chunk->auth)) { in sctp_packet_will_fit()
816 if (!sctp_chunk_is_data(chunk) && packet->has_data) in sctp_packet_will_fit()
Doutqueue.c662 if (!pkt->has_data && !pkt->has_cookie_echo) { in __sctp_outq_flush_rtx()
/Linux-v5.10/drivers/usb/gadget/udc/
Dfsl_qe_udc.c220 ep->has_data = 0; in qe_eprx_normal()
773 if (ep->has_data <= 0 && (!list_empty(&ep->queue))) in ep_recycle_rxbds()
957 ep->has_data); in ep_rx_tasklet()
989 ep->has_data--; in ep_rx_tasklet()
1044 ep->has_data = USB_BDRING_LEN_RX - emptybds; in qe_ep_rx()
1049 ep->has_data); in qe_ep_rx()
1534 ep->has_data--; in ep_req_rx()
1556 if (ep->has_data <= 0) { in ep_req_receive()
2429 ep->has_data = 0; in qe_ep_config()
Dfsl_qe_udc.h282 int has_data; member
/Linux-v5.10/drivers/power/supply/
Dbq27xxx_battery.c974 bool has_data, dirty; member
1171 buf->has_data = false; in bq27xxx_battery_read_dm_block()
1196 buf->has_data = true; in bq27xxx_battery_read_dm_block()
1225 if (!buf->has_data)
/Linux-v5.10/drivers/scsi/hisi_sas/
Dhisi_sas_v3_hw.c1209 int has_data = 0, priority = !!tmf; in prep_ssp_v3_hw() local
1229 has_data = 1; in prep_ssp_v3_hw()
1233 has_data = 1; in prep_ssp_v3_hw()
1251 if (has_data) { in prep_ssp_v3_hw()
1286 if (has_data && (prot_op != SCSI_PROT_NORMAL)) { in prep_ssp_v3_hw()
1370 int has_data = 0, hdr_tag = 0; in prep_ata_v3_hw() local
1381 has_data = 1; in prep_ata_v3_hw()
1385 has_data = 1; in prep_ata_v3_hw()
1422 if (has_data) in prep_ata_v3_hw()
Dhisi_sas_v2_hw.c1746 int has_data = 0, priority = !!tmf; in prep_ssp_v2_hw() local
1764 has_data = 1; in prep_ssp_v2_hw()
1768 has_data = 1; in prep_ssp_v2_hw()
1788 if (has_data) in prep_ssp_v2_hw()
2497 int has_data = 0, hdr_tag = 0; in prep_ata_v2_hw() local
2518 has_data = 1; in prep_ata_v2_hw()
2522 has_data = 1; in prep_ata_v2_hw()
2555 if (has_data) in prep_ata_v2_hw()
Dhisi_sas_v1_hw.c962 int has_data = 0, priority = !!tmf; in prep_ssp_v1_hw() local
982 has_data = 1; in prep_ssp_v1_hw()
986 has_data = 1; in prep_ssp_v1_hw()
1011 if (has_data) in prep_ssp_v1_hw()
/Linux-v5.10/drivers/net/wireless/ti/wlcore/
Dtx.c765 bool has_data = false; in wlcore_tx_work_locked() local
773 has_data = wlvif && wl1271_tx_is_data_present(skb); in wlcore_tx_work_locked()
816 if (has_data) { in wlcore_tx_work_locked()
/Linux-v5.10/include/net/sctp/
Dstructs.h727 has_data:1, /* This packet contains at least 1 DATA chunk */ member
/Linux-v5.10/fs/ocfs2/
Dalloc.c7050 int ret, i, has_data, num_pages = 0; in ocfs2_convert_inline_data_to_extents() local
7064 has_data = i_size_read(inode) ? 1 : 0; in ocfs2_convert_inline_data_to_extents()
7066 if (has_data) { in ocfs2_convert_inline_data_to_extents()
7097 if (has_data) { in ocfs2_convert_inline_data_to_extents()
7167 if (has_data) { in ocfs2_convert_inline_data_to_extents()