Home
last modified time | relevance | path

Searched refs:max_data_sz (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/power/acpi/tools/pfrut/
H A Dpfrut.c391 int max_data_sz; in main() local
401 max_data_sz = data_info.max_data_size; in main()
402 if (!max_data_sz) { in main()
409 log_buf = malloc(max_data_sz + 1); in main()
417 p_mmap = mmap(NULL, max_data_sz, PROT_READ, MAP_SHARED, fd_update_log, 0); in main()
425 memcpy(log_buf, p_mmap, max_data_sz); in main()
426 log_buf[max_data_sz] = '\0'; in main()
430 munmap(p_mmap, max_data_sz); in main()
/openbmc/linux/tools/lib/bpf/
H A Dstrset.c39 struct strset *strset__new(size_t max_data_sz, const char *init_data, size_t init_data_sz) in strset__new() argument
52 set->strs_data_max_len = max_data_sz; in strset__new()
H A Dstrset.h12 struct strset *strset__new(size_t max_data_sz, const char *init_data, size_t init_data_sz);
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_main.c109 u64 max_data_sz; in nfp_mbox_cmd() local
116 max_data_sz = nfp_rtsym_size(pf->mbox) - NFP_MBOX_SYM_MIN_SIZE; in nfp_mbox_cmd()
126 in_length = min(in_length, max_data_sz); in nfp_mbox_cmd()
166 out_length = min_t(u32, val, min(out_length, max_data_sz)); in nfp_mbox_cmd()
/openbmc/linux/net/bpf/
H A Dtest_run.c1151 u32 retval = 0, duration, max_data_sz; in bpf_prog_test_run_xdp() local
1198 max_data_sz = 4096 - headroom - tailroom; in bpf_prog_test_run_xdp()
1199 if (size > max_data_sz) { in bpf_prog_test_run_xdp()
1203 size = max_data_sz; in bpf_prog_test_run_xdp()
1206 data = bpf_test_init(kattr, size, max_data_sz, headroom, tailroom); in bpf_prog_test_run_xdp()
1213 rxqueue->xdp_rxq.frag_size = headroom + max_data_sz + tailroom; in bpf_prog_test_run_xdp()