Searched refs:lim (Results 1 – 4 of 4) sorted by relevance
14 int bcm47xx_nvram_init_from_mem(u32 base, u32 lim);23 static inline int bcm47xx_nvram_init_from_mem(u32 base, u32 lim) in bcm47xx_nvram_init_from_mem() argument
1144 extern void blk_set_default_limits(struct queue_limits *lim);1145 extern void blk_set_stacking_limits(struct queue_limits *lim);1482 static inline int queue_limit_alignment_offset(struct queue_limits *lim, sector_t sector) in queue_limit_alignment_offset() argument1484 unsigned int granularity = max(lim->physical_block_size, lim->io_min); in queue_limit_alignment_offset()1488 return (granularity + lim->alignment_offset - alignment) % granularity; in queue_limit_alignment_offset()1511 static inline int queue_limit_discard_alignment(struct queue_limits *lim, sector_t sector) in queue_limit_discard_alignment() argument1515 if (!lim->max_discard_sectors) in queue_limit_discard_alignment()1519 alignment = lim->discard_alignment >> SECTOR_SHIFT; in queue_limit_discard_alignment()1520 granularity = lim->discard_granularity >> SECTOR_SHIFT; in queue_limit_discard_alignment()
95 struct btrfs_qgroup_limit lim; member101 struct btrfs_qgroup_limit lim; member
179 int (*set_thermal_protection)(struct regulator_dev *, int lim,