Home
last modified time | relevance | path

Searched refs:inq (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/net/tls/
H A Dtls_strp.c501 int sz, inq; in tls_strp_read_sock() local
503 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
504 if (inq < 1) in tls_strp_read_sock()
510 if (inq < strp->stm.full_len) in tls_strp_read_sock()
514 tls_strp_load_anchor_with_queue(strp, inq); in tls_strp_read_sock()
524 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c473 unsigned int inq = 0; in process_cmsg() local
483 memcpy(&inq, CMSG_DATA(cmsg), sizeof(inq)); in process_cmsg()
499 if (inq > 1024) in process_cmsg()
500 xerror("tcp_inq %u is larger than one kbyte\n", inq); in process_cmsg()
501 tcp_inq.last = inq; in process_cmsg()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp.c1863 /* skb is null if inq < PAGE_SIZE. */ in tcp_zerocopy_handle_leftover_data()
1919 int inq = tcp_inq(sk); in tcp_zerocopy_receive() local
1940 avail_len = min_t(u32, vma_len, inq); in tcp_zerocopy_receive()
2119 int inq; in tcp_inq_hint() local
2121 inq = rcv_nxt - copied_seq; in tcp_inq_hint()
2122 if (unlikely(inq < 0 || copied_seq != READ_ONCE(tp->copied_seq))) { in tcp_inq_hint()
2124 inq = tp->rcv_nxt - tp->copied_seq; in tcp_inq_hint()
2128 * by returning a non-zero inq. in tcp_inq_hint()
2130 if (inq == 0 && sock_flag(sk, SOCK_DONE)) in tcp_inq_hint()
2131 inq in tcp_inq_hint()
2151 int err, inq; tcp_recvmsg() local
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp.c1858 struct tcp_zerocopy_receive *zc, int inq, in receive_fallback_to_copy()
1873 inq, &iov, &msg.msg_iter); in receive_fallback_to_copy()
1877 err = tcp_recvmsg_locked(sk, &msg, inq, MSG_DONTWAIT, in receive_fallback_to_copy()
1930 /* skb is null if inq < PAGE_SIZE. */ in tcp_zc_handle_leftover()
2094 int inq = tcp_inq(sk); in tcp_zerocopy_receive() local
2109 if (inq && inq <= copybuf_len) in tcp_zerocopy_receive()
2110 return receive_fallback_to_copy(sk, zc, inq, tss); in tcp_zerocopy_receive()
2112 if (inq < PAGE_SIZE) { in tcp_zerocopy_receive()
2114 zc->recv_skip_hint = inq; in tcp_zerocopy_receive()
1857 receive_fallback_to_copy(struct sock *sk, struct tcp_zerocopy_receive *zc, int inq, struct scm_timestamping_internal *tss) receive_fallback_to_copy() argument
2295 int inq; tcp_inq_hint() local
[all...]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dio.h64 #define inq(c) ({ u64 __v; __io_pbr(); __v = readq_cpu((void*)(c)); __io_par(__v); __v; }) macro
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dtcp.h351 __u32 inq; /* out: amount of bytes in read queue */ member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dtcp.h366 __u32 inq; /* out: amount of bytes in read queue */ member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dtcp.h358 __u32 inq; /* out: amount of bytes in read queue */ member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dtcp.h246 __u32 inq; member
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dtcp.h351 __u32 inq; /* out: amount of bytes in read queue */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dtcp.h246 __u32 inq; member
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_scan.c1000 * @inq: Inquiry buffer (input)
1001 * @first: Offset of string into inq
1002 * @end: Index after last character in inq
1004 static unsigned char *scsi_inq_str(unsigned char *buf, unsigned char *inq, in scsi_inq_str() argument
1009 for (idx = 0; idx + first < end && idx + first < inq[4] + 5; idx++) { in scsi_inq_str()
1010 if (inq[idx+first] > ' ') { in scsi_inq_str()
1011 buf[idx] = inq[idx+first]; in scsi_inq_str()
H A Dgdth.c1874 gdth_inq_data inq; in gdth_internal_cache_cmd() local
1897 inq.type_qual = (ha->hdr[t].devtype&4) ? TYPE_ROM:TYPE_DISK; in gdth_internal_cache_cmd()
1900 inq.modif_rmb = 0x00; in gdth_internal_cache_cmd()
1903 inq.modif_rmb = 0x80; in gdth_internal_cache_cmd()
1904 inq.version = 2; in gdth_internal_cache_cmd()
1905 inq.resp_aenc = 2; in gdth_internal_cache_cmd()
1906 inq.add_length= 32; in gdth_internal_cache_cmd()
1907 strcpy(inq.vendor,ha->oem_name); in gdth_internal_cache_cmd()
1908 snprintf(inq.product, sizeof(inq in gdth_internal_cache_cmd()
[all...]
H A Dmyrb.c1343 unsigned char inq[36] = { in myrb_inquiry() local
1352 inq[7] |= 1 << 6; in myrb_inquiry()
1354 inq[7] |= 1 << 5; in myrb_inquiry()
1355 memcpy(&inq[16], cb->model_name, 16); in myrb_inquiry()
1356 memcpy(&inq[32], cb->fw_version, 1); in myrb_inquiry()
1357 memcpy(&inq[33], &cb->fw_version[2], 2); in myrb_inquiry()
1358 memcpy(&inq[35], &cb->fw_version[7], 1); in myrb_inquiry()
1360 scsi_sg_copy_from_buffer(scmd, (void *)inq, 36); in myrb_inquiry()
H A Dmegaraid.c224 mraid_inquiry *inq; in mega_query_adapter() local
233 inq = &ext_inq->raid_inq; in mega_query_adapter()
246 mega_8_to_40ld(inq, inquiry3, in mega_query_adapter()
2363 seq_puts(m, "memory not available for scsi inq.\n"); in proc_show_pdrv()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_scan.c1111 * @inq: Inquiry buffer (input)
1112 * @first: Offset of string into inq
1113 * @end: Index after last character in inq
1115 static unsigned char *scsi_inq_str(unsigned char *buf, unsigned char *inq, in scsi_inq_str() argument
1120 for (idx = 0; idx + first < end && idx + first < inq[4] + 5; idx++) { in scsi_inq_str()
1121 if (inq[idx+first] > ' ') { in scsi_inq_str()
1122 buf[idx] = inq[idx+first]; in scsi_inq_str()
H A Dmyrb.c1342 unsigned char inq[36] = { in myrb_inquiry() local
1351 inq[7] |= 1 << 6; in myrb_inquiry()
1353 inq[7] |= 1 << 5; in myrb_inquiry()
1354 memcpy(&inq[16], cb->model_name, 16); in myrb_inquiry()
1355 memcpy(&inq[32], cb->fw_version, 1); in myrb_inquiry()
1356 memcpy(&inq[33], &cb->fw_version[2], 2); in myrb_inquiry()
1357 memcpy(&inq[35], &cb->fw_version[7], 1); in myrb_inquiry()
1359 scsi_sg_copy_from_buffer(scmd, (void *)inq, 36); in myrb_inquiry()
/kernel/linux/linux-6.6/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()
916 str = (struct scsi_inq *)(data); /* cast data to scsi inq block */ in setinqstr()
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
H A Daachba.c545 struct inquiry_data inq; in get_container_name_callback() local
553 scsi_sg_copy_to_buffer(scsicmd, &inq, sizeof(inq)); in get_container_name_callback()
554 memcpy(inq.inqd_pid, d, sizeof(d)); in get_container_name_callback()
555 scsi_sg_copy_from_buffer(scsicmd, &inq, sizeof(inq)); in get_container_name_callback()
902 str = (struct scsi_inq *)(data); /* cast data to scsi inq block */ in setinqstr()
/kernel/linux/linux-5.10/drivers/tty/
H A Dmoxa.c125 int inq; member
321 tmp.inq = MoxaPortRxQueue(p); in moxa_ioctl()
/kernel/linux/linux-6.6/drivers/tty/
H A Dmoxa.c425 int inq; member
621 tmp.inq = MoxaPortRxQueue(p); in moxa_ioctl()

Completed in 63 milliseconds

12