Home
last modified time | relevance | path

Searched refs:auxdata (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/fs/cifs/
Dcache.c86 struct cifs_fscache_super_auxdata auxdata; in cifs_fscache_super_check_aux() local
89 if (datalen != sizeof(auxdata)) in cifs_fscache_super_check_aux()
92 memset(&auxdata, 0, sizeof(auxdata)); in cifs_fscache_super_check_aux()
93 auxdata.resource_id = tcon->resource_id; in cifs_fscache_super_check_aux()
94 auxdata.vol_create_time = tcon->vol_create_time; in cifs_fscache_super_check_aux()
95 auxdata.vol_serial_number = tcon->vol_serial_number; in cifs_fscache_super_check_aux()
97 if (memcmp(data, &auxdata, datalen) != 0) in cifs_fscache_super_check_aux()
118 struct cifs_fscache_inode_auxdata auxdata; in cifs_fscache_inode_check_aux() local
121 if (datalen != sizeof(auxdata)) in cifs_fscache_inode_check_aux()
124 memset(&auxdata, 0, sizeof(auxdata)); in cifs_fscache_inode_check_aux()
[all …]
Dfscache.c99 struct cifs_fscache_super_auxdata auxdata; in cifs_fscache_get_super_cookie() local
108 memset(&auxdata, 0, sizeof(auxdata)); in cifs_fscache_get_super_cookie()
109 auxdata.resource_id = tcon->resource_id; in cifs_fscache_get_super_cookie()
110 auxdata.vol_create_time = tcon->vol_create_time; in cifs_fscache_get_super_cookie()
111 auxdata.vol_serial_number = tcon->vol_serial_number; in cifs_fscache_get_super_cookie()
117 &auxdata, sizeof(auxdata), in cifs_fscache_get_super_cookie()
126 struct cifs_fscache_super_auxdata auxdata; in cifs_fscache_release_super_cookie() local
128 memset(&auxdata, 0, sizeof(auxdata)); in cifs_fscache_release_super_cookie()
129 auxdata.resource_id = tcon->resource_id; in cifs_fscache_release_super_cookie()
130 auxdata.vol_create_time = tcon->vol_create_time; in cifs_fscache_release_super_cookie()
[all …]
/Linux-v5.10/fs/nfs/
Dfscache-index.c80 struct nfs_fscache_inode_auxdata auxdata; in nfs_fscache_inode_check_aux() local
83 if (datalen != sizeof(auxdata)) in nfs_fscache_inode_check_aux()
86 memset(&auxdata, 0, sizeof(auxdata)); in nfs_fscache_inode_check_aux()
87 auxdata.mtime_sec = nfsi->vfs_inode.i_mtime.tv_sec; in nfs_fscache_inode_check_aux()
88 auxdata.mtime_nsec = nfsi->vfs_inode.i_mtime.tv_nsec; in nfs_fscache_inode_check_aux()
89 auxdata.ctime_sec = nfsi->vfs_inode.i_ctime.tv_sec; in nfs_fscache_inode_check_aux()
90 auxdata.ctime_nsec = nfsi->vfs_inode.i_ctime.tv_nsec; in nfs_fscache_inode_check_aux()
93 auxdata.change_attr = inode_peek_iversion_raw(&nfsi->vfs_inode); in nfs_fscache_inode_check_aux()
95 if (memcmp(data, &auxdata, datalen) != 0) in nfs_fscache_inode_check_aux()
Dfscache.c228 static void nfs_fscache_update_auxdata(struct nfs_fscache_inode_auxdata *auxdata, in nfs_fscache_update_auxdata() argument
231 memset(auxdata, 0, sizeof(*auxdata)); in nfs_fscache_update_auxdata()
232 auxdata->mtime_sec = nfsi->vfs_inode.i_mtime.tv_sec; in nfs_fscache_update_auxdata()
233 auxdata->mtime_nsec = nfsi->vfs_inode.i_mtime.tv_nsec; in nfs_fscache_update_auxdata()
234 auxdata->ctime_sec = nfsi->vfs_inode.i_ctime.tv_sec; in nfs_fscache_update_auxdata()
235 auxdata->ctime_nsec = nfsi->vfs_inode.i_ctime.tv_nsec; in nfs_fscache_update_auxdata()
238 auxdata->change_attr = inode_peek_iversion_raw(&nfsi->vfs_inode); in nfs_fscache_update_auxdata()
246 struct nfs_fscache_inode_auxdata auxdata; in nfs_fscache_init_inode() local
254 nfs_fscache_update_auxdata(&auxdata, nfsi); in nfs_fscache_init_inode()
259 &auxdata, sizeof(auxdata), in nfs_fscache_init_inode()
[all …]
/Linux-v5.10/fs/cachefiles/
Dxattr.c100 struct cachefiles_xattr *auxdata) in cachefiles_set_object_xattr() argument
107 _enter("%p,#%d", object, auxdata->len); in cachefiles_set_object_xattr()
110 _debug("SET #%u", auxdata->len); in cachefiles_set_object_xattr()
114 &auxdata->type, auxdata->len, in cachefiles_set_object_xattr()
129 struct cachefiles_xattr *auxdata) in cachefiles_update_object_xattr() argument
137 _enter("%p,#%d", object, auxdata->len); in cachefiles_update_object_xattr()
140 _debug("SET #%u", auxdata->len); in cachefiles_update_object_xattr()
144 &auxdata->type, auxdata->len, in cachefiles_update_object_xattr()
198 struct cachefiles_xattr *auxdata) in cachefiles_check_object_xattr() argument
204 _enter("%p,#%d", object, auxdata->len); in cachefiles_check_object_xattr()
[all …]
Dinterface.c13 struct cachefiles_xattr *auxdata; /* auxiliary data */ member
29 struct cachefiles_xattr *auxdata; in cachefiles_alloc_object() local
82 auxdata = buffer; in cachefiles_alloc_object()
89 memcpy(auxdata->data, p, auxlen); in cachefiles_alloc_object()
92 auxdata->len = auxlen + 1; in cachefiles_alloc_object()
93 auxdata->type = cookie->type; in cachefiles_alloc_object()
95 lookup_data->auxdata = auxdata; in cachefiles_alloc_object()
141 lookup_data->auxdata); in cachefiles_lookup_object()
172 kfree(object->lookup_data->auxdata); in cachefiles_lookup_complete()
207 struct cachefiles_xattr *auxdata; in cachefiles_update_object() local
[all …]
Dinternal.h169 struct cachefiles_xattr *auxdata);
245 struct cachefiles_xattr *auxdata);
247 struct cachefiles_xattr *auxdata);
250 struct cachefiles_xattr *auxdata);
Dnamei.c485 struct cachefiles_xattr *auxdata) in cachefiles_walk_to_object() argument
639 ret = cachefiles_check_object_xattr(object, auxdata); in cachefiles_walk_to_object()
674 ret = cachefiles_set_object_xattr(object, auxdata); in cachefiles_walk_to_object()
/Linux-v5.10/drivers/of/
Dplatform.c299 const struct of_dev_auxdata *auxdata; in of_dev_lookup() local
306 auxdata = lookup; in of_dev_lookup()
307 for (; auxdata->compatible; auxdata++) { in of_dev_lookup()
308 if (!of_device_is_compatible(np, auxdata->compatible)) in of_dev_lookup()
312 if (res.start != auxdata->phys_addr) in of_dev_lookup()
314 pr_debug("%pOF: devname=%s\n", np, auxdata->name); in of_dev_lookup()
315 return auxdata; in of_dev_lookup()
322 auxdata = lookup; in of_dev_lookup()
323 for (; auxdata->compatible; auxdata++) { in of_dev_lookup()
324 if (!of_device_is_compatible(np, auxdata->compatible)) in of_dev_lookup()
[all …]
/Linux-v5.10/arch/arm/mach-mvebu/
Dkirkwood.c159 static struct of_dev_auxdata auxdata[] __initdata = { variable
180 of_platform_default_populate(NULL, auxdata, NULL); in kirkwood_dt_init()
/Linux-v5.10/drivers/net/ethernet/ti/
Ddavinci_emac.c1688 const struct emac_platform_data *auxdata; in davinci_emac_of_get_pdata() local
1732 auxdata = pdev->dev.platform_data; in davinci_emac_of_get_pdata()
1733 if (auxdata) { in davinci_emac_of_get_pdata()
1734 pdata->interrupt_enable = auxdata->interrupt_enable; in davinci_emac_of_get_pdata()
1735 pdata->interrupt_disable = auxdata->interrupt_disable; in davinci_emac_of_get_pdata()
1740 auxdata = match->data; in davinci_emac_of_get_pdata()
1741 pdata->version = auxdata->version; in davinci_emac_of_get_pdata()
1742 pdata->hw_ram_addr = auxdata->hw_ram_addr; in davinci_emac_of_get_pdata()
/Linux-v5.10/net/packet/
Dinternal.h119 unsigned int auxdata:1, /* writer must hold sock lock */ member
Ddiag.c26 if (po->auxdata) in pdiag_put_info()
Daf_packet.c3432 if (pkt_sk(sk)->auxdata) { in packet_recvmsg()
3816 po->auxdata = !!val; in packet_setsockopt()
3978 val = po->auxdata; in packet_getsockopt()
/Linux-v5.10/include/linux/platform_data/
Dti-sysc.h148 struct of_dev_auxdata *auxdata; member
/Linux-v5.10/drivers/staging/comedi/drivers/
Dni_pcidio.c380 unsigned int auxdata; in nidio_interrupt() local
426 auxdata = readl(dev->mmio + GROUP_1_FIFO); in nidio_interrupt()
427 comedi_buf_write_samples(s, &auxdata, 1); in nidio_interrupt()
/Linux-v5.10/arch/arm/mach-omap2/
Dpdata-quirks.c408 .auxdata = omap_auxdata_lookup,
/Linux-v5.10/drivers/bus/
Dti-sysc.c2992 pdata ? pdata->auxdata : NULL, in sysc_probe()