Lines Matching refs:write
61 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,
64 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write,
67 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write,
70 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write,
73 static int proc_sctp_do_auth(struct ctl_table *ctl, int write,
336 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg() argument
349 if (write) { in proc_sctp_do_hmac_alg()
357 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg()
358 if (write && ret == 0) { in proc_sctp_do_hmac_alg()
382 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, in proc_sctp_do_rto_min() argument
395 if (write) in proc_sctp_do_rto_min()
400 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_min()
401 if (write && ret == 0) { in proc_sctp_do_rto_min()
411 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write, in proc_sctp_do_rto_max() argument
424 if (write) in proc_sctp_do_rto_max()
429 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_max()
430 if (write && ret == 0) { in proc_sctp_do_rto_max()
440 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
462 if (write) in proc_sctp_do_auth()
467 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_auth()
468 if (write && ret == 0) { in proc_sctp_do_auth()