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()
202 char tmpbuf[TMPBUFLEN]; in sel_read_handle_unknown() local
209 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); in sel_read_handle_unknown()
210 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown()
314 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local
317 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers()
318 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers()
348 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local
351 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_mls()
353 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_mls()
679 char tmpbuf[TMPBUFLEN]; in sel_read_checkreqprot() local
682 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_checkreqprot()
684 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_checkreqprot()
1442 char tmpbuf[TMPBUFLEN]; in sel_read_avc_cache_threshold() local
1445 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_avc_cache_threshold()
1447 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_avc_cache_threshold()
1782 char tmpbuf[TMPBUFLEN]; in sel_read_policycap() local
1787 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", value); in sel_read_policycap()
1789 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policycap()