/third_party/backends/sanei/ |
H A D | sanei_lm983x.c | 93 SANE_Word bytes, max_len; in sanei_lm983x_write() local 106 max_len = _MIN( len, _MAX_TRANSFER_SIZE ); in sanei_lm983x_write() 116 command_buffer[2] = (max_len >> 8) & 0xff; /* bytes to write MSB */ in sanei_lm983x_write() 117 command_buffer[3] = max_len & 0xff; /* bytes to write LSB */ in sanei_lm983x_write() 119 memcpy( command_buffer + _CMD_BYTE_CNT, buffer + bytes, max_len ); in sanei_lm983x_write() 121 size = (max_len + _CMD_BYTE_CNT); in sanei_lm983x_write() 127 if( size != (size_t)(max_len + _CMD_BYTE_CNT)) { in sanei_lm983x_write() 129 result, max_len + _CMD_BYTE_CNT); in sanei_lm983x_write() 151 SANE_Word bytes, max_len, read_bytes; in sanei_lm983x_read() local 163 max_len in sanei_lm983x_read() [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/tui/ |
H A D | util.c | 79 int max_len = 60, nr_lines = 0; in ui_browser__input_window() local 90 if (max_len < len) in ui_browser__input_window() 91 max_len = len; in ui_browser__input_window() 100 max_len += 2; in ui_browser__input_window() 103 x = SLtt_Screen_Cols / 2 - max_len / 2; in ui_browser__input_window() 106 SLsmg_draw_box(y, x++, nr_lines, max_len); in ui_browser__input_window() 113 max_len -= 2; in ui_browser__input_window() 115 nr_lines, max_len, 1); in ui_browser__input_window() 120 SLsmg_write_nstring((char *)" ", max_len); in ui_browser__input_window() 122 SLsmg_draw_box(y++, x + 1, 3, max_len in ui_browser__input_window() 170 int max_len = 0, nr_lines = 0; __ui__info_window() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ui/tui/ |
H A D | util.c | 79 int max_len = 60, nr_lines = 0; in ui_browser__input_window() local 90 if (max_len < len) in ui_browser__input_window() 91 max_len = len; in ui_browser__input_window() 100 max_len += 2; in ui_browser__input_window() 103 x = SLtt_Screen_Cols / 2 - max_len / 2; in ui_browser__input_window() 106 SLsmg_draw_box(y, x++, nr_lines, max_len); in ui_browser__input_window() 113 max_len -= 2; in ui_browser__input_window() 115 nr_lines, max_len, 1); in ui_browser__input_window() 120 SLsmg_write_nstring(" ", max_len); in ui_browser__input_window() 122 SLsmg_draw_box(y++, x + 1, 3, max_len in ui_browser__input_window() 170 int max_len = 0, nr_lines = 0; __ui__info_window() local [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | lznt.c | 32 size_t max_len; member 39 size_t max_len) in get_match_len() 43 while (ptr + len < end && ptr[len] == prev[len] && ++len < max_len) in get_match_len() 63 if (ctx->max_len > 3) in longest_match_std() 65 hash[0] + 3, ctx->max_len - 3); in longest_match_std() 71 if (ctx->max_len > 3) in longest_match_std() 73 hash[1] + 3, ctx->max_len - 3); in longest_match_std() 91 size_t max_len; in longest_match_best() local 94 if (ctx->unc >= src || !ctx->max_len) in longest_match_best() 97 max_len in longest_match_best() 38 get_match_len(const u8 *ptr, const u8 *end, const u8 *prev, size_t max_len) get_match_len() argument 164 size_t max_len; compress_chunk() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/google/ |
H A D | vpd_decode.c | 12 static int vpd_decode_len(const u32 max_len, const u8 *in, in vpd_decode_len() argument 23 if (i >= max_len) in vpd_decode_len() 36 static int vpd_decode_entry(const u32 max_len, const u8 *input_buf, in vpd_decode_entry() argument 42 if (vpd_decode_len(max_len - consumed, &input_buf[consumed], in vpd_decode_entry() 45 if (max_len - consumed < decoded_len) in vpd_decode_entry() 52 if (max_len - consumed < *entry_len) in vpd_decode_entry() 60 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed, in vpd_decode_string() argument 70 if (*consumed >= max_len) in vpd_decode_string() 80 if (vpd_decode_entry(max_len, input_buf, consumed, &key, in vpd_decode_string() 84 if (vpd_decode_entry(max_len, input_bu in vpd_decode_string() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/google/ |
H A D | vpd_decode.c | 12 static int vpd_decode_len(const u32 max_len, const u8 *in, in vpd_decode_len() argument 23 if (i >= max_len) in vpd_decode_len() 36 static int vpd_decode_entry(const u32 max_len, const u8 *input_buf, in vpd_decode_entry() argument 42 if (vpd_decode_len(max_len - consumed, &input_buf[consumed], in vpd_decode_entry() 45 if (max_len - consumed < decoded_len) in vpd_decode_entry() 52 if (max_len - consumed < *entry_len) in vpd_decode_entry() 60 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed, in vpd_decode_string() argument 70 if (*consumed >= max_len) in vpd_decode_string() 80 if (vpd_decode_entry(max_len, input_buf, consumed, &key, in vpd_decode_string() 84 if (vpd_decode_entry(max_len, input_bu in vpd_decode_string() [all...] |
/third_party/node/deps/openssl/openssl/crypto/rand/ |
H A D | rand_pool.c | 23 size_t min_len, size_t max_len) in ossl_rand_pool_new() 34 pool->max_len = (max_len > RAND_POOL_MAX_LENGTH) ? in ossl_rand_pool_new() 35 RAND_POOL_MAX_LENGTH : max_len; in ossl_rand_pool_new() 37 if (pool->alloc_len > pool->max_len) in ossl_rand_pool_new() 38 pool->alloc_len = pool->max_len; in ossl_rand_pool_new() 85 pool->min_len = pool->max_len = pool->alloc_len = pool->len; in ossl_rand_pool_attach() 209 const size_t limit = pool->max_len / 2; in rand_pool_grow() 212 if (pool->attached || len > pool->max_len - pool->len) { in rand_pool_grow() 218 newlen = newlen < limit ? newlen * 2 : pool->max_len; in rand_pool_grow() 22 ossl_rand_pool_new(int entropy_requested, int secure, size_t min_len, size_t max_len) ossl_rand_pool_new() argument [all...] |
H A D | prov_seed.c | 17 size_t min_len, size_t max_len) in ossl_rand_get_entropy() 23 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len); in ossl_rand_get_entropy() 48 unsigned char **pout, size_t min_len, size_t max_len, in ossl_rand_get_nonce() 54 pool = ossl_rand_pool_new(0, 0, min_len, max_len); in ossl_rand_get_nonce() 15 ossl_rand_get_entropy(ossl_unused const OSSL_CORE_HANDLE *handle, unsigned char **pout, int entropy, size_t min_len, size_t max_len) ossl_rand_get_entropy() argument 47 ossl_rand_get_nonce(ossl_unused const OSSL_CORE_HANDLE *handle, unsigned char **pout, size_t min_len, size_t max_len, const void *salt, size_t salt_len) ossl_rand_get_nonce() argument
|
/third_party/openssl/crypto/rand/ |
H A D | rand_pool.c | 23 size_t min_len, size_t max_len) in ossl_rand_pool_new() 34 pool->max_len = (max_len > RAND_POOL_MAX_LENGTH) ? in ossl_rand_pool_new() 35 RAND_POOL_MAX_LENGTH : max_len; in ossl_rand_pool_new() 37 if (pool->alloc_len > pool->max_len) in ossl_rand_pool_new() 38 pool->alloc_len = pool->max_len; in ossl_rand_pool_new() 85 pool->min_len = pool->max_len = pool->alloc_len = pool->len; in ossl_rand_pool_attach() 209 const size_t limit = pool->max_len / 2; in rand_pool_grow() 212 if (pool->attached || len > pool->max_len - pool->len) { in rand_pool_grow() 218 newlen = newlen < limit ? newlen * 2 : pool->max_len; in rand_pool_grow() 22 ossl_rand_pool_new(int entropy_requested, int secure, size_t min_len, size_t max_len) ossl_rand_pool_new() argument [all...] |
H A D | prov_seed.c | 17 size_t min_len, size_t max_len) in ossl_rand_get_entropy() 23 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len); in ossl_rand_get_entropy() 48 unsigned char **pout, size_t min_len, size_t max_len, in ossl_rand_get_nonce() 54 pool = ossl_rand_pool_new(0, 0, min_len, max_len); in ossl_rand_get_nonce() 15 ossl_rand_get_entropy(ossl_unused const OSSL_CORE_HANDLE *handle, unsigned char **pout, int entropy, size_t min_len, size_t max_len) ossl_rand_get_entropy() argument 47 ossl_rand_get_nonce(ossl_unused const OSSL_CORE_HANDLE *handle, unsigned char **pout, size_t min_len, size_t max_len, const void *salt, size_t salt_len) ossl_rand_get_nonce() argument
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_util.c | 157 usb_make_str_desc(void *ptr, uint16_t max_len, const char *s) in usb_make_str_desc() argument 163 if (max_len < 2) { in usb_make_str_desc() 167 max_len = ((max_len / 2) - 1); in usb_make_str_desc() 177 if (max_len > j) { in usb_make_str_desc() 178 max_len = j; in usb_make_str_desc() 180 totlen = (max_len + 1) * 2; in usb_make_str_desc() 185 while (max_len--) { in usb_make_str_desc() 186 USETW2(p->bString[max_len], 0, s[max_len]); in usb_make_str_desc() [all...] |
H A D | usb_handle_request.c | 431 uint16_t max_len; /* max fragment length */ in usb_handle_request() local 490 max_len = 0; in usb_handle_request() 584 &max_len, req, off, state); in usb_handle_request() 597 max_len = 0; in usb_handle_request() 608 err = (usb_temp_get_desc_p) (udev, &req, &src_zcopy, &max_len); in usb_handle_request() 618 max_len = 1; in usb_handle_request() 636 max_len = sizeof(temp.wStatus); in usb_handle_request() 700 max_len = sizeof(temp.wStatus); in usb_handle_request() 710 max_len -= off; in usb_handle_request() 714 if (max_len > xfe in usb_handle_request() [all...] |
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | evp_asn1.c | 30 /* int max_len: for returned value 34 int ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len) in ASN1_TYPE_get_octetstring() argument 45 if (ret < max_len) in ASN1_TYPE_get_octetstring() 48 num = max_len; in ASN1_TYPE_get_octetstring() 64 long *num, unsigned char *data, int max_len) in asn1_type_get_int_oct() 71 if (max_len > ret) in asn1_type_get_int_oct() 74 n = max_len; in asn1_type_get_int_oct() 110 unsigned char *data, int max_len) 124 ret = asn1_type_get_int_oct(atmp->oct, atmp->num, num, data, max_len); 166 unsigned char *data, int max_len) 63 asn1_type_get_int_oct(ASN1_OCTET_STRING *oct, int32_t anum, long *num, unsigned char *data, int max_len) asn1_type_get_int_oct() argument [all...] |
/third_party/openssl/crypto/asn1/ |
H A D | evp_asn1.c | 30 /* int max_len: for returned value 34 int ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len) in ASN1_TYPE_get_octetstring() argument 45 if (ret < max_len) in ASN1_TYPE_get_octetstring() 48 num = max_len; in ASN1_TYPE_get_octetstring() 64 long *num, unsigned char *data, int max_len) in asn1_type_get_int_oct() 71 if (max_len > ret) in asn1_type_get_int_oct() 74 n = max_len; in asn1_type_get_int_oct() 110 unsigned char *data, int max_len) 124 ret = asn1_type_get_int_oct(atmp->oct, atmp->num, num, data, max_len); 166 unsigned char *data, int max_len) 63 asn1_type_get_int_oct(ASN1_OCTET_STRING *oct, int32_t anum, long *num, unsigned char *data, int max_len) asn1_type_get_int_oct() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_get_stack_rawtp.c | 33 * usize = bpf_get_stack(ctx, raw_data, max_len, BPF_F_USER_STACK); 36 * ksize = bpf_get_stack(ctx, raw_data + usize, max_len - usize, 0); 40 * with size "max_len - usize" may be out of bound. 41 * The maximum "raw_data + usize" is "raw_data + max_len" 42 * and the maximum "max_len - usize" is "max_len", verifier 44 * "raw_data[0...max_len * 2 - 1]" and hence reject the program. 60 int max_len, max_buildid_len, total_size; in bpf_prog1() local 70 max_len = MAX_STACK_RAWTP * sizeof(__u64); in bpf_prog1() 74 max_len, in bpf_prog1() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_get_stack_rawtp.c | 33 * usize = bpf_get_stack(ctx, raw_data, max_len, BPF_F_USER_STACK); 36 * ksize = bpf_get_stack(ctx, raw_data + usize, max_len - usize, 0); 40 * with size "max_len - usize" may be out of bound. 41 * The maximum "raw_data + usize" is "raw_data + max_len" 42 * and the maximum "max_len - usize" is "max_len", verifier 44 * "raw_data[0...max_len * 2 - 1]" and hence reject the program. 60 int max_len, max_buildid_len, total_size; in bpf_prog1() local 70 max_len = MAX_STACK_RAWTP * sizeof(__u64); in bpf_prog1() 74 max_len, in bpf_prog1() [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | export.c | 35 nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent) in nfs_encode_fh() argument 43 __func__, *max_len, inode, parent); in nfs_encode_fh() 45 if (*max_len < len || IS_AUTOMOUNT(inode)) { in nfs_encode_fh() 47 __func__, *max_len, len); in nfs_encode_fh() 48 *max_len = len; in nfs_encode_fh() 57 *max_len = len; in nfs_encode_fh() 59 __func__, NFS_FILEID(inode), inode->i_mode, *max_len); in nfs_encode_fh() 60 return *max_len; in nfs_encode_fh()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | export.c | 35 nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent) in nfs_encode_fh() argument 43 __func__, *max_len, inode, parent); in nfs_encode_fh() 45 if (*max_len < len) { in nfs_encode_fh() 47 __func__, *max_len, len); in nfs_encode_fh() 48 *max_len = len; in nfs_encode_fh() 57 *max_len = len; in nfs_encode_fh() 59 __func__, NFS_FILEID(inode), inode->i_mode, *max_len); in nfs_encode_fh() 60 return *max_len; in nfs_encode_fh()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | sysctl-test.c | 319 size_t max_len = 32, len = max_len; in sysctl_test_api_dointvec_write_single_less_int_min() local 321 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min() 331 (size_t)snprintf(buffer, max_len, "-%lu", in sysctl_test_api_dointvec_write_single_less_int_min() 333 max_len); in sysctl_test_api_dointvec_write_single_less_int_min() 337 KUNIT_EXPECT_EQ(test, max_len, len); in sysctl_test_api_dointvec_write_single_less_int_min() 357 size_t max_len = 32, len = max_len; in sysctl_test_api_dointvec_write_single_greater_int_max() local 359 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max() 364 KUNIT_ASSERT_LT(test, (size_t)snprintf(buffer, max_len, " in sysctl_test_api_dointvec_write_single_greater_int_max() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | sysctl-test.c | 316 size_t max_len = 32, len = max_len; in sysctl_test_api_dointvec_write_single_less_int_min() local 318 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min() 328 (size_t)snprintf(buffer, max_len, "-%lu", in sysctl_test_api_dointvec_write_single_less_int_min() 330 max_len); in sysctl_test_api_dointvec_write_single_less_int_min() 334 KUNIT_EXPECT_EQ(test, max_len, len); in sysctl_test_api_dointvec_write_single_less_int_min() 354 size_t max_len = 32, len = max_len; in sysctl_test_api_dointvec_write_single_greater_int_max() local 356 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max() 361 KUNIT_ASSERT_LT(test, (size_t)snprintf(buffer, max_len, " in sysctl_test_api_dointvec_write_single_greater_int_max() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
H A D | hal_sdio.c | 84 u32 deviceId, max_len; in rtw_hal_get_sdio_tx_max_length() local 90 max_len = pHalData->sdio_tx_max_len[HI_QUEUE_IDX]; in rtw_hal_get_sdio_tx_max_length() 94 max_len = pHalData->sdio_tx_max_len[MID_QUEUE_IDX]; in rtw_hal_get_sdio_tx_max_length() 98 max_len = pHalData->sdio_tx_max_len[LOW_QUEUE_IDX]; in rtw_hal_get_sdio_tx_max_length() 102 max_len = pHalData->sdio_tx_max_len[MID_QUEUE_IDX]; in rtw_hal_get_sdio_tx_max_length() 106 return max_len; in rtw_hal_get_sdio_tx_max_length()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/ |
H A D | hal_sdio.c | 83 u32 deviceId, max_len; in rtw_hal_get_sdio_tx_max_length() local 89 max_len = pHalData->sdio_tx_max_len[HI_QUEUE_IDX]; in rtw_hal_get_sdio_tx_max_length() 93 max_len = pHalData->sdio_tx_max_len[MID_QUEUE_IDX]; in rtw_hal_get_sdio_tx_max_length() 97 max_len = pHalData->sdio_tx_max_len[LOW_QUEUE_IDX]; in rtw_hal_get_sdio_tx_max_length() 101 max_len = pHalData->sdio_tx_max_len[MID_QUEUE_IDX]; in rtw_hal_get_sdio_tx_max_length() 105 return max_len; in rtw_hal_get_sdio_tx_max_length()
|
/third_party/backends/backend/ |
H A D | as6e.c | 129 sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len, in sane_read() argument 138 DBG (3, "reading %d bytes, %d bytes in carryover buffer\n", max_len, in sane_read() 159 if (s->scan_buffer_count <= max_len) in sane_read() 167 if (s->scan_buffer_count == max_len) in sane_read() 170 s->image_counter += max_len; in sane_read() 177 for (*len = 0; *len < max_len; (*len)++) in sane_read() 180 for (bytecounter = max_len; in sane_read() 182 s->scan_buffer[bytecounter - max_len] in sane_read() 185 s->scan_buffer_count -= max_len; in sane_read() 186 s->image_counter += max_len; in sane_read() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 584 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_nodedesc() 588 if (am || smp_length_check(sizeof(*nd), max_len)) { in __subn_get_opa_nodedesc() 605 u32 *resp_len, u32 max_len) in __subn_get_opa_nodeinfo() 615 smp_length_check(sizeof(*ni), max_len) || in __subn_get_opa_nodeinfo() 798 u32 *resp_len, u32 max_len) in __subn_get_opa_portinfo() 814 if (num_ports != 1 || smp_length_check(sizeof(*pi), max_len)) { in __subn_get_opa_portinfo() 1023 u32 *resp_len, u32 max_len) in __subn_get_opa_pkeytable() 1046 if (smp_length_check(size, max_len)) { in __subn_get_opa_pkeytable() 1353 u32 *resp_len, u32 max_len, int local_mad) in __subn_set_opa_portinfo() 1375 smp_length_check(sizeof(*pi), max_len)) { in __subn_set_opa_portinfo() 582 __subn_get_opa_nodedesc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_nodedesc() argument 603 __subn_get_opa_nodeinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_nodeinfo() argument 796 __subn_get_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_portinfo() argument 1021 __subn_get_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_pkeytable() argument 1351 __subn_set_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len, int local_mad) __subn_set_opa_portinfo() argument 1720 __subn_set_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_pkeytable() argument 1827 __subn_get_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_sl_to_sc() argument 1850 __subn_set_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_sl_to_sc() argument 1879 __subn_get_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_sl() argument 1902 __subn_set_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_sl() argument 1923 __subn_get_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_vlt() argument 1945 __subn_set_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_vlt() argument 1987 __subn_get_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_vlnt() argument 2012 __subn_set_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_vlnt() argument 2044 __subn_get_opa_psi(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_psi() argument 2086 __subn_set_opa_psi(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len, int local_mad) __subn_set_opa_psi() argument 2134 __subn_get_opa_cable_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_cable_info() argument 2186 __subn_get_opa_bct(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_bct() argument 2210 __subn_set_opa_bct(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_bct() argument 2234 __subn_get_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_vl_arb() argument 2276 __subn_set_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_vl_arb() argument 3704 __subn_get_opa_cong_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_cong_info() argument 3728 __subn_get_opa_cong_setting(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_cong_setting() argument 3821 __subn_set_opa_cong_setting(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_cong_setting() argument 3861 __subn_get_opa_hfi1_cong_log(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_hfi1_cong_log() argument 3927 __subn_get_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_cc_table() argument 3979 __subn_set_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_cc_table() argument 4038 __subn_get_opa_led_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_get_opa_led_info() argument 4068 __subn_set_opa_led_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) __subn_set_opa_led_info() argument 4091 subn_get_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len) subn_get_opa_sma() argument 4181 subn_set_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u8 port, u32 *resp_len, u32 max_len, int local_mad) subn_set_opa_sma() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 542 u32 port, u32 *resp_len, u32 max_len) in __subn_get_opa_nodedesc() 546 if (am || smp_length_check(sizeof(*nd), max_len)) { in __subn_get_opa_nodedesc() 563 u32 *resp_len, u32 max_len) in __subn_get_opa_nodeinfo() 573 smp_length_check(sizeof(*ni), max_len) || in __subn_get_opa_nodeinfo() 756 u32 *resp_len, u32 max_len) in __subn_get_opa_portinfo() 772 if (num_ports != 1 || smp_length_check(sizeof(*pi), max_len)) { in __subn_get_opa_portinfo() 981 u32 *resp_len, u32 max_len) in __subn_get_opa_pkeytable() 1004 if (smp_length_check(size, max_len)) { in __subn_get_opa_pkeytable() 1311 u32 *resp_len, u32 max_len, int local_mad) in __subn_set_opa_portinfo() 1333 smp_length_check(sizeof(*pi), max_len)) { in __subn_set_opa_portinfo() 540 __subn_get_opa_nodedesc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_nodedesc() argument 561 __subn_get_opa_nodeinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_nodeinfo() argument 754 __subn_get_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_portinfo() argument 979 __subn_get_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_pkeytable() argument 1309 __subn_set_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len, int local_mad) __subn_set_opa_portinfo() argument 1678 __subn_set_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_pkeytable() argument 1785 __subn_get_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_sl_to_sc() argument 1808 __subn_set_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_sl_to_sc() argument 1837 __subn_get_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_sl() argument 1860 __subn_set_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_sl() argument 1881 __subn_get_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_vlt() argument 1903 __subn_set_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_vlt() argument 1945 __subn_get_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_sc_to_vlnt() argument 1970 __subn_set_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_sc_to_vlnt() argument 2002 __subn_get_opa_psi(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_psi() argument 2044 __subn_set_opa_psi(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len, int local_mad) __subn_set_opa_psi() argument 2092 __subn_get_opa_cable_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_cable_info() argument 2144 __subn_get_opa_bct(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_bct() argument 2168 __subn_set_opa_bct(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_bct() argument 2192 __subn_get_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_vl_arb() argument 2234 __subn_set_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_vl_arb() argument 3662 __subn_get_opa_cong_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_cong_info() argument 3686 __subn_get_opa_cong_setting(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_cong_setting() argument 3779 __subn_set_opa_cong_setting(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_cong_setting() argument 3819 __subn_get_opa_hfi1_cong_log(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_hfi1_cong_log() argument 3885 __subn_get_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_cc_table() argument 3937 __subn_set_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_cc_table() argument 3996 __subn_get_opa_led_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_get_opa_led_info() argument 4026 __subn_set_opa_led_info(struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) __subn_set_opa_led_info() argument 4049 subn_get_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len) subn_get_opa_sma() argument 4139 subn_set_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, u8 *data, struct ib_device *ibdev, u32 port, u32 *resp_len, u32 max_len, int local_mad) subn_set_opa_sma() argument [all...] |