Lines Matching full:method
60 * @rc_ratio: dest count as percentage of cluster size where send method changes
206 struct tipc_mc_method *method) in tipc_bcast_select_xmit_method() argument
209 unsigned long exp = method->expires; in tipc_bcast_select_xmit_method()
213 method->rcast = true; in tipc_bcast_select_xmit_method()
218 method->rcast = false; in tipc_bcast_select_xmit_method()
221 /* Can current method be changed ? */ in tipc_bcast_select_xmit_method()
222 method->expires = jiffies + TIPC_METHOD_EXPIRE; in tipc_bcast_select_xmit_method()
223 if (method->mandatory) in tipc_bcast_select_xmit_method()
230 /* Configuration as force 'broadcast' method */ in tipc_bcast_select_xmit_method()
232 method->rcast = false; in tipc_bcast_select_xmit_method()
235 /* Configuration as force 'replicast' method */ in tipc_bcast_select_xmit_method()
237 method->rcast = true; in tipc_bcast_select_xmit_method()
240 /* Configuration as 'autoselect' or default method */ in tipc_bcast_select_xmit_method()
241 /* Determine method to use now */ in tipc_bcast_select_xmit_method()
242 method->rcast = dests <= bb->bc_threshold; in tipc_bcast_select_xmit_method()
306 * @method: send method to be used
312 struct tipc_mc_method *method, in tipc_mcast_send_sync() argument
342 /* Reverse method for dummy message */ in tipc_mcast_send_sync()
349 if (method->rcast) in tipc_mcast_send_sync()
364 * @method: send method to be used
371 struct tipc_mc_method *method, struct tipc_nlist *dests, in tipc_mcast_xmit() argument
375 bool rcast = method->rcast; in tipc_mcast_xmit()
388 /* Send according to determined transmit method */ in tipc_mcast_xmit()
390 tipc_bcast_select_xmit_method(net, dests->remote, method); in tipc_mcast_xmit()
396 msg_set_is_rcast(hdr, method->rcast); in tipc_mcast_xmit()
398 /* Switch method ? */ in tipc_mcast_xmit()
399 if (rcast != method->rcast) in tipc_mcast_xmit()
400 tipc_mcast_send_sync(net, skb, method, in tipc_mcast_xmit()
403 if (method->rcast) in tipc_mcast_xmit()