Searched refs:max_data_sz (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/tools/power/acpi/tools/pfrut/ |
D | pfrut.c | 379 int max_data_sz; in main() local 389 max_data_sz = data_info.max_data_size; in main() 390 if (!max_data_sz) { in main() 397 log_buf = malloc(max_data_sz + 1); in main() 405 p_mmap = mmap(NULL, max_data_sz, PROT_READ, MAP_SHARED, fd_update_log, 0); in main() 413 memcpy(log_buf, p_mmap, max_data_sz); in main() 414 log_buf[max_data_sz] = '\0'; in main() 418 munmap(p_mmap, max_data_sz); in main()
|
/linux-6.1.9/tools/lib/bpf/ |
D | strset.c | 39 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()
|
D | strset.h | 12 struct strset *strset__new(size_t max_data_sz, const char *init_data, size_t init_data_sz);
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_main.c | 109 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()
|
/linux-6.1.9/net/bpf/ |
D | test_run.c | 1278 u32 retval = 0, duration, max_data_sz; in bpf_prog_test_run_xdp() local 1322 max_data_sz = 4096 - headroom - tailroom; in bpf_prog_test_run_xdp() 1323 if (size > max_data_sz) { in bpf_prog_test_run_xdp() 1327 size = max_data_sz; in bpf_prog_test_run_xdp() 1330 data = bpf_test_init(kattr, size, max_data_sz, headroom, tailroom); in bpf_prog_test_run_xdp() 1337 rxqueue->xdp_rxq.frag_size = headroom + max_data_sz + tailroom; in bpf_prog_test_run_xdp()
|