Lines Matching refs:tmpbuf
126 char tmpbuf[TMPBUFLEN]; in sel_read_enforce() local
129 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_enforce()
131 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce()
205 char tmpbuf[TMPBUFLEN]; in sel_read_handle_unknown() local
212 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); in sel_read_handle_unknown()
213 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown()
331 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local
334 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers()
335 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers()
356 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local
359 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_mls()
361 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_mls()
633 char tmpbuf[TMPBUFLEN]; in sel_read_checkreqprot() local
636 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", fsi->state->checkreqprot); in sel_read_checkreqprot()
637 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_checkreqprot()
1421 char tmpbuf[TMPBUFLEN]; in sel_read_avc_cache_threshold() local
1424 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_avc_cache_threshold()
1426 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_avc_cache_threshold()
1708 char tmpbuf[TMPBUFLEN]; in sel_read_policycap() local
1713 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", value); in sel_read_policycap()
1715 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policycap()