Lines Matching refs:count
822 struct kref count; member
833 t = container_of(kref, struct multi_transaction, count); in multi_transaction_kref()
841 kref_get(&(t->count)); in get_multi_transaction()
849 kref_put(&(t->count), multi_transaction_kref); in put_multi_transaction()
880 kref_init(&t->count); in multi_transaction_new()
946 size_t count, loff_t *ppos) in aa_write_access() argument
954 t = multi_transaction_new(file, ubuf, count); in aa_write_access()
958 if (count > QUERY_CMD_PROFILE_LEN && in aa_write_access()
962 count - QUERY_CMD_PROFILE_LEN, true); in aa_write_access()
963 } else if (count > QUERY_CMD_LABEL_LEN && in aa_write_access()
967 count - QUERY_CMD_LABEL_LEN, true); in aa_write_access()
968 } else if (count > QUERY_CMD_LABELALL_LEN && in aa_write_access()
973 count - QUERY_CMD_LABELALL_LEN, false); in aa_write_access()
974 } else if (count > QUERY_CMD_DATA_LEN && in aa_write_access()
978 count - QUERY_CMD_DATA_LEN); in aa_write_access()
989 return count; in aa_write_access()
1174 int count = 1; in seq_ns_nsstacked_show() local
1181 count++; in seq_ns_nsstacked_show()
1186 seq_printf(seq, "%s\n", str_yes_no(count > 1)); in seq_ns_nsstacked_show()
2564 int count = 0; in aa_mk_null_file() local
2565 int error = simple_pin_fs(parent->d_sb->s_type, &mount, &count); in aa_mk_null_file()
2597 simple_release_fs(&mount, &count); in aa_mk_null_file()