Home
last modified time | relevance | path

Searched refs:ap (Results 1 – 11 of 11) sorted by relevance

/fs/xfs/
Dxfs_acl.c717 xfs_acl_entry_t *ap; in xfs_acl_setmode() local
733 ap = acl->acl_entry; in xfs_acl_setmode()
735 switch (ap->ae_tag) { in xfs_acl_setmode()
737 iattr.ia_mode |= ap->ae_perm << 6; in xfs_acl_setmode()
740 gap = ap; in xfs_acl_setmode()
744 iattr.ia_mode |= ap->ae_perm << 3; in xfs_acl_setmode()
748 iattr.ia_mode |= ap->ae_perm; in xfs_acl_setmode()
754 ap++; in xfs_acl_setmode()
801 xfs_acl_entry_t *ap; in xfs_acl_sync_mode() local
808 for (ap = acl->acl_entry, i = 0; i < acl->acl_cnt; ap++, i++) { in xfs_acl_sync_mode()
[all …]
Dxfs_error.c160 va_list ap; in xfs_fs_cmn_err() local
162 va_start(ap, fmt); in xfs_fs_cmn_err()
163 xfs_fs_vcmn_err(level, mp, fmt, ap); in xfs_fs_cmn_err()
164 va_end(ap); in xfs_fs_cmn_err()
170 va_list ap; in xfs_cmn_err() local
182 va_start(ap, fmt); in xfs_cmn_err()
183 xfs_fs_vcmn_err(level, mp, fmt, ap); in xfs_cmn_err()
184 va_end(ap); in xfs_cmn_err()
Dxfs_bmap.c173 xfs_bmalloca_t *ap); /* bmap alloc argument struct */
2461 xfs_bmalloca_t *ap) /* bmap alloc argument struct */ in xfs_bmap_adjacent() argument
2476 mp = ap->ip->i_mount; in xfs_bmap_adjacent()
2477 nullfb = ap->firstblock == NULLFSBLOCK; in xfs_bmap_adjacent()
2478 rt = XFS_IS_REALTIME_INODE(ap->ip) && ap->userdata; in xfs_bmap_adjacent()
2479 fb_agno = nullfb ? NULLAGNUMBER : XFS_FSB_TO_AGNO(mp, ap->firstblock); in xfs_bmap_adjacent()
2484 if (ap->eof && ap->prevp->br_startoff != NULLFILEOFF && in xfs_bmap_adjacent()
2485 !isnullstartblock(ap->prevp->br_startblock) && in xfs_bmap_adjacent()
2486 ISVALID(ap->prevp->br_startblock + ap->prevp->br_blockcount, in xfs_bmap_adjacent()
2487 ap->prevp->br_startblock)) { in xfs_bmap_adjacent()
[all …]
Dxfs_filestream.c626 xfs_bmalloca_t *ap, in xfs_filestream_new_ag() argument
637 ip = ap->ip; in xfs_filestream_new_ag()
640 minlen = ap->alen; in xfs_filestream_new_ag()
712 flags = (ap->userdata ? XFS_PICK_USERDATA : 0) | in xfs_filestream_new_ag()
713 (ap->low ? XFS_PICK_LOWSPACE : 0); in xfs_filestream_new_ag()
Dxfs_filestream.h121 int xfs_filestream_new_ag(struct xfs_bmalloca *ap, xfs_agnumber_t *agp);
Dxfs_error.h164 char *fmt, va_list ap)
/fs/xfs/support/
Ddebug.c45 va_list ap; in cmn_err() local
51 va_start(ap, fmt); in cmn_err()
53 len = vsnprintf(message, sizeof(message), fp, ap); in cmn_err()
59 va_end(ap); in cmn_err()
69 va_list ap) in xfs_fs_vcmn_err() argument
91 len = vsnprintf(message + len, sizeof(message) - len, fmt, ap); in xfs_fs_vcmn_err()
/fs/nfs/
Dinternal.h302 struct sockaddr_in *ap = (struct sockaddr_in *)sap; in nfs_set_port() local
307 ap->sin_port = htons(port); in nfs_set_port()
Dsuper.c2205 struct sockaddr_in *ap; in nfs4_validate_mount_data() local
2224 ap = (struct sockaddr_in *)&args->nfs_server.address; in nfs4_validate_mount_data()
2230 if (copy_from_user(ap, data->host_addr, data->host_addrlen)) in nfs4_validate_mount_data()
/fs/xfs/linux-2.6/
Dxfs_ioctl.c1218 xfs_getbmap_format(void **ap, struct getbmapx *bmv, int *full) in xfs_getbmap_format() argument
1220 struct getbmap __user *base = *ap; in xfs_getbmap_format()
1226 *ap += sizeof(struct getbmap); in xfs_getbmap_format()
1262 xfs_getbmapx_format(void **ap, struct getbmapx *bmv, int *full) in xfs_getbmapx_format() argument
1264 struct getbmapx __user *base = *ap; in xfs_getbmapx_format()
1269 *ap += sizeof(struct getbmapx); in xfs_getbmapx_format()
/fs/
Dcompat.c64 va_list ap; in compat_printk() local
68 va_start(ap, fmt); in compat_printk()
69 ret = vprintk(fmt, ap); in compat_printk()
70 va_end(ap); in compat_printk()