Lines Matching defs:size

99  * @size: the size of the hash table
104 static inline u32 batadv_choose_tt(const void *data, u32 size)
113 return hash % size;
139 index = batadv_choose_tt(&to_search, hash->size);
314 * batadv_tt_local_size_mod() - change the size by v of the local table
318 * @v: the amount to sum to the local table size
335 * batadv_tt_local_size_inc() - increase by one the local table size for the
347 * batadv_tt_local_size_dec() - decrease by one the local table size for the
359 * batadv_tt_global_size_mod() - change the size by v of the global table
363 * @v: the amount to sum to the global table size
387 * batadv_tt_global_size_inc() - increase by one the global table size for the
389 * @orig_node: the originator which global table size has to be decreased
399 * batadv_tt_global_size_dec() - decrease by one the global table size for the
401 * @orig_node: the originator which global table size has to be decreased
552 * table size when transmitted over the air
555 * Return: local translation table size in bytes.
571 /* header size of tvlv encapsulated tt response payload */
700 "Local translation table size (%i) exceeds maximum packet size (%i); Ignoring new local tt entry: %pM\n",
837 * Return: the size of the allocated buffer or 0 in case of failure.
912 * Return: the size of the allocated buffer or 0 in case of failure.
1036 /* check whether this new OGM has no changes due to size problems */
1197 while (bucket < hash->size) {
1350 for (i = 0; i < hash->size; i++) {
1375 for (i = 0; i < hash->size; i++) {
1974 while (bucket < hash->size) {
2209 for (i = 0; i < hash->size; i++) {
2275 for (i = 0; i < hash->size; i++) {
2318 for (i = 0; i < hash->size; i++) {
2450 for (i = 0; i < hash->size; i++) {
2528 for (i = 0; i < hash->size; i++) {
2774 for (i = 0; i < hash->size; i++) {
2922 int i, size;
2935 size = sizeof(*tvlv_tt_data) + sizeof(*tt_vlan_req) * num_vlan;
2936 tvlv_tt_data = kzalloc(size, GFP_ATOMIC);
2965 tvlv_tt_data, size);
3082 "Ignoring TT_REQUEST from %pM; Response size exceeds max packet size.\n",
3593 * table and possibly count them in the TT size
3597 * @count: whether to increase the TT size by the number of changed entries
3610 for (i = 0; i < hash->size; i++) {
3650 for (i = 0; i < hash->size; i++) {
3795 /* the OGM could not contain the changes due to their size or
3936 * maximum packet size that can be transported through the mesh