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()
344 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local
347 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers()
348 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers()
379 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local
382 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_mls()
384 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_mls()
718 char tmpbuf[TMPBUFLEN]; in sel_read_checkreqprot() local
721 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_checkreqprot()
723 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_checkreqprot()
1508 char tmpbuf[TMPBUFLEN]; in sel_read_avc_cache_threshold() local
1511 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_avc_cache_threshold()
1513 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_avc_cache_threshold()
1857 char tmpbuf[TMPBUFLEN]; in sel_read_policycap() local
1862 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", value); in sel_read_policycap()
1864 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policycap()