Home
last modified time | relevance | path

Searched refs:max_data (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/net/sctp/
Dchunk.c178 int max_data; in sctp_datamsg_from_user() local
203 max_data = asoc->pathmtu - in sctp_datamsg_from_user()
216 max_data -= WORD_ROUND(sizeof(sctp_auth_chunk_t) + in sctp_datamsg_from_user()
221 if (max > max_data) in sctp_datamsg_from_user()
222 max = max_data; in sctp_datamsg_from_user()
237 max_data -= WORD_ROUND(sizeof(sctp_sack_chunk_t)); in sctp_datamsg_from_user()
241 max_data -= SCTP_ARBITRARY_COOKIE_ECHO_LEN; in sctp_datamsg_from_user()
244 if (first_len > max_data) in sctp_datamsg_from_user()
245 first_len = max_data; in sctp_datamsg_from_user()
/linux-3.4.99/fs/gfs2/
Dfile.c727 unsigned int tmp, max_data = max_blocks - 3 * (sdp->sd_max_height - 1); in calc_max_reserv() local
729 for (tmp = max_data; tmp > sdp->sd_diptrs;) { in calc_max_reserv()
731 max_data -= tmp; in calc_max_reserv()
735 if (max_data <= *data_blocks) in calc_max_reserv()
737 *data_blocks = max_data; in calc_max_reserv()
738 *ind_blocks = max_blocks - max_data; in calc_max_reserv()
739 *len = ((loff_t)max_data - 3) << sdp->sd_sb.sb_bsize_shift; in calc_max_reserv()
/linux-3.4.99/kernel/trace/
Dtrace.c681 struct trace_array_cpu *max_data; in __update_max_tr() local
686 max_data = max_tr.data[cpu]; in __update_max_tr()
687 max_data->saved_latency = tracing_max_latency; in __update_max_tr()
688 max_data->critical_start = data->critical_start; in __update_max_tr()
689 max_data->critical_end = data->critical_end; in __update_max_tr()
691 memcpy(max_data->comm, tsk->comm, TASK_COMM_LEN); in __update_max_tr()
692 max_data->pid = tsk->pid; in __update_max_tr()
698 max_data->uid = current_uid(); in __update_max_tr()
700 max_data->uid = task_uid(tsk); in __update_max_tr()
702 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr()
[all …]