Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/cpu/mtrr/
Dif.c161 struct mtrr_sentry sentry; in mtrr_ioctl() local
176 if (copy_from_user(&sentry, arg, sizeof(sentry))) in mtrr_ioctl()
196 err = get_user(sentry.base, &s32->base); in mtrr_ioctl()
197 err |= get_user(sentry.size, &s32->size); in mtrr_ioctl()
198 err |= get_user(sentry.type, &s32->type); in mtrr_ioctl()
227 mtrr_file_add(sentry.base, sentry.size, sentry.type, true, in mtrr_ioctl()
234 err = mtrr_add(sentry.base, sentry.size, sentry.type, false); in mtrr_ioctl()
240 err = mtrr_file_del(sentry.base, sentry.size, file, 0); in mtrr_ioctl()
246 err = mtrr_del(-1, sentry.base, sentry.size); in mtrr_ioctl()
272 mtrr_file_add(sentry.base, sentry.size, sentry.type, true, in mtrr_ioctl()
[all …]
/linux-6.12.1/Documentation/arch/x86/
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.12.1/fs/f2fs/
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()
Dsegment.c767 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment() local
768 enum dirty_type t = sentry->type; in __locate_dirty_segment()
803 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment() local
804 enum dirty_type t = sentry->type; in __remove_dirty_segment()
1149 struct seg_entry *sentry; in __check_sit_bitmap() local
1156 sentry = get_seg_entry(sbi, segno); in __check_sit_bitmap()
1163 map = (unsigned long *)(sentry->cur_valid_map); in __check_sit_bitmap()
4941 struct seg_entry *sentry; in init_free_segmap() local
4946 sentry = get_seg_entry(sbi, start); in init_free_segmap()
4947 if (!sentry->valid_blocks) in init_free_segmap()
[all …]
Dgc.c1016 struct seg_entry *sentry; in check_valid_map() local
1020 sentry = get_seg_entry(sbi, segno); in check_valid_map()
1021 ret = f2fs_test_bit(offset, sentry->cur_valid_map); in check_valid_map()
/linux-6.12.1/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c2891 struct rdtgroup *sentry, *stmp; in free_all_child_rdtgrp() local
2895 list_for_each_entry_safe(sentry, stmp, head, mon.crdtgrp_list) { in free_all_child_rdtgrp()
2896 free_rmid(sentry->closid, sentry->mon.rmid); in free_all_child_rdtgrp()
2897 list_del(&sentry->mon.crdtgrp_list); in free_all_child_rdtgrp()
2899 if (atomic_read(&sentry->waitcount) != 0) in free_all_child_rdtgrp()
2900 sentry->flags = RDT_DELETED; in free_all_child_rdtgrp()
2902 rdtgroup_remove(sentry); in free_all_child_rdtgrp()
/linux-6.12.1/security/selinux/ss/
Dservices.c1638 struct sidtab_entry *sentry, in compute_sid_handle_invalid_context() argument
1649 if (sidtab_entry_to_string(policydb, sidtab, sentry, &s, &slen)) in compute_sid_handle_invalid_context()
1717 struct sidtab_entry *sentry, *tentry; in security_compute_sid() local
1756 sentry = sidtab_search_entry(sidtab, ssid); in security_compute_sid()
1757 if (!sentry) { in security_compute_sid()
1771 scontext = &sentry->context; in security_compute_sid()
1876 rc = compute_sid_handle_invalid_context(policy, sentry, in security_compute_sid()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
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.12.1/Documentation/filesystems/ext4/
Djournal.rst583 The commit block is a sentry that indicates that a transaction has been