/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...] |
/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()
|
/kernel/linux/linux-5.10/drivers/crypto/qce/ |
H A D | dma.c | 51 unsigned int max_len) in qce_sgtable_add() 65 while (new_sgl && sg && max_len) { in qce_sgtable_add() 66 new_len = new_sgl->length > max_len ? max_len : new_sgl->length; in qce_sgtable_add() 71 max_len -= new_len; in qce_sgtable_add() 50 qce_sgtable_add(struct sg_table *sgt, struct scatterlist *new_sgl, unsigned int max_len) qce_sgtable_add() argument
|
/kernel/linux/linux-5.10/fs/isofs/ |
H A D | export.c | 113 int *max_len, in isofs_export_encode_fh() 117 int len = *max_len; in isofs_export_encode_fh() 122 * WARNING: max_len is 5 for NFSv2. Because of this in isofs_export_encode_fh() 128 *max_len = 5; in isofs_export_encode_fh() 131 *max_len = 3; in isofs_export_encode_fh() 149 *max_len = len; in isofs_export_encode_fh() 111 isofs_export_encode_fh(struct inode *inode, __u32 *fh32, int *max_len, struct inode *parent) isofs_export_encode_fh() argument
|
/kernel/linux/linux-6.6/fs/isofs/ |
H A D | export.c | 113 int *max_len, in isofs_export_encode_fh() 117 int len = *max_len; in isofs_export_encode_fh() 122 * WARNING: max_len is 5 for NFSv2. Because of this in isofs_export_encode_fh() 128 *max_len = 5; in isofs_export_encode_fh() 131 *max_len = 3; in isofs_export_encode_fh() 149 *max_len = len; in isofs_export_encode_fh() 111 isofs_export_encode_fh(struct inode *inode, __u32 *fh32, int *max_len, struct inode *parent) isofs_export_encode_fh() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | exportfs.h | 155 * @max_len bytes) information that can be used by @decode_fh to recover the 162 * greater than @max_len*4 bytes). On error @max_len contains the minimum 202 int (*encode_fh)(struct inode *inode, __u32 *fh, int *max_len, 231 int *max_len, struct inode *parent, 234 int *max_len, int flags); 237 int *max_len) in exportfs_encode_fid() 239 return exportfs_encode_inode_fh(inode, fid, max_len, NULL, in exportfs_encode_fid() 236 exportfs_encode_fid(struct inode *inode, struct fid *fid, int *max_len) exportfs_encode_fid() argument
|
/kernel/linux/linux-6.6/drivers/crypto/qce/ |
H A D | dma.c | 51 unsigned int max_len) in qce_sgtable_add() 65 while (new_sgl && sg && max_len) { in qce_sgtable_add() 66 new_len = new_sgl->length > max_len ? max_len : new_sgl->length; in qce_sgtable_add() 71 max_len -= new_len; in qce_sgtable_add() 50 qce_sgtable_add(struct sg_table *sgt, struct scatterlist *new_sgl, unsigned int max_len) qce_sgtable_add() argument
|
/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...] |
/kernel/linux/linux-5.10/net/x25/ |
H A D | x25_out.c | 56 int max_len = x25_pacsize_to_bytes(x25->facilities.pacsize_out); in x25_output() local 58 if (skb->len - header_len > max_len) { in x25_output() 67 skbn = sock_alloc_send_skb(sk, frontlen + max_len, in x25_output() 83 len = max_len > skb->len ? skb->len : max_len; in x25_output()
|
/kernel/linux/linux-6.6/net/x25/ |
H A D | x25_out.c | 56 int max_len = x25_pacsize_to_bytes(x25->facilities.pacsize_out); in x25_output() local 58 if (skb->len - header_len > max_len) { in x25_output() 67 skbn = sock_alloc_send_skb(sk, frontlen + max_len, in x25_output() 83 len = max_len > skb->len ? skb->len : max_len; in x25_output()
|
/kernel/linux/common_modules/tzdriver/tlogger/ |
H A D | tlogger.c | 134 uint32_t max_len; member 200 uint32_t max_len, uint32_t read_pos, uint32_t scope_len, uint32_t *pos) in get_next_log_item() 206 if ((read_pos + scope_len) > max_len) in get_next_log_item() 226 uint32_t max_len; member 252 position->max_len, start_pos, in parse_log_item() 324 if (log_flag->max_len < *log_last_pos || in get_last_read_pos() 325 log_flag->max_len > buffer_max_len) { in get_last_read_pos() 327 log_flag->max_len, *log_last_pos); in get_last_read_pos() 331 if (reader->r_off > log_flag->max_len) { in get_last_read_pos() 333 reader->r_off, log_flag->max_len); in get_last_read_pos() 199 get_next_log_item(const unsigned char *buffer_start, uint32_t max_len, uint32_t read_pos, uint32_t scope_len, uint32_t *pos) get_next_log_item() argument 341 set_reader_position(struct reader_position *position, const unsigned char *buffer_start, uint32_t max_len, uint32_t start_pos, uint32_t end_pos) set_reader_position() argument 985 msg_get_next(unsigned char *buffer_start, uint32_t read_pos, uint32_t scope_len, uint32_t max_len) msg_get_next() argument [all...] |
/kernel/linux/linux-5.10/fs/exportfs/ |
H A D | expfs.c | 350 * @max_len: maximum length to store there 359 int *max_len, struct inode *parent) in export_encode_fh() 361 int len = *max_len; in export_encode_fh() 365 *max_len = 4; in export_encode_fh() 368 *max_len = 2; in export_encode_fh() 381 *max_len = len; in export_encode_fh() 386 int *max_len, struct inode *parent) in exportfs_encode_inode_fh() 391 return nop->encode_fh(inode, fid->raw, max_len, parent); in exportfs_encode_inode_fh() 393 return export_encode_fh(inode, fid, max_len, parent); in exportfs_encode_inode_fh() 397 int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len, in exportfs_encode_fh() argument 358 export_encode_fh(struct inode *inode, struct fid *fid, int *max_len, struct inode *parent) export_encode_fh() argument 385 exportfs_encode_inode_fh(struct inode *inode, struct fid *fid, int *max_len, struct inode *parent) exportfs_encode_inode_fh() argument [all...] |
/kernel/linux/linux-6.6/fs/exportfs/ |
H A D | expfs.c | 349 * @max_len: maximum length to store there 358 int *max_len, struct inode *parent) in export_encode_fh() 360 int len = *max_len; in export_encode_fh() 364 *max_len = 4; in export_encode_fh() 367 *max_len = 2; in export_encode_fh() 380 *max_len = len; in export_encode_fh() 388 * @max_len: maximum length to store there 395 int *max_len, struct inode *parent, int flags) in exportfs_encode_inode_fh() 407 return nop->encode_fh(inode, fid->raw, max_len, parent); in exportfs_encode_inode_fh() 409 return export_encode_fh(inode, fid, max_len, paren in exportfs_encode_inode_fh() 357 export_encode_fh(struct inode *inode, struct fid *fid, int *max_len, struct inode *parent) export_encode_fh() argument 394 exportfs_encode_inode_fh(struct inode *inode, struct fid *fid, int *max_len, struct inode *parent, int flags) exportfs_encode_inode_fh() argument 422 exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len, int flags) exportfs_encode_fh() argument [all...] |