Lines Matching refs:ppos
132 size_t count, loff_t *ppos) in sel_read_enforce() argument
138 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce()
143 size_t count, loff_t *ppos) in sel_write_enforce() argument
156 if (*ppos != 0) in sel_write_enforce()
203 size_t count, loff_t *ppos) in sel_read_handle_unknown() argument
212 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown()
233 size_t count, loff_t *ppos) in sel_read_handle_status() argument
239 return simple_read_from_buffer(buf, count, ppos, in sel_read_handle_status()
275 size_t count, loff_t *ppos) in sel_write_disable() argument
288 if (*ppos != 0) in sel_write_disable()
329 size_t count, loff_t *ppos) in sel_read_policyvers() argument
335 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers()
353 size_t count, loff_t *ppos) in sel_read_mls() argument
360 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_mls()
436 size_t count, loff_t *ppos) in sel_read_policy() argument
447 ret = simple_read_from_buffer(buf, count, ppos, plm->data, plm->len); in sel_read_policy()
505 size_t count, loff_t *ppos) in sel_write_load() argument
519 if (*ppos != 0) in sel_write_load()
602 size_t count, loff_t *ppos) in sel_read_checkreqprot() argument
608 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_checkreqprot()
612 size_t count, loff_t *ppos) in sel_write_checkreqprot() argument
628 if (*ppos != 0) in sel_write_checkreqprot()
1041 size_t count, loff_t *ppos) in sel_read_bool() argument
1068 ret = simple_read_from_buffer(buf, count, ppos, page, length); in sel_read_bool()
1076 size_t count, loff_t *ppos) in sel_write_bool() argument
1100 if (*ppos != 0) in sel_write_bool()
1136 size_t count, loff_t *ppos) in sel_commit_bools_write() argument
1154 if (*ppos != 0) in sel_commit_bools_write()
1281 size_t count, loff_t *ppos) in sel_read_avc_cache_threshold() argument
1287 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_avc_cache_threshold()
1292 size_t count, loff_t *ppos) in sel_write_avc_cache_threshold() argument
1309 if (*ppos != 0) in sel_write_avc_cache_threshold()
1334 size_t count, loff_t *ppos) in sel_read_avc_hash_stats() argument
1345 length = simple_read_from_buffer(buf, count, ppos, page, length); in sel_read_avc_hash_stats()
1465 size_t count, loff_t *ppos) in sel_read_initcon() argument
1476 ret = simple_read_from_buffer(buf, count, ppos, con, len); in sel_read_initcon()
1530 size_t count, loff_t *ppos) in sel_read_class() argument
1535 return simple_read_from_buffer(buf, count, ppos, res, len); in sel_read_class()
1544 size_t count, loff_t *ppos) in sel_read_perm() argument
1549 return simple_read_from_buffer(buf, count, ppos, res, len); in sel_read_perm()
1558 size_t count, loff_t *ppos) in sel_read_policycap() argument
1568 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policycap()