size_params 389 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c static struct devlink_resource_size_params size_params; size_params 397 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c devlink_resource_size_params_init(&size_params, 0, kvdl_max_size, size_params 404 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c &size_params); size_params 408 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c devlink_resource_size_params_init(&size_params, 0, kvdl_max_size, size_params 415 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c &size_params); size_params 419 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c devlink_resource_size_params_init(&size_params, 0, kvdl_max_size, size_params 426 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c &size_params); size_params 292 include/net/devlink.h devlink_resource_size_params_init(struct devlink_resource_size_params *size_params, size_params 297 include/net/devlink.h size_params->size_min = size_min; size_params 298 include/net/devlink.h size_params->size_max = size_max; size_params 299 include/net/devlink.h size_params->size_granularity = size_granularity; size_params 300 include/net/devlink.h size_params->unit = unit; size_params 325 include/net/devlink.h struct devlink_resource_size_params size_params; size_params 837 include/net/devlink.h const struct devlink_resource_size_params *size_params); size_params 2444 net/core/devlink.c if (size > resource->size_params.size_max) { size_params 2449 net/core/devlink.c if (size < resource->size_params.size_min) { size_params 2454 net/core/devlink.c div64_u64_rem(size, resource->size_params.size_granularity, &reminder); size_params 2497 net/core/devlink.c struct devlink_resource_size_params *size_params; size_params 2499 net/core/devlink.c size_params = &resource->size_params; size_params 2501 net/core/devlink.c size_params->size_granularity, DEVLINK_ATTR_PAD) || size_params 2503 net/core/devlink.c size_params->size_max, DEVLINK_ATTR_PAD) || size_params 2505 net/core/devlink.c size_params->size_min, DEVLINK_ATTR_PAD) || size_params 2506 net/core/devlink.c nla_put_u8(skb, DEVLINK_ATTR_RESOURCE_UNIT, size_params->unit)) size_params 6798 net/core/devlink.c const struct devlink_resource_size_params *size_params) size_params 6842 net/core/devlink.c memcpy(&resource->size_params, size_params, size_params 6843 net/core/devlink.c sizeof(resource->size_params));