Searched refs:generation (Results 1 - 25 of 241) sorted by last modified time

12345678910

/linux-master/fs/btrfs/
H A Dvolumes.c666 device->generation = btrfs_super_generation(disk_super);
877 if (!fs_devices->opened && found_transid < device->generation) {
882 * with larger generation number or the last-in if
883 * generation are equal.
887 "device %s already registered with a higher generation, found %llu expect %llu",
888 path, found_transid, device->generation);
905 "duplicate device %s devid %llu generation %llu scanned by %s (%d)",
934 * generation along with most of the other members. So just update
935 * it back. We need it to pick the disk with largest generation
939 device->generation
[all...]
H A Dqgroup.c450 } else if (btrfs_qgroup_status_generation(l, ptr) != fs_info->generation) {
453 "qgroup generation mismatch, marked as inconsistent");
493 /* generation currently unused */
2305 * Helper function to do recursive generation-aware depth-first search, to
2468 /* Do the generation aware breadth-first search */
4578 * @last_snapshot: last snapshot generation of the subvolume tree
4818 if (delta->generation < fs_info->qgroup_enable_gen)
H A Dioctl.c2200 subvol_info->generation = btrfs_root_generation(root_item);
2890 fi_args->generation = btrfs_get_fs_generation(fs_info);
H A Dscrub.c82 * tree block share the same generation.
84 u64 generation; member in union:scrub_sector_verification::__anon7
673 if (stripe->sectors[sector_nr].generation !=
678 "tree block %llu mirror %u has bad generation, has %llu want %llu",
681 stripe->sectors[sector_nr].generation);
1499 sector->generation = extent_gen;
1647 stripe->sectors[i].generation = 0;
2753 struct page *page, u64 physical, u64 generation)
2776 if (btrfs_super_generation(sb) != generation) {
2778 "super block at physical %llu devid %llu has bad generation
2752 scrub_one_super(struct scrub_ctx *sctx, struct btrfs_device *dev, struct page *page, u64 physical, u64 generation) argument
[all...]
H A Dinode.c1895 * If the extent was created before the generation where the last snapshot
3826 BTRFS_I(inode)->generation = btrfs_inode_generation(leaf, inode_item);
3831 inode->i_generation = BTRFS_I(inode)->generation;
3841 * If we were modified in the current generation and evicted from memory
3883 * Same logic as for last_unlink_trans. We don't persist the generation
3998 BTRFS_I(inode)->generation);
4992 hole_em->generation = btrfs_get_fs_generation(fs_info);
6287 BTRFS_I(inode)->generation = trans->transid;
6288 inode->i_generation = BTRFS_I(inode)->generation;
7107 * cow. e.g., don't trust generation numbe
[all...]
H A Dextent_map.c257 em->generation = max(em->generation, merge->generation);
275 em->generation = max(em->generation, merge->generation);
287 * @gen: generation that this extent has been modified in
289 * Called after an extent has been written to disk properly. Set the generation
290 * to the generation that actually added the file item to the inode so we know
310 "no extent map found for inode %llu (root %lld) when unpinning extent range [%llu, %llu), generation
[all...]
/linux-master/drivers/firewire/
H A Dohci.c183 int generation; member in struct:fw_ohci
385 ", reset packet generation = " __stringify(QUIRK_RESET_PACKET)
460 static void log_selfids(struct fw_ohci *ohci, int generation, int self_id_count) argument
467 ohci_notice(ohci, "%d selfIDs, generation %d, local node ID %04x\n",
468 self_id_count, generation, ohci->node_id);
529 ohci_notice(ohci, "A%c evt_bus_reset, generation %d\n",
906 p.generation = ohci->request_generation;
920 * the new generation number when a bus reset happens (see
923 * generation. We only need this for requests; for responses
928 * wrong generation
1940 int self_id_count, generation, new_generation, i, j; local
2636 ohci_enable_phys_dma(struct fw_card *card, int node_id, int generation) argument
[all...]
/linux-master/drivers/scsi/
H A Dsd.c1880 keys_info->generation = get_unaligned_be32(&data[0]);
1920 rsv->generation = get_unaligned_be32(&data[0]);
/linux-master/fs/erofs/
H A Dsuper.c543 u64 ino, u32 generation)
542 erofs_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument
/linux-master/net/wireless/
H A Dtrace.h189 #define SINFO_ENTRY __field(int, generation) \
205 __entry->generation = sinfo->generation; \
1053 __field(int, generation)
1066 __entry->generation = pinfo->generation;
1076 TP_printk(WIPHY_PR_FMT ", returned %d. mpath info - generation: %d, "
1079 WIPHY_PR_ARG, __entry->ret, __entry->generation,
H A Dnl80211.c6547 nla_put_u32(msg, NL80211_ATTR_GENERATION, sinfo->generation))
7713 nla_put_u32(msg, NL80211_ATTR_GENERATION, pinfo->generation))
/linux-master/fs/ntfs3/
H A Dsuper.c788 u32 generation)
799 ref.seq = cpu_to_le16(generation);
787 ntfs_export_get_inode(struct super_block *sb, u64 ino, u32 generation) argument
/linux-master/virt/kvm/
H A Dpfncache.c84 if (!kvm_is_error_gpa(gpc->gpa) && gpc->generation != slots->generation)
170 * different task may not fail the gpa/uhva/generation checks.
289 if (gpc->gpa != gpa || gpc->generation != slots->generation ||
294 gpc->generation = slots->generation;
304 * Even if the GPA and/or the memslot generation changed, the
337 * Some/all of the uhva, gpa, and memslot generation info may still be
456 * memslot generation
[all...]
H A Dkvm_main.c1247 slots->generation = i;
1634 /* Grab the generation from the activate memslots. */
1635 u64 gen = __kvm_memslots(kvm, as_id)->generation;
1638 slots->generation = gen | KVM_MEMSLOT_GEN_UPDATE_IN_PROGRESS;
1667 * Increment the new memslot generation a second time, dropping the
1668 * update in-progress flag and incrementing the generation based on
1670 * identifiable generation number while the memslots are in flux.
1672 gen = slots->generation & ~KVM_MEMSLOT_GEN_UPDATE_IN_PROGRESS;
1676 * a global counter for that, instead the generation space is evenly split
1685 slots->generation
[all...]
/linux-master/drivers/thunderbolt/
H A Dtb.h132 * @generation: Switch Thunderbolt generation
186 unsigned int generation; member in struct:tb_switch
H A Dtb.c1305 sw->rpm = sw->generation > 1;
H A Dswitch.c926 * tb_port_get_link_generation() - Returns link generation
929 * Returns link generation as number or negative errno in case of
1512 switch (sw->generation) {
1546 if (sw->generation > 1) {
1888 return sysfs_emit(buf, "%u\n", sw->generation);
1890 static DEVICE_ATTR_RO(generation);
2377 * For unknown switches assume generation to be 1 to be on the
2443 sw->generation = tb_switch_get_generation(sw);
2688 switch (sw->generation) {
3816 if (sw->generation !
[all...]
/linux-master/arch/x86/kvm/
H A Dx86.c2532 * on/off, or when starting a new generation and the masterclock is
2534 * taken _after_ the new generation is created).
2667 * offset for the vcpu and tracks the TSC matching generation that the vcpu
2693 * For each generation, we track the original measured
2709 /* Keep track of which generation this VCPU has synchronized to */
3697 if (unlikely(slots->generation != ghc->generation ||
5097 if (unlikely(slots->generation != ghc->generation ||
5120 * cache generation agains
[all...]
/linux-master/arch/x86/kvm/mmu/
H A Dmmu.c320 gen = kvm_vcpu_memslots(vcpu)->generation;
2016 /* TDP MMU pages do not use the MMU generation. */
3346 * generation number. Refreshing the MMIO generation needs to go down
4780 * of a change in the MMU generation number. However, changing the
4781 * generation number is accompanied by KVM_REQ_MMU_FREE_OBSOLETE_ROOTS,
6222 * pages with an obsolete generation number and all vCPUS have
6273 * one valid generation and (at most) one invalid generation.
6857 * modifier prior to checking for a wrap of the MMIO generation s
[all...]
/linux-master/net/netfilter/
H A Dnf_tables_api.c9683 /* chain had no change in last or next generation */
9687 * chain had no change in this generation; make sure next
9688 * one uses same rules as current generation.
10098 static void nf_tables_commit_audit_log(struct list_head *adl, u32 generation) argument
10105 generation);
10191 /* 1. Allocate space for next generation rules_gen_X[] */
10221 * Bump generation counter, invalidate any dump in progress.
10232 /* step 3. Start new generation, rules_gen_X now in use. */
/linux-master/fs/fuse/
H A Dinode.c428 int generation, struct fuse_attr *attr,
473 inode->i_generation = generation;
476 } else if (fuse_stale_inode(inode, generation, attr)) {
997 u32 generation; member in struct:fuse_inode_handle
1032 if (inode->i_generation != handle->generation)
1052 u32 generation; local
1060 generation = inode->i_generation;
1064 fh[2] = generation;
1068 generation = parent->i_generation;
1072 fh[5] = generation;
427 fuse_iget(struct super_block *sb, u64 nodeid, int generation, struct fuse_attr *attr, u64 attr_valid, u64 attr_version) argument
[all...]
H A Dfuse_i.h984 static inline bool fuse_stale_inode(const struct inode *inode, int generation, argument
987 return inode->i_generation != generation ||
1042 int generation, struct fuse_attr *attr,
H A Ddir.c254 fuse_stale_inode(inode, outarg.generation, &outarg.attr))
394 if (outarg->nodeid == FUSE_ROOT_ID && outarg->generation != 0) {
395 pr_warn_once("root generation should be zero\n");
396 outarg->generation = 0;
399 *inode = fuse_iget(sb, outarg->nodeid, outarg->generation,
688 inode = fuse_iget(dir->i_sb, outentry.nodeid, outentry.generation,
818 inode = fuse_iget(dir->i_sb, outarg.nodeid, outarg.generation,
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.c422 * amdgpu_vm_generation - return the page table re-generation counter
426 * Returns a page table re-generation token to allow checking if submissions
437 result += vm->generation;
472 ++vm->generation;
2410 vm->generation = 0;
H A Damdgpu_cs.c298 if (p->ctx->generation != p->gang_leader->generation) {

Completed in 582 milliseconds

12345678910