Lines Matching refs:write

43 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,
46 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write,
49 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write,
52 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write,
55 static int proc_sctp_do_auth(struct ctl_table *ctl, int write,
325 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg() argument
338 if (write) { in proc_sctp_do_hmac_alg()
346 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg()
347 if (write && ret == 0) { in proc_sctp_do_hmac_alg()
371 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, in proc_sctp_do_rto_min() argument
384 if (write) in proc_sctp_do_rto_min()
389 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_min()
390 if (write && ret == 0) { in proc_sctp_do_rto_min()
400 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write, in proc_sctp_do_rto_max() argument
413 if (write) in proc_sctp_do_rto_max()
418 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_max()
419 if (write && ret == 0) { in proc_sctp_do_rto_max()
429 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write, in proc_sctp_do_alpha_beta() argument
433 if (write) in proc_sctp_do_alpha_beta()
437 return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in proc_sctp_do_alpha_beta()
440 static int proc_sctp_do_auth(struct ctl_table *ctl, int write, in proc_sctp_do_auth() argument
451 if (write) in proc_sctp_do_auth()
456 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_auth()
457 if (write && ret == 0) { in proc_sctp_do_auth()