• Home
  • Raw
  • Download

Lines Matching refs:count

122 				size_t count, loff_t *ppos)  in sel_read_enforce()  argument
130 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce()
135 size_t count, loff_t *ppos) in sel_write_enforce() argument
144 if (count >= PAGE_SIZE) in sel_write_enforce()
151 page = memdup_user_nul(buf, count); in sel_write_enforce()
184 length = count; in sel_write_enforce()
200 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()
234 size_t count, loff_t *ppos) in sel_read_handle_status() argument
240 return simple_read_from_buffer(buf, count, ppos, in sel_read_handle_status()
276 size_t count, loff_t *ppos) in sel_write_disable() argument
285 if (count >= PAGE_SIZE) in sel_write_disable()
292 page = memdup_user_nul(buf, count); in sel_write_disable()
313 length = count; in sel_write_disable()
328 size_t count, loff_t *ppos) in sel_read_policyvers() argument
334 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers()
352 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()
441 size_t count, loff_t *ppos) in sel_read_policy() argument
452 return simple_read_from_buffer(buf, count, ppos, plm->data, plm->len); in sel_read_policy()
531 size_t count, loff_t *ppos) in sel_write_load() argument
552 if (count > 64 * 1024 * 1024) in sel_write_load()
556 data = vmalloc(count); in sel_write_load()
561 if (copy_from_user(data, buf, count) != 0) in sel_write_load()
564 length = security_load_policy(fsi->state, data, count); in sel_write_load()
574 length = count; in sel_write_load()
629 size_t count, loff_t *ppos) in sel_read_checkreqprot() argument
636 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_checkreqprot()
640 size_t count, loff_t *ppos) in sel_write_checkreqprot() argument
654 if (count >= PAGE_SIZE) in sel_write_checkreqprot()
661 page = memdup_user_nul(buf, count); in sel_write_checkreqprot()
670 length = count; in sel_write_checkreqprot()
683 size_t count, loff_t *ppos) in sel_write_validatetrans() argument
700 if (count >= PAGE_SIZE) in sel_write_validatetrans()
708 req = memdup_user_nul(buf, count); in sel_write_validatetrans()
716 oldcon = kzalloc(count + 1, GFP_KERNEL); in sel_write_validatetrans()
720 newcon = kzalloc(count + 1, GFP_KERNEL); in sel_write_validatetrans()
724 taskcon = kzalloc(count + 1, GFP_KERNEL); in sel_write_validatetrans()
746 rc = count; in sel_write_validatetrans()
1169 size_t count, loff_t *ppos) in sel_read_bool() argument
1199 ret = simple_read_from_buffer(buf, count, ppos, page, length); in sel_read_bool()
1210 size_t count, loff_t *ppos) in sel_write_bool() argument
1219 if (count >= PAGE_SIZE) in sel_write_bool()
1226 page = memdup_user_nul(buf, count); in sel_write_bool()
1252 length = count; in sel_write_bool()
1268 size_t count, loff_t *ppos) in sel_commit_bools_write() argument
1275 if (count >= PAGE_SIZE) in sel_commit_bools_write()
1282 page = memdup_user_nul(buf, count); in sel_commit_bools_write()
1305 length = count; in sel_commit_bools_write()
1416 size_t count, loff_t *ppos) in sel_read_avc_cache_threshold() argument
1425 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_avc_cache_threshold()
1430 size_t count, loff_t *ppos) in sel_write_avc_cache_threshold() argument
1446 if (count >= PAGE_SIZE) in sel_write_avc_cache_threshold()
1453 page = memdup_user_nul(buf, count); in sel_write_avc_cache_threshold()
1463 ret = count; in sel_write_avc_cache_threshold()
1470 size_t count, loff_t *ppos) in sel_read_avc_hash_stats() argument
1483 length = simple_read_from_buffer(buf, count, ppos, page, length); in sel_read_avc_hash_stats()
1490 size_t count, loff_t *ppos) in sel_read_sidtab_hash_stats() argument
1503 length = simple_read_from_buffer(buf, count, ppos, page, in sel_read_sidtab_hash_stats()
1664 size_t count, loff_t *ppos) in sel_read_initcon() argument
1676 ret = simple_read_from_buffer(buf, count, ppos, con, len); in sel_read_initcon()
1732 size_t count, loff_t *ppos) in sel_read_class() argument
1737 return simple_read_from_buffer(buf, count, ppos, res, len); in sel_read_class()
1746 size_t count, loff_t *ppos) in sel_read_perm() argument
1751 return simple_read_from_buffer(buf, count, ppos, res, len); in sel_read_perm()
1760 size_t count, loff_t *ppos) in sel_read_policycap() argument
1771 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policycap()