Home
last modified time | relevance | path

Searched refs:sentry (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/arch/x86/kernel/cpu/mtrr/
H A Dif.c159 struct mtrr_sentry sentry; in mtrr_ioctl() local
174 if (copy_from_user(&sentry, arg, sizeof(sentry))) in mtrr_ioctl()
194 err = get_user(sentry.base, &s32->base); in mtrr_ioctl()
225 mtrr_file_add(sentry.base, sentry.size, sentry.type, true, in mtrr_ioctl()
232 err = mtrr_add(sentry.base, sentry.size, sentry.type, false); in mtrr_ioctl()
238 err = mtrr_file_del(sentry.base, sentry.size, file, 0); in mtrr_ioctl()
244 err = mtrr_del(-1, sentry.base, sentry.size); in mtrr_ioctl()
270 mtrr_file_add(sentry.base, sentry.size, sentry.type, true, in mtrr_ioctl()
278 mtrr_add_page(sentry.base, sentry.size, sentry.type, false); in mtrr_ioctl()
284 err = mtrr_file_del(sentry.base, sentry.size, file, 1); in mtrr_ioctl()
[all …]
/linux-6.15/Documentation/arch/x86/
H A Dmtrr.rst315 struct mtrr_sentry sentry;
322 sentry.base = strtoul (argv[1], NULL, 0);
323 sentry.size = strtoul (argv[2], NULL, 0);
324 for (sentry.type = 0; sentry.type < MTRR_NUM_TYPES; ++sentry.type)
326 if (strcmp (argv[3], mtrr_strings[sentry.type]) == 0) break;
328 if (sentry.type >= MTRR_NUM_TYPES)
344 if (ioctl (fd, MTRRIOC_ADD_ENTRY, &sentry) == -1)
/linux-6.15/fs/f2fs/
H A Drecovery.c490 struct seg_entry *sentry; in check_index_in_prev_nodes() local
503 sentry = get_seg_entry(sbi, segno); in check_index_in_prev_nodes()
504 if (!f2fs_test_bit(blkoff, sentry->cur_valid_map)) in check_index_in_prev_nodes()
H A Dsegment.c773 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment() local
774 enum dirty_type t = sentry->type; in __locate_dirty_segment()
809 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment() local
810 enum dirty_type t = sentry->type; in __remove_dirty_segment()
1155 struct seg_entry *sentry; in __check_sit_bitmap() local
1162 sentry = get_seg_entry(sbi, segno); in __check_sit_bitmap()
1169 map = (unsigned long *)(sentry->cur_valid_map); in __check_sit_bitmap()
5046 struct seg_entry *sentry; in init_free_segmap() local
5051 sentry = get_seg_entry(sbi, start); in init_free_segmap()
5052 if (!sentry->valid_blocks) in init_free_segmap()
[all …]
H A Dgc.c1012 struct seg_entry *sentry; in check_valid_map() local
1016 sentry = get_seg_entry(sbi, segno); in check_valid_map()
1017 ret = f2fs_test_bit(offset, sentry->cur_valid_map); in check_valid_map()
/linux-6.15/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c3000 struct rdtgroup *sentry, *stmp; in free_all_child_rdtgrp() local
3004 list_for_each_entry_safe(sentry, stmp, head, mon.crdtgrp_list) { in free_all_child_rdtgrp()
3005 free_rmid(sentry->closid, sentry->mon.rmid); in free_all_child_rdtgrp()
3006 list_del(&sentry->mon.crdtgrp_list); in free_all_child_rdtgrp()
3008 if (atomic_read(&sentry->waitcount) != 0) in free_all_child_rdtgrp()
3009 sentry->flags = RDT_DELETED; in free_all_child_rdtgrp()
3011 rdtgroup_remove(sentry); in free_all_child_rdtgrp()
/linux-6.15/security/selinux/ss/
H A Dservices.c1667 struct sidtab_entry *sentry, in compute_sid_handle_invalid_context() argument
1678 if (sidtab_entry_to_string(policydb, sidtab, sentry, &s, &slen)) in compute_sid_handle_invalid_context()
1746 struct sidtab_entry *sentry, *tentry; in security_compute_sid() local
1785 sentry = sidtab_search_entry(sidtab, ssid); in security_compute_sid()
1786 if (!sentry) { in security_compute_sid()
1800 scontext = &sentry->context; in security_compute_sid()
1905 rc = compute_sid_handle_invalid_context(policy, sentry, in security_compute_sid()
/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dmad.c3897 u32 sentry, eentry; in __subn_get_opa_cc_table() local
3917 sentry = start_block * IB_CCT_ENTRIES; in __subn_get_opa_cc_table()
3918 eentry = sentry + (IB_CCT_ENTRIES * n_blocks); in __subn_get_opa_cc_table()
3925 for (j = 0, i = sentry; i < eentry; j++, i++) in __subn_get_opa_cc_table()
3948 u32 sentry, eentry; in __subn_set_opa_cc_table() local
3959 sentry = start_block * IB_CCT_ENTRIES; in __subn_set_opa_cc_table()
3960 eentry = sentry + ((n_blocks - 1) * IB_CCT_ENTRIES) + in __subn_set_opa_cc_table()
3977 for (j = 0, i = sentry; i < eentry; j++, i++) in __subn_set_opa_cc_table()
/linux-6.15/Documentation/filesystems/ext4/
H A Djournal.rst583 The commit block is a sentry that indicates that a transaction has been