Searched refs:thunk (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/drivers/md/ |
D | dm-cache-metadata.c | 1125 struct thunk { struct 1182 struct thunk *thunk = context; in __load_mapping() local 1183 struct dm_cache_metadata *cmd = thunk->cmd; in __load_mapping() 1189 if (thunk->hints_valid) { in __load_mapping() 1196 dirty = thunk->respect_dirty_flags ? (flags & M_DIRTY) : true; in __load_mapping() 1197 r = thunk->fn(thunk->context, oblock, to_cblock(cblock), in __load_mapping() 1198 dirty, le32_to_cpu(hint_value), thunk->hints_valid); in __load_mapping() 1208 struct thunk thunk; in __load_mappings() local 1210 thunk.fn = fn; in __load_mappings() 1211 thunk.context = context; in __load_mappings() [all …]
|
/linux-4.4.14/drivers/mtd/chips/ |
D | fwh_lock.h | 29 unsigned long adr, int len, void *thunk) in fwh_xxlock_oneblock() argument 32 struct fwh_xxlock_thunk *xxlt = (struct fwh_xxlock_thunk *)thunk; in fwh_xxlock_oneblock()
|
D | cfi_util.c | 353 loff_t ofs, size_t len, void *thunk) in cfi_varsize_frob() argument 413 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); in cfi_varsize_frob()
|
D | cfi_cmdset_0002.c | 2324 …_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument 2456 unsigned long adr, int len, void *thunk) in do_atmel_lock() argument 2491 unsigned long adr, int len, void *thunk) in do_atmel_unlock() argument 2545 unsigned long adr, int len, void *thunk) in do_ppb_xxlock() argument 2568 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_ppb_xxlock() 2572 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_ppb_xxlock() 2580 } else if (thunk == DO_XXLOCK_ONEBLOCK_GETLOCK) { in do_ppb_xxlock()
|
D | cfi_cmdset_0001.c | 1901 unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument 2050 int len, void *thunk) in do_getlockstatus_oneblock() argument 2068 int len, void *thunk) in do_printlockstatus_oneblock() argument 2071 adr, do_getlockstatus_oneblock(map, chip, adr, len, thunk)); in do_printlockstatus_oneblock() 2080 unsigned long adr, int len, void *thunk) in do_xxlock_oneblock() argument 2100 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_xxlock_oneblock() 2103 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_xxlock_oneblock()
|
/linux-4.4.14/include/linux/mtd/ |
D | cfi.h | 386 unsigned long adr, int len, void *thunk); 389 loff_t ofs, size_t len, void *thunk);
|
/linux-4.4.14/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 704 static int do_xxlock(struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk) in do_xxlock() argument 719 if (thunk == DO_XXLOCK_LOCK) { in do_xxlock() 722 } else if (thunk == DO_XXLOCK_UNLOCK) { in do_xxlock()
|