Lines Matching refs:tmpbuf

128 	char tmpbuf[TMPBUFLEN];  in sel_read_enforce()  local
131 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_enforce()
133 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce()
206 char tmpbuf[TMPBUFLEN]; in sel_read_handle_unknown() local
213 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); in sel_read_handle_unknown()
214 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown()
339 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local
342 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers()
343 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers()
374 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local
377 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_mls()
379 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_mls()
717 char tmpbuf[TMPBUFLEN]; in sel_read_checkreqprot() local
720 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_checkreqprot()
722 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_checkreqprot()
1502 char tmpbuf[TMPBUFLEN]; in sel_read_avc_cache_threshold() local
1505 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_avc_cache_threshold()
1507 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_avc_cache_threshold()
1851 char tmpbuf[TMPBUFLEN]; in sel_read_policycap() local
1856 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", value); in sel_read_policycap()
1858 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policycap()