Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/af_unix/
H A Dscm_inq.c16 int inq; member
78 int inq; in recv_chunks() local
83 msg.msg_controllen = CMSG_SPACE(sizeof(cmsg.inq)); in recv_chunks()
95 ASSERT_EQ(CMSG_LEN(sizeof(cmsg.inq)), cmsg.cmsghdr.cmsg_len); in recv_chunks()
99 ret = ioctl(self->fd[1], SIOCINQ, &inq); in recv_chunks()
101 ASSERT_EQ(cmsg.inq, inq); in recv_chunks()
107 int err, inq; in TEST_F() local
117 err = ioctl(self->fd[1], SIOCINQ, &inq); in TEST_F()
119 ASSERT_EQ(0, inq); in TEST_F()
[all...]
/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.c508 int sz, inq; in tls_strp_read_sock() local
510 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
511 if (inq < 1) in tls_strp_read_sock()
517 if (inq < strp->stm.full_len) in tls_strp_read_sock()
520 tls_strp_load_anchor_with_queue(strp, inq); in tls_strp_read_sock()
530 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.c488 unsigned int inq = 0; in process_cmsg() local
498 memcpy(&inq, CMSG_DATA(cmsg), sizeof(inq)); in process_cmsg()
514 if (inq > 1024) in process_cmsg()
515 xerror("tcp_inq %u is larger than one kbyte\n", inq); in process_cmsg()
516 tcp_inq.last = inq; in process_cmsg()
/linux/net/ipv4/
H A Dtcp.c1927 struct tcp_zerocopy_receive *zc, int inq, in receive_fallback_to_copy() argument
1940 err = import_ubuf(ITER_DEST, (void __user *)copy_address, inq, in receive_fallback_to_copy()
1945 err = tcp_recvmsg_locked(sk, &msg, inq, MSG_DONTWAIT, in receive_fallback_to_copy()
1997 /* skb is null if inq < PAGE_SIZE. */ in tcp_zc_handle_leftover()
2161 int inq = tcp_inq(sk); in tcp_zerocopy_receive() local
2176 if (inq && inq <= copybuf_len) in tcp_zerocopy_receive()
2177 return receive_fallback_to_copy(sk, zc, inq, tss); in tcp_zerocopy_receive()
2179 if (inq < PAGE_SIZE) { in tcp_zerocopy_receive()
2181 zc->recv_skip_hint = inq; in tcp_zerocopy_receive()
2373 int inq; tcp_inq_hint() local
[all...]
H A Dtcp_input.c780 int time, inq, copied; in tcp_rcv_space_adjust() local
792 inq = tp->rcv_nxt - tp->copied_seq; in tcp_rcv_space_adjust()
793 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.c1133 * @inq: Inquiry buffer (input)
1134 * @first: Offset of string into inq
1135 * @end: Index after last character in inq
1137 static unsigned char *scsi_inq_str(unsigned char *buf, unsigned char *inq, in scsi_inq_str() argument
1142 for (idx = 0; idx + first < end && idx + first < inq[4] + 5; idx++) { in scsi_inq_str()
1143 if (inq[idx+first] > ' ') { in scsi_inq_str()
1144 buf[idx] = inq[idx+first]; in scsi_inq_str()
H A Dmyrb.c1341 unsigned char inq[36] = { in myrb_inquiry() local
1350 inq[7] |= 1 << 6; in myrb_inquiry()
1352 inq[7] |= 1 << 5; in myrb_inquiry()
1353 memcpy(&inq[16], cb->model_name, 16); in myrb_inquiry()
1354 memcpy(&inq[32], cb->fw_version, 1); in myrb_inquiry()
1355 memcpy(&inq[33], &cb->fw_version[2], 2); in myrb_inquiry()
1356 memcpy(&inq[35], &cb->fw_version[7], 1); in myrb_inquiry()
1358 scsi_sg_copy_from_buffer(scmd, (void *)inq, 36); in myrb_inquiry()
H A Dmegaraid.c226 mraid_inquiry *inq; in mega_query_adapter() local
235 inq = &ext_inq->raid_inq; in mega_query_adapter()
248 mega_8_to_40ld(inq, inquiry3, in mega_query_adapter()
2344 seq_puts(m, "memory not available for scsi inq.\n"); in proc_show_pdrv()
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/uapi/linux/
H A Dtcp.h485 __u32 inq; /* out: amount of bytes in read queue */ member
/linux/net/mptcp/
H A Dprotocol.c2218 unsigned int inq = mptcp_inq_hint(sk); in mptcp_recvmsg() local
2220 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, sizeof(inq), &inq); in mptcp_recvmsg()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcore.h2129 u32 inq: 1; member