Lines Matching full:method

61  * @rc_ratio: dest count as percentage of cluster size where send method changes
213 struct tipc_mc_method *method) in tipc_bcast_select_xmit_method() argument
216 unsigned long exp = method->expires; in tipc_bcast_select_xmit_method()
220 method->rcast = true; in tipc_bcast_select_xmit_method()
225 method->rcast = false; in tipc_bcast_select_xmit_method()
228 /* Can current method be changed ? */ in tipc_bcast_select_xmit_method()
229 method->expires = jiffies + TIPC_METHOD_EXPIRE; in tipc_bcast_select_xmit_method()
230 if (method->mandatory) in tipc_bcast_select_xmit_method()
237 /* Configuration as force 'broadcast' method */ in tipc_bcast_select_xmit_method()
239 method->rcast = false; in tipc_bcast_select_xmit_method()
242 /* Configuration as force 'replicast' method */ in tipc_bcast_select_xmit_method()
244 method->rcast = true; in tipc_bcast_select_xmit_method()
247 /* Configuration as 'autoselect' or default method */ in tipc_bcast_select_xmit_method()
248 /* Determine method to use now */ in tipc_bcast_select_xmit_method()
249 method->rcast = dests <= bb->bc_threshold; in tipc_bcast_select_xmit_method()
313 * @method: send method to be used
318 struct tipc_mc_method *method, in tipc_mcast_send_sync() argument
349 /* Reverse method for dummy message */ in tipc_mcast_send_sync()
357 if (method->rcast) in tipc_mcast_send_sync()
372 * @method: send method to be used
379 struct tipc_mc_method *method, struct tipc_nlist *dests, in tipc_mcast_xmit() argument
383 bool rcast = method->rcast; in tipc_mcast_xmit()
396 /* Send according to determined transmit method */ in tipc_mcast_xmit()
398 tipc_bcast_select_xmit_method(net, dests->remote, method); in tipc_mcast_xmit()
404 msg_set_is_rcast(hdr, method->rcast); in tipc_mcast_xmit()
406 /* Switch method ? */ in tipc_mcast_xmit()
407 if (rcast != method->rcast) { in tipc_mcast_xmit()
408 rc = tipc_mcast_send_sync(net, skb, method, dests); in tipc_mcast_xmit()
410 pr_err("Unable to send SYN: method %d, rc %d\n", in tipc_mcast_xmit()
416 if (method->rcast) in tipc_mcast_xmit()