Searched refs:lhs (Results 1 – 10 of 10) sorted by relevance
/linux-3.4.99/include/linux/ |
D | time.h | 56 static inline int timespec_compare(const struct timespec *lhs, const struct timespec *rhs) in timespec_compare() argument 58 if (lhs->tv_sec < rhs->tv_sec) in timespec_compare() 60 if (lhs->tv_sec > rhs->tv_sec) in timespec_compare() 62 return lhs->tv_nsec - rhs->tv_nsec; in timespec_compare() 65 static inline int timeval_compare(const struct timeval *lhs, const struct timeval *rhs) in timeval_compare() argument 67 if (lhs->tv_sec < rhs->tv_sec) in timeval_compare() 69 if (lhs->tv_sec > rhs->tv_sec) in timeval_compare() 71 return lhs->tv_usec - rhs->tv_usec; in timeval_compare() 85 extern struct timespec timespec_add_safe(const struct timespec lhs, 89 static inline struct timespec timespec_add(struct timespec lhs, in timespec_add() argument [all …]
|
D | ktime.h | 84 #define ktime_sub(lhs, rhs) \ argument 85 ({ (ktime_t){ .tv64 = (lhs).tv64 - (rhs).tv64 }; }) 88 #define ktime_add(lhs, rhs) \ argument 89 ({ (ktime_t){ .tv64 = (lhs).tv64 + (rhs).tv64 }; }) 156 static inline ktime_t ktime_sub(const ktime_t lhs, const ktime_t rhs) in ktime_sub() argument 160 res.tv64 = lhs.tv64 - rhs.tv64; in ktime_sub() 312 extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs);
|
D | compat.h | 321 static inline int compat_timeval_compare(struct compat_timeval *lhs, in compat_timeval_compare() argument 324 if (lhs->tv_sec < rhs->tv_sec) in compat_timeval_compare() 326 if (lhs->tv_sec > rhs->tv_sec) in compat_timeval_compare() 328 return lhs->tv_usec - rhs->tv_usec; in compat_timeval_compare() 331 static inline int compat_timespec_compare(struct compat_timespec *lhs, in compat_timespec_compare() argument 334 if (lhs->tv_sec < rhs->tv_sec) in compat_timespec_compare() 336 if (lhs->tv_sec > rhs->tv_sec) in compat_timespec_compare() 338 return lhs->tv_nsec - rhs->tv_nsec; in compat_timespec_compare()
|
/linux-3.4.99/kernel/ |
D | time.c | 693 struct timespec timespec_add_safe(const struct timespec lhs, in timespec_add_safe() argument 698 set_normalized_timespec(&res, lhs.tv_sec + rhs.tv_sec, in timespec_add_safe() 699 lhs.tv_nsec + rhs.tv_nsec); in timespec_add_safe() 701 if (res.tv_sec < lhs.tv_sec || res.tv_sec < rhs.tv_sec) in timespec_add_safe()
|
D | hrtimer.c | 343 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) in ktime_add_safe() argument 345 ktime_t res = ktime_add(lhs, rhs); in ktime_add_safe() 351 if (res.tv64 < 0 || res.tv64 < lhs.tv64 || res.tv64 < rhs.tv64) in ktime_add_safe()
|
/linux-3.4.99/drivers/md/ |
D | dm-thin.c | 190 static int keys_equal(struct cell_key *lhs, struct cell_key *rhs) in keys_equal() argument 192 return (lhs->virtual == rhs->virtual) && in keys_equal() 193 (lhs->dev == rhs->dev) && in keys_equal() 194 (lhs->block == rhs->block); in keys_equal()
|
D | dm-snap.c | 158 static int bdev_equal(struct block_device *lhs, struct block_device *rhs) in bdev_equal() argument 164 return lhs == rhs; in bdev_equal()
|
/linux-3.4.99/arch/openrisc/kernel/ |
D | entry.S | 367 l.bf lhs 383 lhs: l.lbs r5,0(r2)
|
/linux-3.4.99/drivers/net/ethernet/3com/ |
D | 3c59x.c | 507 #define BFINS(lhs, rhs, offset, bitcount) \ argument 508 (((lhs) & ~((((1 << (bitcount)) - 1)) << (offset))) | \
|
/linux-3.4.99/drivers/pinctrl/ |
D | pinctrl-tegra20.c | 2744 …MUX_PG(lhs, DISPLAYA, DISPLAYB, XIO, RSVD4, RSVD4, 0x20, 7, 0x90, 22, -1, …
|