Lines Matching refs:write
45 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,
47 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, void *buffer,
51 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write,
53 static int proc_sctp_do_auth(struct ctl_table *ctl, int write,
340 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg() argument
352 if (write) { in proc_sctp_do_hmac_alg()
360 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg()
361 if (write && ret == 0) { in proc_sctp_do_hmac_alg()
385 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, in proc_sctp_do_rto_min() argument
397 if (write) in proc_sctp_do_rto_min()
402 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_min()
403 if (write && ret == 0) { in proc_sctp_do_rto_min()
413 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write, in proc_sctp_do_rto_max() argument
425 if (write) in proc_sctp_do_rto_max()
430 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_max()
431 if (write && ret == 0) { in proc_sctp_do_rto_max()
441 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write, in proc_sctp_do_alpha_beta() argument
444 if (write) in proc_sctp_do_alpha_beta()
448 return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in proc_sctp_do_alpha_beta()
451 static int proc_sctp_do_auth(struct ctl_table *ctl, int write, in proc_sctp_do_auth() argument
461 if (write) in proc_sctp_do_auth()
466 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_auth()
467 if (write && ret == 0) { in proc_sctp_do_auth()