Lines Matching refs:tmpbuf
129 char tmpbuf[TMPBUFLEN]; in sel_read_enforce() local
132 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_enforce()
134 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce()
209 char tmpbuf[TMPBUFLEN]; in sel_read_handle_unknown() local
216 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); in sel_read_handle_unknown()
217 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown()
342 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local
345 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers()
346 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers()
377 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local
380 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_mls()
382 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_mls()
716 char tmpbuf[TMPBUFLEN]; in sel_read_checkreqprot() local
719 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_checkreqprot()
721 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_checkreqprot()
1504 char tmpbuf[TMPBUFLEN]; in sel_read_avc_cache_threshold() local
1507 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_avc_cache_threshold()
1509 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_avc_cache_threshold()
1853 char tmpbuf[TMPBUFLEN]; in sel_read_policycap() local
1858 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", value); in sel_read_policycap()
1860 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policycap()