Lines Matching refs:sbid
905 struct tape_34xx_sbid * sbid; in tape_34xx_add_sbid() local
926 sbid = list_entry(l, struct tape_34xx_sbid, list); in tape_34xx_add_sbid()
929 (sbid->bid.segment == bid.segment) && in tape_34xx_add_sbid()
930 (sbid->bid.wrap == bid.wrap) in tape_34xx_add_sbid()
932 if (bid.block < sbid->bid.block) in tape_34xx_add_sbid()
933 sbid->bid = bid; in tape_34xx_add_sbid()
939 if (bid.block < sbid->bid.block) { in tape_34xx_add_sbid()
950 sbid = list_entry(l, struct tape_34xx_sbid, list); in tape_34xx_add_sbid()
952 sbid->bid.wrap, in tape_34xx_add_sbid()
953 sbid->bid.segment, in tape_34xx_add_sbid()
954 sbid->bid.block in tape_34xx_add_sbid()
967 struct tape_34xx_sbid * sbid; in tape_34xx_delete_sbid_from() local
976 sbid = list_entry(l, struct tape_34xx_sbid, list); in tape_34xx_delete_sbid_from()
977 if (sbid->bid.block >= from) { in tape_34xx_delete_sbid_from()
979 sbid->bid.wrap, in tape_34xx_delete_sbid_from()
980 sbid->bid.segment, in tape_34xx_delete_sbid_from()
981 sbid->bid.block in tape_34xx_delete_sbid_from()
984 kfree(sbid); in tape_34xx_delete_sbid_from()
997 struct tape_34xx_sbid * sbid; in tape_34xx_merge_sbid() local
1011 sbid = list_entry(l, struct tape_34xx_sbid, list); in tape_34xx_merge_sbid()
1013 if (sbid->bid.block >= bid->block) in tape_34xx_merge_sbid()
1015 sbid_to_use = sbid; in tape_34xx_merge_sbid()