Home
last modified time | relevance | path

Searched refs:inq (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/net/af_unix/
H A Dscm_inq.c74 int inq; in recv_chunks() local
97 ret = ioctl(self->fd[1], SIOCINQ, &inq); in recv_chunks()
99 ASSERT_EQ(*(int *)CMSG_DATA(cmsg), inq); in recv_chunks()
105 int err, inq; in TEST_F() local
115 err = ioctl(self->fd[1], SIOCINQ, &inq); in TEST_F()
117 ASSERT_EQ(0, inq); in TEST_F()
/linux/tools/testing/selftests/net/
H A Dtcp_inq.c99 int c, one = 1, inq = -1; in main() local
168 inq = *((int *) CMSG_DATA(cm)); in main()
170 if (inq != BUF_SIZE - iov[0].iov_len) { in main()
171 fprintf(stderr, "unexpected inq: %d\n", inq); in main()
/linux/net/tls/
H A Dtls_strp.c514 int sz, inq; in tls_strp_read_sock() local
516 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
517 if (inq < 1) in tls_strp_read_sock()
523 if (inq < strp->stm.full_len) in tls_strp_read_sock()
526 tls_strp_load_anchor_with_queue(strp, inq); in tls_strp_read_sock()
534 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock()
/linux/drivers/scsi/device_handler/
H A Dscsi_dh_rdac.c213 } inq; member
366 struct c8_inquiry *inqp = &h->inq.c8; in get_lun_info()
392 struct c9_inquiry *inqp = &h->inq.c9; in check_ownership()
441 struct c4_inquiry *inqp = &h->inq.c4; in initialize_controller()
468 struct c2_inquiry *inqp = &h->inq.c2; in set_mode_select()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c489 unsigned int inq = 0; in process_cmsg() local
499 memcpy(&inq, CMSG_DATA(cmsg), sizeof(inq)); in process_cmsg()
515 if (inq > 1024) in process_cmsg()
516 xerror("tcp_inq %u is larger than one kbyte\n", inq); in process_cmsg()
517 tcp_inq.last = inq; in process_cmsg()
/linux/net/ipv4/
H A Dtcp.c1951 struct tcp_zerocopy_receive *zc, int inq, in receive_fallback_to_copy()
1964 err = import_ubuf(ITER_DEST, (void __user *)copy_address, inq, in receive_fallback_to_copy()
1969 err = tcp_recvmsg_locked(sk, &msg, inq, MSG_DONTWAIT, in receive_fallback_to_copy()
2021 /* skb is null if inq < PAGE_SIZE. */ in tcp_zc_handle_leftover()
2185 int inq = tcp_inq(sk); in tcp_zerocopy_receive()
2200 if (inq && inq <= copybuf_len) in tcp_zerocopy_receive()
2201 return receive_fallback_to_copy(sk, zc, inq, tss); in tcp_zerocopy_receive()
2203 if (inq < PAGE_SIZE) { in tcp_zerocopy_receive()
2205 zc->recv_skip_hint = inq; in tcp_zerocopy_receive()
1950 receive_fallback_to_copy(struct sock * sk,struct tcp_zerocopy_receive * zc,int inq,struct scm_timestamping_internal * tss) receive_fallback_to_copy() argument
2184 int inq = tcp_inq(sk); tcp_zerocopy_receive() local
2396 int inq; tcp_inq_hint() local
[all...]
H A Dtcp_input.c946 int time, inq, copied; in tcp_rcv_space_adjust() local
964 inq = tp->rcv_nxt - tp->copied_seq; in tcp_rcv_space_adjust()
965 copied -= inq; in tcp_rcv_space_adjust()
/linux/tools/include/uapi/linux/
H A Dtcp.h351 __u32 inq; /* out: amount of bytes in read queue */ member
/linux/drivers/scsi/
H A Dscsi_scan.c1144 static unsigned char *scsi_inq_str(unsigned char *buf, unsigned char *inq, in scsi_inq_str() argument
1149 for (idx = 0; idx + first < end && idx + first < inq[4] + 5; idx++) { in scsi_inq_str()
1150 if (inq[idx+first] > ' ') { in scsi_inq_str()
1151 buf[idx] = inq[idx+first]; in scsi_inq_str()
H A Dadvansys.c2132 #define ASC_DBG_PRT_INQUIRY(lvl, inq, len) argument
2190 #define ASC_DBG_PRT_INQUIRY(lvl, inq, len) \ argument
2191 ASC_DBG_PRT_HEX((lvl), "INQUIRY", (uchar *) (inq), (len));
/linux/include/trace/events/
H A Dtcp.h217 __field(__u32, inq)
244 __entry->inq = tp->rcv_nxt - tp->copied_seq;
277 __entry->inq, __entry->space, __entry->ooo_space,
/linux/drivers/scsi/aacraid/
H A Daachba.c556 struct inquiry_data inq; in get_container_name_callback() local
564 scsi_sg_copy_to_buffer(scsicmd, &inq, sizeof(inq)); in get_container_name_callback()
565 memcpy(inq.inqd_pid, d, sizeof(d)); in get_container_name_callback()
566 scsi_sg_copy_from_buffer(scsicmd, &inq, sizeof(inq)); in get_container_name_callback()
/linux/net/mptcp/
H A Dprotocol.c2342 unsigned int inq = mptcp_inq_hint(sk); in mptcp_recvmsg()
2344 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, sizeof(inq), &inq); in mptcp_recvmsg()
2339 unsigned int inq = mptcp_inq_hint(sk); mptcp_recvmsg() local