Lines Matching refs:tmpbuf
125 char tmpbuf[TMPBUFLEN]; in sel_read_enforce() local
128 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_enforce()
130 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce()
204 char tmpbuf[TMPBUFLEN]; in sel_read_handle_unknown() local
211 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); in sel_read_handle_unknown()
212 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown()
330 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local
333 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers()
334 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers()
355 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local
358 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_mls()
360 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_mls()
632 char tmpbuf[TMPBUFLEN]; in sel_read_checkreqprot() local
635 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", fsi->state->checkreqprot); in sel_read_checkreqprot()
636 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_checkreqprot()
1420 char tmpbuf[TMPBUFLEN]; in sel_read_avc_cache_threshold() local
1423 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_avc_cache_threshold()
1425 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_avc_cache_threshold()
1707 char tmpbuf[TMPBUFLEN]; in sel_read_policycap() local
1712 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", value); in sel_read_policycap()
1714 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policycap()