Searched refs:ONE_MEGABYTE (Results 1 – 1 of 1) sorted by relevance
592 #define ONE_MEGABYTE (1024 * 1024) macro612 buff_size = cdp_cfg_get(soc, cfg_dp_pktlog_buffer_size) * ONE_MEGABYTE; in pktlog_init()614 pl_info->buf_size = (buff_size ? buff_size : ONE_MEGABYTE); in pktlog_init()825 buff_size = cdp_cfg_get(soc, cfg_dp_pktlog_buffer_size) * ONE_MEGABYTE; in __pktlog_setsize()826 max_allowed_buff_size = (buff_size ? buff_size : ONE_MEGABYTE); in __pktlog_setsize()828 if (size < ONE_MEGABYTE || size > max_allowed_buff_size) { in __pktlog_setsize()830 size, (ONE_MEGABYTE / ONE_MEGABYTE), in __pktlog_setsize()831 (max_allowed_buff_size / ONE_MEGABYTE)); in __pktlog_setsize()