Lines Matching refs:size

100  * @size: the size of the hash table
105 static inline u32 batadv_choose_tt(const void *data, u32 size)
114 return hash % size;
140 index = batadv_choose_tt(&to_search, hash->size);
315 * batadv_tt_local_size_mod() - change the size by v of the local table
319 * @v: the amount to sum to the local table size
336 * batadv_tt_local_size_inc() - increase by one the local table size for the
348 * batadv_tt_local_size_dec() - decrease by one the local table size for the
360 * batadv_tt_global_size_mod() - change the size by v of the global table
364 * @v: the amount to sum to the global table size
388 * batadv_tt_global_size_inc() - increase by one the global table size for the
390 * @orig_node: the originator which global table size has to be decreased
400 * batadv_tt_global_size_dec() - decrease by one the global table size for the
402 * @orig_node: the originator which global table size has to be decreased
553 * table size when transmitted over the air
556 * Return: local translation table size in bytes.
572 /* header size of tvlv encapsulated tt response payload */
701 "Local translation table size (%i) exceeds maximum packet size (%i); Ignoring new local tt entry: %pM\n",
842 * Return: the size of the allocated buffer or 0 in case of failure.
917 * Return: the size of the allocated buffer or 0 in case of failure.
1041 /* check whether this new OGM has no changes due to size problems */
1096 for (i = 0; i < hash->size; i++) {
1280 while (bucket < hash->size) {
1436 for (i = 0; i < hash->size; i++) {
1461 for (i = 0; i < hash->size; i++) {
1991 for (i = 0; i < hash->size; i++) {
2198 while (bucket < hash->size) {
2437 for (i = 0; i < hash->size; i++) {
2503 for (i = 0; i < hash->size; i++) {
2546 for (i = 0; i < hash->size; i++) {
2680 for (i = 0; i < hash->size; i++) {
2758 for (i = 0; i < hash->size; i++) {
3004 for (i = 0; i < hash->size; i++) {
3152 int i, size;
3165 size = sizeof(*tvlv_tt_data) + sizeof(*tt_vlan_req) * num_vlan;
3166 tvlv_tt_data = kzalloc(size, GFP_ATOMIC);
3195 tvlv_tt_data, size);
3314 "Ignoring TT_REQUEST from %pM; Response size exceeds max packet size.\n",
3833 * table and possibly count them in the TT size
3837 * @count: whether to increase the TT size by the number of changed entries
3850 for (i = 0; i < hash->size; i++) {
3890 for (i = 0; i < hash->size; i++) {
4035 /* the OGM could not contain the changes due to their size or
4176 * maximum packet size that can be transported through the mesh