/linux-4.19.296/fs/lockd/ |
D | host.c | 37 #define for_each_host(host, chain, table) \ argument 40 hlist_for_each_entry((host), (chain), h_hash) 42 #define for_each_host_safe(host, next, chain, table) \ argument 45 hlist_for_each_entry_safe((host), (next), \ 113 struct nlm_host *host = NULL; in nlm_alloc_host() local 119 host = NULL; in nlm_alloc_host() 129 host = kmalloc(sizeof(*host), GFP_KERNEL); in nlm_alloc_host() 130 if (unlikely(host == NULL)) { in nlm_alloc_host() 136 memcpy(nlm_addr(host), ni->sap, ni->salen); in nlm_alloc_host() 137 host->h_addrlen = ni->salen; in nlm_alloc_host() [all …]
|
D | clntlock.c | 55 struct nlm_host *host; in nlmclnt_init() local 63 host = nlmclnt_lookup_host(nlm_init->address, nlm_init->addrlen, in nlmclnt_init() 67 if (host == NULL) in nlmclnt_init() 69 if (host->h_rpcclnt == NULL && nlm_bind_host(host) == NULL) in nlmclnt_init() 72 host->h_nlmclnt_ops = nlm_init->nlmclnt_ops; in nlmclnt_init() 73 return host; in nlmclnt_init() 75 nlmclnt_release_host(host); in nlmclnt_init() 87 void nlmclnt_done(struct nlm_host *host) in nlmclnt_done() argument 89 struct net *net = host->net; in nlmclnt_done() 91 nlmclnt_release_host(host); in nlmclnt_done() [all …]
|
D | clntproc.c | 30 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host); 57 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlm_put_lockowner() 60 spin_unlock(&lockowner->host->h_lock); in nlm_put_lockowner() 61 nlmclnt_release_host(lockowner->host); in nlm_put_lockowner() 65 static inline int nlm_pidbusy(struct nlm_host *host, uint32_t pid) in nlm_pidbusy() argument 68 list_for_each_entry(lockowner, &host->h_lockowners, list) { in nlm_pidbusy() 75 static inline uint32_t __nlm_alloc_pid(struct nlm_host *host) in __nlm_alloc_pid() argument 79 res = host->h_pidcount++; in __nlm_alloc_pid() 80 } while (nlm_pidbusy(host, res) < 0); in __nlm_alloc_pid() 84 static struct nlm_lockowner *__nlm_find_lockowner(struct nlm_host *host, fl_owner_t owner) in __nlm_find_lockowner() argument [all …]
|
D | svc4proc.c | 26 struct nlm_host *host = NULL; in nlm4svc_retrieve_args() local 36 if (!(host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len)) in nlm4svc_retrieve_args() 37 || (argp->monitor && nsm_monitor(host) < 0)) in nlm4svc_retrieve_args() 39 *hostp = host; in nlm4svc_retrieve_args() 49 lock->fl.fl_owner = (fl_owner_t) host; in nlm4svc_retrieve_args() 56 nlmsvc_release_host(host); in nlm4svc_retrieve_args() 79 struct nlm_host *host; in __nlm4svc_proc_test() local 87 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test() 91 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test() 97 nlmsvc_release_host(host); in __nlm4svc_proc_test() [all …]
|
D | svcproc.c | 55 struct nlm_host *host = NULL; in nlmsvc_retrieve_args() local 65 if (!(host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len)) in nlmsvc_retrieve_args() 66 || (argp->monitor && nsm_monitor(host) < 0)) in nlmsvc_retrieve_args() 68 *hostp = host; in nlmsvc_retrieve_args() 79 lock->fl.fl_owner = (fl_owner_t) host; in nlmsvc_retrieve_args() 86 nlmsvc_release_host(host); in nlmsvc_retrieve_args() 109 struct nlm_host *host; in __nlmsvc_proc_test() local 117 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_test() 121 …resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->coo… in __nlmsvc_proc_test() 128 nlmsvc_release_host(host); in __nlmsvc_proc_test() [all …]
|
D | svcsubs.c | 162 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks() argument 183 if (match(lockhost, host)) { in nlm_traverse_locks() 213 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file() argument 215 nlmsvc_traverse_blocks(host, file, match); in nlm_inspect_file() 216 nlmsvc_traverse_shares(host, file, match); in nlm_inspect_file() 217 return nlm_traverse_locks(host, file, match); in nlm_inspect_file() 332 struct nlm_host *host = data; in nlmsvc_mark_host() local 335 (host->net == hint->net)) in nlmsvc_mark_host() 336 host->h_inuse = 1; in nlmsvc_mark_host() 343 struct nlm_host *host = data; in nlmsvc_same_host() local [all …]
|
D | svcshare.c | 28 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_share_file() argument 36 if (share->s_host == host && nlm_cmp_owner(share, oh)) in nlmsvc_share_file() 53 share->s_host = host; in nlmsvc_share_file() 69 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_unshare_file() argument 77 if (share->s_host == host && nlm_cmp_owner(share, oh)) { in nlmsvc_unshare_file() 93 void nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, in nlmsvc_traverse_shares() argument 100 if (match(share->s_host, host)) { in nlmsvc_traverse_shares()
|
/linux-4.19.296/drivers/memstick/host/ |
D | jmb38x_ms.c | 158 static unsigned int jmb38x_ms_read_data(struct jmb38x_ms_host *host, in jmb38x_ms_read_data() argument 163 while (host->io_pos && length) { in jmb38x_ms_read_data() 164 buf[off++] = host->io_word[0] & 0xff; in jmb38x_ms_read_data() 165 host->io_word[0] >>= 8; in jmb38x_ms_read_data() 167 host->io_pos--; in jmb38x_ms_read_data() 173 while (!(STATUS_FIFO_EMPTY & readl(host->addr + STATUS))) { in jmb38x_ms_read_data() 176 *(unsigned int *)(buf + off) = __raw_readl(host->addr + DATA); in jmb38x_ms_read_data() 182 && !(STATUS_FIFO_EMPTY & readl(host->addr + STATUS))) { in jmb38x_ms_read_data() 183 host->io_word[0] = readl(host->addr + DATA); in jmb38x_ms_read_data() 184 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in jmb38x_ms_read_data() [all …]
|
D | tifm_ms.c | 86 static unsigned int tifm_ms_read_data(struct tifm_ms *host, in tifm_ms_read_data() argument 89 struct tifm_dev *sock = host->dev; in tifm_ms_read_data() 92 while (host->io_pos && length) { in tifm_ms_read_data() 93 buf[off++] = host->io_word & 0xff; in tifm_ms_read_data() 94 host->io_word >>= 8; in tifm_ms_read_data() 96 host->io_pos--; in tifm_ms_read_data() 113 host->io_word = readl(sock->addr + SOCK_MS_DATA); in tifm_ms_read_data() 114 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in tifm_ms_read_data() 115 buf[off++] = host->io_word & 0xff; in tifm_ms_read_data() 116 host->io_word >>= 8; in tifm_ms_read_data() [all …]
|
D | rtsx_usb_ms.c | 54 static inline struct device *ms_dev(struct rtsx_usb_ms *host) in ms_dev() argument 56 return &(host->pdev->dev); in ms_dev() 59 static inline void ms_clear_error(struct rtsx_usb_ms *host) in ms_clear_error() argument 61 struct rtsx_ucr *ucr = host->ucr; in ms_clear_error() 72 static void ms_print_debug_regs(struct rtsx_usb_ms *host) in ms_print_debug_regs() argument 74 struct rtsx_ucr *ucr = host->ucr; in ms_print_debug_regs() 104 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); in ms_print_debug_regs() 106 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); in ms_print_debug_regs() 108 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); in ms_print_debug_regs() 110 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", CARD_DATA_SOURCE, *(ptr++)); in ms_print_debug_regs() [all …]
|
D | rtsx_pci_ms.c | 45 static inline struct device *ms_dev(struct realtek_pci_ms *host) in ms_dev() argument 47 return &(host->pdev->dev); in ms_dev() 50 static inline void ms_clear_error(struct realtek_pci_ms *host) in ms_clear_error() argument 52 rtsx_pci_write_register(host->pcr, CARD_STOP, in ms_clear_error() 58 static void ms_print_debug_regs(struct realtek_pci_ms *host) in ms_print_debug_regs() argument 60 struct rtsx_pcr *pcr = host->pcr; in ms_print_debug_regs() 74 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); in ms_print_debug_regs() 76 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); in ms_print_debug_regs() 81 #define ms_print_debug_regs(host) argument 85 static int ms_power_on(struct realtek_pci_ms *host) in ms_power_on() argument [all …]
|
D | r592.c | 573 error = memstick_next_req(dev->host, &dev->req); in r592_process_thread() 621 memstick_detect_change(dev->host); in r592_detect_timer() 681 static int r592_set_param(struct memstick_host *host, in r592_set_param() argument 684 struct r592_device *dev = memstick_priv(host); in r592_set_param() 711 static void r592_submit_req(struct memstick_host *host) in r592_submit_req() argument 713 struct r592_device *dev = memstick_priv(host); in r592_submit_req() 735 struct memstick_host *host; in r592_probe() local 739 host = memstick_alloc_host(sizeof(struct r592_device), &pdev->dev); in r592_probe() 740 if (!host) in r592_probe() 743 dev = memstick_priv(host); in r592_probe() [all …]
|
/linux-4.19.296/drivers/memstick/core/ |
D | memstick.c | 185 struct memstick_host *host = container_of(dev, struct memstick_host, in memstick_free() local 187 kfree(host); in memstick_free() 211 void memstick_detect_change(struct memstick_host *host) in memstick_detect_change() argument 213 queue_work(workqueue, &host->media_checker); in memstick_detect_change() 227 int memstick_next_req(struct memstick_host *host, struct memstick_request **mrq) in memstick_next_req() argument 231 if ((*mrq) && (*mrq)->error && host->retries) { in memstick_next_req() 233 host->retries--; in memstick_next_req() 237 if (host->card && host->card->next_request) in memstick_next_req() 238 rc = host->card->next_request(host->card, mrq); in memstick_next_req() 241 host->retries = cmd_retries > 1 ? cmd_retries - 1 : 1; in memstick_next_req() [all …]
|
/linux-4.19.296/include/linux/mmc/ |
D | host.h | 94 void (*post_req)(struct mmc_host *host, struct mmc_request *req, 96 void (*pre_req)(struct mmc_host *host, struct mmc_request *req); 97 void (*request)(struct mmc_host *host, struct mmc_request *req); 113 void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios); 122 int (*get_ro)(struct mmc_host *host); 131 int (*get_cd)(struct mmc_host *host); 133 void (*enable_sdio_irq)(struct mmc_host *host, int enable); 134 void (*ack_sdio_irq)(struct mmc_host *host); 137 void (*init_card)(struct mmc_host *host, struct mmc_card *card); 139 int (*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios); [all …]
|
D | slot-gpio.h | 19 int mmc_gpio_get_ro(struct mmc_host *host); 20 int mmc_gpio_request_ro(struct mmc_host *host, unsigned int gpio); 22 int mmc_gpio_get_cd(struct mmc_host *host); 23 int mmc_gpio_request_cd(struct mmc_host *host, unsigned int gpio, 26 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id, 29 int mmc_gpiod_request_ro(struct mmc_host *host, const char *con_id, 32 void mmc_gpio_set_cd_isr(struct mmc_host *host, 34 int mmc_gpio_set_cd_wake(struct mmc_host *host, bool on); 35 void mmc_gpiod_request_cd_irq(struct mmc_host *host); 36 bool mmc_can_gpio_cd(struct mmc_host *host); [all …]
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-cbus-gpio.c | 52 static void cbus_send_bit(struct cbus_host *host, unsigned bit) in cbus_send_bit() argument 54 gpio_set_value(host->dat_gpio, bit ? 1 : 0); in cbus_send_bit() 55 gpio_set_value(host->clk_gpio, 1); in cbus_send_bit() 56 gpio_set_value(host->clk_gpio, 0); in cbus_send_bit() 65 static void cbus_send_data(struct cbus_host *host, unsigned data, unsigned len) in cbus_send_data() argument 70 cbus_send_bit(host, data & (1 << (i - 1))); in cbus_send_data() 77 static int cbus_receive_bit(struct cbus_host *host) in cbus_receive_bit() argument 81 gpio_set_value(host->clk_gpio, 1); in cbus_receive_bit() 82 ret = gpio_get_value(host->dat_gpio); in cbus_receive_bit() 83 gpio_set_value(host->clk_gpio, 0); in cbus_receive_bit() [all …]
|
/linux-4.19.296/fs/ubifs/ |
D | xattr.c | 99 static int create_xattr(struct ubifs_info *c, struct inode *host, in create_xattr() argument 104 struct ubifs_inode *ui, *host_ui = ubifs_inode(host); in create_xattr() 111 host->i_ino, host_ui->xattr_cnt); in create_xattr() 123 host->i_ino, names_len, XATTR_LIST_MAX); in create_xattr() 131 inode = ubifs_new_inode(c, host, S_IFREG | S_IRWXUGO); in create_xattr() 155 host->i_ctime = current_time(host); in create_xattr() 170 err = ubifs_jnl_update(c, host, nm, inode, 0, 1); in create_xattr() 173 ubifs_set_inode_flags(host); in create_xattr() 208 static int change_xattr(struct ubifs_info *c, struct inode *host, in change_xattr() argument 212 struct ubifs_inode *host_ui = ubifs_inode(host); in change_xattr() [all …]
|
/linux-4.19.296/include/trace/events/ |
D | filemap.h | 31 __entry->i_ino = page->mapping->host->i_ino; 33 if (page->mapping->host->i_sb) 34 __entry->s_dev = page->mapping->host->i_sb->s_dev; 36 __entry->s_dev = page->mapping->host->i_rdev; 69 __entry->i_ino = mapping->host->i_ino; 71 if (mapping->host->i_sb) 72 __entry->s_dev = mapping->host->i_sb->s_dev; 74 __entry->s_dev = mapping->host->i_rdev; 97 __entry->i_ino = file->f_mapping->host->i_ino; 98 if (file->f_mapping->host->i_sb) [all …]
|
D | mmc.h | 15 TP_PROTO(struct mmc_host *host, struct mmc_request *mrq), 17 TP_ARGS(host, mrq), 44 __string(name, mmc_hostname(host)) 65 __entry->can_retune = host->can_retune; 66 __entry->doing_retune = host->doing_retune; 67 __entry->retune_now = host->retune_now; 68 __entry->need_retune = host->need_retune; 69 __entry->hold_retune = host->hold_retune; 70 __entry->retune_period = host->retune_period; 71 __assign_str(name, mmc_hostname(host)); [all …]
|
/linux-4.19.296/include/linux/ |
D | memstick.h | 257 struct memstick_host *host; member 290 void (*request)(struct memstick_host *host); 292 int (*set_param)(struct memstick_host *host, 315 int memstick_add_host(struct memstick_host *host); 316 void memstick_remove_host(struct memstick_host *host); 317 void memstick_free_host(struct memstick_host *host); 318 void memstick_detect_change(struct memstick_host *host); 319 void memstick_suspend_host(struct memstick_host *host); 320 void memstick_resume_host(struct memstick_host *host); 326 int memstick_next_req(struct memstick_host *host, [all …]
|
D | dax.h | 31 struct dax_device *dax_get_by_host(const char *host); 32 struct dax_device *alloc_dax(void *private, const char *host, 39 static inline struct dax_device *dax_get_by_host(const char *host) in dax_get_by_host() argument 43 static inline struct dax_device *alloc_dax(void *private, const char *host, in alloc_dax() argument 76 static inline struct dax_device *fs_dax_get_by_host(const char *host) in fs_dax_get_by_host() argument 78 return dax_get_by_host(host); in fs_dax_get_by_host() 100 static inline struct dax_device *fs_dax_get_by_host(const char *host) in fs_dax_get_by_host() argument 127 if (IS_DAX(page->mapping->host)) in dax_lock_mapping_entry() 174 return mapping->host && IS_DAX(mapping->host); in dax_mapping()
|
/linux-4.19.296/include/linux/lockd/ |
D | lockd.h | 101 static inline struct sockaddr_in *nlm_addr_in(const struct nlm_host *host) in nlm_addr_in() argument 103 return (struct sockaddr_in *)&host->h_addr; in nlm_addr_in() 106 static inline struct sockaddr *nlm_addr(const struct nlm_host *host) in nlm_addr() argument 108 return (struct sockaddr *)&host->h_addr; in nlm_addr() 111 static inline struct sockaddr_in *nlm_srcaddr_in(const struct nlm_host *host) in nlm_srcaddr_in() argument 113 return (struct sockaddr_in *)&host->h_srcaddr; in nlm_srcaddr_in() 116 static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host) in nlm_srcaddr() argument 118 return (struct sockaddr *)&host->h_srcaddr; in nlm_srcaddr() 128 struct nlm_host *host; member 209 struct nlm_rqst * nlm_alloc_call(struct nlm_host *host); [all …]
|
/linux-4.19.296/fs/ecryptfs/ |
D | mmap.c | 148 page_virt, page->mapping->host); in ecryptfs_copy_up_encrypted_with_header() 170 crypt_stat->extent_size, page->mapping->host); in ecryptfs_copy_up_encrypted_with_header() 197 &ecryptfs_inode_to_private(page->mapping->host)->crypt_stat; in ecryptfs_readpage() 203 page->mapping->host); in ecryptfs_readpage() 220 page->mapping->host); in ecryptfs_readpage() 251 struct inode *inode = page->mapping->host; in fill_zeros_to_end_of_page() 296 &ecryptfs_inode_to_private(mapping->host)->crypt_stat; in ecryptfs_write_begin() 300 page, index, 0, PAGE_SIZE, mapping->host); in ecryptfs_write_begin() 327 mapping->host); in ecryptfs_write_begin() 339 >= i_size_read(page->mapping->host)) { in ecryptfs_write_begin() [all …]
|
/linux-4.19.296/fs/nfs/ |
D | file.c | 124 struct inode *inode = filp->f_mapping->host; in nfs_file_llseek() 301 if (pnfs_ld_read_whole_page(file->f_mapping->host)) { in nfs_want_read_modify_write() 334 file, mapping->host->i_ino, len, (long long) pos); in nfs_write_begin() 366 file, mapping->host->i_ino, len, (long long) pos); in nfs_write_end() 395 NFS_I(mapping->host)->write_io += copied; in nfs_write_end() 397 if (nfs_ctx_key_to_expire(ctx, mapping->host)) { in nfs_write_end() 398 status = nfs_wb_all(mapping->host); in nfs_write_end() 422 nfs_wb_page_cancel(page_file_mapping(page)->host, page); in nfs_invalidate_page() 424 nfs_fscache_invalidate_page(page, page->mapping->host); in nfs_invalidate_page() 457 nfsi = NFS_I(mapping->host); in nfs_check_dirty_writeback() [all …]
|
/linux-4.19.296/include/linux/soc/qcom/ |
D | smem.h | 7 int qcom_smem_alloc(unsigned host, unsigned item, size_t size); 8 void *qcom_smem_get(unsigned host, unsigned item, size_t *size); 10 int qcom_smem_get_free_space(unsigned host);
|